Getting Data In

Feroda logs

templier
Communicator

Hello.

Does anyone have experience with what is reflected in the subject question (Journalctl logs)?
I must copy the security log with Fedora Journalctl.

But which side to approach him, I do not know yet

Tags (3)

quixand
Path Finder

systemd will send events to syslog. Which should write out to /var/log/..
enable in
/etc/systemd/journald.conf
set
ForwardToSyslog=yes
rsyslog appears to have a listener configured (on centos at least) in
/etc/rsyslog.d/listen.conf
$SystemLogSocketName /run/systemd/journal/syslog
I guess you will need to restart the service
systemctl restart systemd-journald

see also
https://www.loggly.com/docs/systemd-logs/
https://forums.opensuse.org/showthread.php/488025-Syslog-and-journalctl
https://www.freedesktop.org/software/systemd/man/journald.conf.html

0 Karma

MuS
Legend

Hi templier,

your biggest trouble here is the binary format of the journalctl logs. Quick and dirty solutions would be:

Hope this helps ...

cheers, MuS

templier
Communicator

Hi.

Yes, both options are not perfect, but it seems if there is no other choice on them have to stop.
Now looking information whether it is possible simultaneously to configure logging to files (similar secure.log)

Thank you.

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...