Re: @cee {<jsondict|} spec? Was: Systemd service and structured logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 7, 2019 at 10:40 AM Thomas Güttler <guettliml@xxxxxxxxxxxxxxxxxx> wrote:
Hi Mantas Mikulėnas and other members,

This looks nice:

   @cee: {<jsondict>}

For me this is new. I could find some scattered information about this.

Is there an official spec for this logging syntax?

I believe it's called "CEE log transport format", and it's supported by receivers such as rsyslog or elasticsearch. Seems to consist of a "@cee: " prefix immediately followed by a JSON object/dictionary ("CEE log syntax, JSON encoding").

http://peter-hoffmann.com/2015/structured-logging-with-python-and-cee-syslog-handler.html
https://www.rsyslog.com/json-elasticsearch/
https://github.com/framed-data/cee-format

--
Mantas Mikulėnas
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux