Comments (7)
Isn't that what !all-json does?
from rsyslog.
No, !all-json is just a legacy way of specifying all JSON message variables. Most importantly, it does not contain the "native" properties, like msg, rawmsg, syslogtag, fromhost, ...
from rsyslog.
Aha, got it now. Thanks for explaining. Big +1 from me to this one :)
from rsyslog.
So basically this is to create a new property that returns the whole syslog message (including timestamp and other header details?) In JSON format?
from rsyslog.
y...e...s ... if we understand each other correctly... Let's take just three of the native properties:
- msg
- syslogtag
- fromhost
They (and all others) will need to go into a json contains. Probably "native" is a good name. So under native, you'll see a json for msg, syslogtag and fromhost (and all other properties). The idea is that a plugin has the same easy access to message properties as internal plugins have. Of course, this costs performance. But anyone is free to define a custom format (in JSON or whatever else) that exactly matches the need. What I am aiming at is providing the general solution which can be used with the least work to do ... at the price of the highest performance impact, of course ;)
from rsyslog.
Supported starting with rsyslog 8.3.0.
from rsyslog.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from rsyslog.
Related Issues (20)
- Feature request: New input channel for dnstap ( framestream ) messages over network port
- How to get rsyslog to honour msg hostname and timestamp for local connections HOT 1
- When $AllowedSender TCP/UDP changed IP got Error - TCP message from disallowed sender HOT 4
- test suite failure with DTLS support enabled HOT 9
- DTLS build failure: make[2]: *** No rule to make target '../../runtime/lmnsd_ossl.la', needed by 'imdtls.la'. Stop.
- DTLS make install failure: /usr/bin/ld: cannot find -llmnsd_ossl: No such file or directory HOT 4
- Build with old openssl 1.0.1e (el6) since nsd_ossl.c revamp / dtls HOT 2
- rsyslog crash with "double free or corruption (out)" HOT 4
- Debian 11 OBS package doesn't ship `/usr/lib/rsyslog/rsyslog-rotate` HOT 5
- Q: Debian 11 OBS package plugins location
- RFE: Debian 11 OBS package with imkmsg
- Rsyslog and postgresql on same system?
- rsyslogd crashed with SIGABRT with Invalid next size message HOT 2
- imjournal.state file create mode
- We want to use the rfc3339 standard but manually change the timezone HOT 2
- Rsyslog 8.2402.0 does not build with LibreSSL 3.8.3 HOT 2
- clientLog rsyslogd: omrelp: could not connect to remote server, librelp error 10007 HOT 2
- test suite failures on armhf/armel after the switch to 64 bit timestamps
- Compilation error with omhttp enabled HOT 1
- Typo in error message when file in `cat /non/existent/file` does not exist
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rsyslog.