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

2015-11-02 Thread Kai Hendry
On Mon, 2 Nov 2015, at 07:58 PM, Colin Guthrie wrote: > I suspect that you'd probably want to hide this behind some kind of > proxy for security reasons. That proxy could add appropriate > authentication (e.g IP restrictions, user auth etc) and add in any > additional headers). > I could be wrong w

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

2015-11-02 Thread Kai Hendry
On Tue, 3 Nov 2015, at 02:27 AM, Lennart Poettering wrote: > Hmm, maybe there's something wrong with the ACLs on the journal files > or the directory they reside in? Normally, there should be an ACL that > allows the "systemd-journal" group access to all files, and > systemd-journal-gatewayd is run

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

2015-11-02 Thread Lennart Poettering
On Mon, 02.11.15 18:44, Kai Hendry (hen...@webconverger.com) wrote: > On Mon, 2 Nov 2015, at 06:10 PM, Lennart Poettering wrote: > > Note that the website will show only those accessible to the > > "systemd-journal" group. > > > > Did you run "logger" unprivileged? Did you run journalctl privileg

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

2015-11-02 Thread Colin Guthrie
Kai Hendry wrote on 02/11/15 10:44: >> > well, systemd-journal-gatewayd serves that already, you can just use >> > that... > Ah! Perfect. Oh but I need a way to setup CORS so I can access it from > my Webapp: > http://s.natalian.org/2015-11-02/systemd-journal-gatewayd.png > > Shall I file a bug?

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

2015-11-02 Thread Kai Hendry
On Mon, 2 Nov 2015, at 06:10 PM, Lennart Poettering wrote: > Note that the website will show only those accessible to the > "systemd-journal" group. > > Did you run "logger" unprivileged? Did you run journalctl privileged? > That might explain the difference? In that video earlier I ran journalct

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

2015-11-02 Thread Lennart Poettering
On Mon, 02.11.15 13:05, Kai Hendry (hen...@webconverger.com) wrote: > 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

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

2015-11-01 Thread Kai Hendry
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 sinc