3 ms·
> about json and syslog structured data I found syslog design to be well done about that, ignoring whether it was accidental or not :D +1 for json. Format mes
by user5994461 10y ago
> about json and syslog structured data
I found syslog design to be well done about that, ignoring whether it was accidental or not :D
+1 for json. Format messages as JSON for logging. Update/reconfigure applications to write json logs.
The structured data headers of syslog can be used for enriching log messages with metadata (instance id, instance ip, tags, environment, etc...).
The RFC 5xxx design allows to manage the message (application's responsibility) and the metadata (relay's responsibility) separately, so it's nice.
[Note: If ALL messages were JSON logs and the tooling could manipulate json messages directly to add/remove fields, there would be no need for a different metadata channel.]