[systemd-devel] Systemd service and structured logging

Lennart Poettering lennart at poettering.net
Tue May 7 14:01:04 UTC 2019


On Mo, 06.05.19 12:09, Mantas Mikulėnas (grawity at gmail.com) wrote:

> > Am 03.05.19 um 13:29 schrieb Jérémy ROSEN:
> > > if you want the whole power of structured logs, you need to use the
> > journald API
> >
>
> On the other hand, JSON parsing might be a useful addition to journald, as
> apparently "@cee: {<jsondict>}" is a quite common syslog format.

The cee stuff appears to be a rsyslogism...

As mentioned elsewhere on this thread: json isnt straightforwardly
indexable for us. It's on purpose we pick a simpler format, that can
translate to JSON, but to the other way round.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list