Questions tagged [systemd-journal-remote]

5 questions
3
votes
0 answers

Include systemd-journal-upload in Google Container-Optimized OS

Unfortunately Google's Container-Optimized OS image doesn't come with systemd-journal-upload, although it should be generally available after systemd version 216. (The current stable image ships with version 232.) It's possible to build your own…
1
vote
0 answers

Send all journal logs to server

I can view journal logs with journalctl How can I configure that all this log will send to my simple TCP server? I didn't find any configuration in journald.conf
1
vote
1 answer

journalctl --after-cursor is not working well with shell script

I am trying to get the logs from journalctl after a specified time with the use of cursor option. Below is code in script file. value=$( journalctl -n 0 --show-cursor | tail -1 | cut -f2- -d: | sed 's/ /"/;s/$/"/') echo "$value" sleep 20 echo…
Seeker
  • 11
  • 1
1
vote
1 answer

RSyslog post processing and remote forwarding

I am using Rsyslog for distributed log collection. To my understanding, the flow of logs on Debian starts from journals then to syslog socket and then it is picked up by rsyslog clients. In my case, the RS clients are post-processing the logs…
VarunPandey
  • 327
  • 1
  • 12
0
votes
1 answer

How to monitor JournalD for Error/Fatal error messages of some particular process and start some callback if any

How to monitor JournalD for Error/Fatal error messages of some particular process and start some callback if any. Say if some service - say Nginx posts a log with Error - some script would call. How to make such a script?
user12569851