Questions tagged [rsyslog]
rsyslog is an enterprise-ready replacement for the syslog daemon on Linux and other UNIX operating systems.
702 questions
0
votes
1
answer
151
views
running two instances of rsyslogd via systemd
I need to have two instances of rsyslogd running on an ubuntu 2404. One being the systems local syslog server which is locked down to enterprise standards and one for a syslog relay for collecting ...
0
votes
0
answers
86
views
Two identical rsyslog configurations, one of them not working
I have two VMs, with the identical rsyslog version and configuration:
rsyslogd -v
rsyslog internal message (3,-2455): could not transfer the specified internal posix capabilities settings to the ...
2
votes
1
answer
67
views
Filter rsyslog messages by domain name
We have a number of hosts with domain names (the hosts are not aware of this domain name and do not send it.) We accept logs from those hosts based on their IP address:
if ($fromhost-ip == '192.168.1....
0
votes
0
answers
87
views
How to parse log using mmnormalize and save them to file using omfile module with rsyslog
I'm trying to convert log from a specific format received on UDP port to RFC 5424 using mmnormalize rsyslog module (liblognorm).
But after multiple attempt, I'm not able to get the log in the correct ...
1
vote
1
answer
110
views
trying to get a ruby program that was exec-ed from rsyslog via omprog to output logs to syslog
ubuntu 24.04:
I know that my program can write to stdout and rsyslog can write that to a file. The problem with this is that log rotation is painful. So I would much rather have rsyslog handle the ...
4
votes
2
answers
521
views
confused by appamor's execute options
I am attempting to use rsyslog's omprog output driver to process logging data and apparmor is preventing the program starting.
Aug 14 07:55:29 secmgrprd09 kernel: audit: type=1400 audit(1755114929.929:...
0
votes
2
answers
225
views
reverse dns based filenames with rsyslog
On an Ubuntu 24.2 server I run rsyslog.
Logfiles are automatically created based on reverse DNS; my intended operation.
After an unscheduled reboot, some filenames were based on IP addresses.
Quite ...
1
vote
0
answers
116
views
interpreting action numbers in rsyslog impstats output
I see lines like this in the output from impstats:
action-21-builtin:omfwd: origin=core.action processed=87059 failed=0 suspended=0 suspended.duration=0 resumed=285
How do I relate the number 21 ...
2
votes
1
answer
307
views
rsyslog server GnuTLS error -54
Running rsyslog v8.2102.0-15.el8_10.1 on RHEL 8.10 (and 9.6). It logs these messages about clients sending syslog via TLS:
Jul 17 13:06:38 rsyslog-server rsyslogd[1782767]: unexpected GnuTLS error -54 ...
1
vote
2
answers
378
views
Syntax error setting a custom variable in rsyslog configuration [Solved]
Running rsyslog version 8.2412.0-1.el9 on Red Hat Enterprise Linux 9.6.
I'm trying to set a custom variable that I can check later in the configuration with this statement:
if $syslogtag == "...
0
votes
0
answers
79
views
Postfix stops creating log when syslog reload
I am facing an issue in my server. Sometime syslog auto restart. But after auto restart postfix is not create any logs. When restart postfix manually then it will work. How to solve this issue.
root@...
0
votes
1
answer
132
views
trying to diagnose rsyslog config
system ubuntu 24.04, package Version: 8.2312.0-3ubuntu9.1
I have created a file in /etc/rsyslog.d :
module(load="impstats"
interval="900"
severity="7"
...
0
votes
1
answer
277
views
journald is suppressing auditd events sent out by rsyslogd
I've encounterd an odd behavior I do not fully understand. Journald is supressing auditd messages being send out by rsyslog to a remote server for some reason on my centos 7-x64 VM:
Thats the ...
0
votes
0
answers
104
views
debugging rsyslog log rotation
I set up rsyslog on a raspberry pi to track some very noisy systems (into /var/log/router.log). I don't need to keep a lot of data, so I want to rotate out the logs quickly, or preferably, by log size....
0
votes
1
answer
185
views
rsyslog: how do I explicitly set a PRI value in a template
I need to override the priority and facility values in messages forwarded to one destination. There does not appear to be a 'property replacer' option to do a simple text replacement in a template. ...