[systemd-devel] journalctl to csv
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Mon Jan 28 23:33:30 PST 2013
On Tue, Jan 29, 2013 at 02:05:00PM +0800, Kai Hendry wrote:
> On 29 January 2013 01:51, Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl> wrote:
> > So just 'journalctl MESSAGE_ID=b72ea4a2881545a0b50e200e55b9b06f MESSAGE_ID=b72ea4a2881545a0b50e200e55b9b070'
> > should work.
>
> Indeed it does. Though how do I listen on journalctl for *future events*?
>
> `journalctl -f -b MESSAGE='Lid closed.' MESSAGE='Lid opened.' -o
> export | grep SOURCE_REALTIME_TIMESTAMP` annoyingly shows past events.
Please use MESSAGE_ID's, they're here for this purpose. The messages
may be modified in the future (e.g. in this case the dot could be
removed).
> Mayyybe tweaking --since, but that easily throws this `Failed to get
> realtime timestamp: Cannot assign requested address` error.
Try 'journalctl --lines=0 --follow' with the latest git.
Zbyszek
More information about the systemd-devel
mailing list