Hacker News new | past | comments | ask | show | jobs | submit login

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: