Journalctl json to lnav

I installed lnav from AUR. In fact I tried both lnav and lnav-git. The default command


does not do anything, but it is supposed to return syslog logs. It works on Ubuntu. So, I am thinking because syslog is not available on arch by default anymore. Am I correct?

The solution has been to use the following command:

journalctl -o json | lnav

But it took a long time of scrolling to get to the end of the log. Does anybody have any idea how to see journalctl logs in lnav without the long wait?

ah, never mind

It appears I just need to add -f option:

journalctl -f -o json | lnav

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.