journalctl is mentioned once in the landing page and it seems to imply that journalctl is not supported per se, as logs need to be stored plaintext to legacy syslog (?). I do not want to store plaintext logs and use ancient workarounds like logrotate. journald itself has the built-in ability to receive logs from remote hosts (journald remote & gateway) and search them using --merge.
The article makes it sound like it uses various command-line tools (bash/awk/head/tail) to process the logs. So, I imagine it's not a huge leap to extend support to using journalctl to do that work instead.
Show HN: Nerdlog – Fast, multi-host TUI log viewer with timeline histogram
11–20 of 58 posts
Re: Show HN: Nerdlog – Fast, multi-host TUI log viewer with timeline histogram
#12Re: Show HN: Nerdlog – Fast, multi-host TUI log viewer with timeline histogram
#13journalctl is mentioned once in the landing page and it seems to imply that journalctl is not supported per se, as logs need to be stored plaintext to legacy syslog (?). I do not want to store plaintext logs and use ancient workarounds like logrotate. journald itself has the built-in ability to receive logs from remote hosts (journald remote & gateway) and search them using --merge.
That's true, as of today nerdlog doesn't use journalctl, and needs plain log files. There were a few reasons of that, primarily related to the sheer amount of logs that we were dealing with. As mentioned in the article, my original use case was: having a fleet of hosts, each printing pretty sizeable amount of logs, e.g. having more than 1-2GB log file on every host on a single day was pretty common. My biggest proble…
Re: Show HN: Nerdlog – Fast, multi-host TUI log viewer with timeline histogram
#14Nice. I needed this a few years ago. No license file?
Re: Show HN: Nerdlog – Fast, multi-host TUI log viewer with timeline histogram
#15Can i view logs from aws cloudwatch?
You'll go broke doing that, as those API calls are not free. Best to configure cloudwatch to dump into some sane place (S3, SigNoz, whatever) so you only pay the api call once and not every time for interactive viewing I went spelunking around in the codebase trying to get the actual answer to your question and it seems it's like many things: theoretically yes with enough energy expended but by default it seems to be…
Re: Show HN: Nerdlog – Fast, multi-host TUI log viewer with timeline histogram
#16Earlier quoted context omitted.
That's true, as of today nerdlog doesn't use journalctl, and needs plain log files. There were a few reasons of that, primarily related to the sheer amount of logs that we were dealing with. As mentioned in the article, my original use case was: having a fleet of hosts, each printing pretty sizeable amount of logs, e.g. having more than 1-2GB log file on every host on a single day was pretty common. My biggest proble…
I appreciate this response, and want to say I really like your tool's UI over something like lazyjournal. But like the above commentor, I would love to see journald support as well, just because it's the default these days on the distros I use, and seems like the direction the Linux system industry has headed in.
Re: Show HN: Nerdlog – Fast, multi-host TUI log viewer with timeline histogram
#17Earlier quoted context omitted.
That's true, as of today nerdlog doesn't use journalctl, and needs plain log files. There were a few reasons of that, primarily related to the sheer amount of logs that we were dealing with. As mentioned in the article, my original use case was: having a fleet of hosts, each printing pretty sizeable amount of logs, e.g. having more than 1-2GB log file on every host on a single day was pretty common. My biggest proble…
can't you just read from stdin? i use lnav in this way all the time: journalctl -f -u service | lnav this is the ethos of unix tooling
In fact nerdlog doesn't even support anything like -f (realtime following) yet. The idea to implement it did cross my mind, but I never really needed it in practice, so I figured I'd spend my time on something else. Might do it some day if the demand is popular, but still, nerdlog in general is not about just reading a continuous stream of logs; it's rather about being able to query arbitrary time periods from remote logs, and being very fast at that.
Re: Show HN: Nerdlog – Fast, multi-host TUI log viewer with timeline histogram
#18Re: Show HN: Nerdlog – Fast, multi-host TUI log viewer with timeline histogram
#19Re: Show HN: Nerdlog – Fast, multi-host TUI log viewer with timeline histogram
#20Looks nice. You might want to get help from the community to get it packaged for major linux distros, if you want more users.