[systemd-devel] journalctl's http://localhost:19531/browse

Kai Hendry hendry at webconverger.com
Sun Nov 1 21:05:13 PST 2015


Hi guys,

Just playing around with the journalctl Web interface here:
http://s.natalian.org/2015-11-02/journalctl.mp4

How come messages like `logger foo` do not appear in
http://localhost:19531/browse but they do in `journalctl -b -f`?

Is the API for http://localhost:19531/ defined somewhere since I
wouldn't mind creating my own Web interface with the JSON. Ideally the
server could support text/event-stream like I demonstrate here:
https://www.youtube.com/watch?v=XmCDji3t7eg

I did notice `journalctl -o json-sse`, but you need a server to hand
those off to the browser. How should that be done with libmicrohttpd ??

Cheers,


More information about the systemd-devel mailing list