4 ms·
Hi, author here :-) Does syslog actually support this? I mean, you can send a JSON blob as part of the MSG field, but you still need to send the PRI VERSIO
by justinsaccount 10y ago
Hi, author here :-)
Does syslog actually support this? I mean, you can send a JSON blob as part of the MSG field, but you still need to send the
PRI VERSION TIMESTAMP HOSTNAME APP-NAME PROCID MSGID
header.
You can't just send something like
{"ts": "2016-09-..", "host": "www1", "proc": "nginx", ..}
to a syslog server and have it understand it.
We do ship some json logs in rsyslog using imfile, but that's a bit different.