How to use multitail with systemd's journalctl?
One of the things I miss about old-fashioned syslogs is the ability to use multitail.
Right now, I'm trying to figure out how to multitail with the logs from both postfix and nagios, but I'm unable to figure it out. Example:
~$ multitail -i <(journalctl -f -u postfix) -i <(journalctl -f -u nagios)
--*- multitail 6.2.1 (C) 2003-2014 by [email protected] -*--
The following problem occured:
-----------------------------
Problem obtaining complete (real) path of file /dev/fd/63.
If this is a bug, please report the following information:
The last system call returned: 2 which means "No such file or directory"
multitail: utils.c:185: stop_process: Assertion `pid > 1' failed.
Aborted
Is this in fact possible with bare-bones systemd logs, or do I need to tell systemd to dump to syslog files?
Posted Feb 6, 2017, 1:56 AM UTC · edited
Very simple: yum install rsyslogd
I can't say this strongly enough: FUCK JOURNALCTL!!!*
FUCK non-text logs with a rusty tire iron! This was the most eggregious garbage that has been created in the history of Linux.
Wow.
Personally, I was going to go with a sand-encrusted hockey stick handle wrapped in syphilis-flavored concertina wire, but a rusty tire iron gets the job done just as well.
You can definitely count me as one more disillusioned systemd refugee. I'm slowly getting over being enraged by the "new normal" in American politics, and so I figure if I can do that, then I can finally get used to systemd.
Y'know, I'm not even going to get into the whole systemd mess. The intent was great, (and it's what Solaris had already done half a decade earlier), even if the execution is a nightmare.
Firewalld? More desktop stuff that doesn't translate well to the enterrprise. I can still just pretend to ignore it.
But dumping text-based log files? WHY?!! There is no significant advantage to doing so, and breaks all compatibility with 40 years of syslogd tools, scripts, and mindset. It is stupid stupid stupid, and I refuse to call it anything else.
Oh, and as a Canadian I have to say that we have more respect for our hockey sticks than that. ;-)