Rsyslog differences between Centos and RHEL

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
stevanbtegl
Posts: 3
Joined: 2014/09/15 14:50:09

Rsyslog differences between Centos and RHEL

Post by stevanbtegl » 2014/09/16 06:54:31

Hi,
I've setup rsyslog to do some custom filtering on my CentOS 5.6 server. The filtering works as intended, but when I copy the same rules to my RHEL 5.6 server the filtering doesn't work. The servers are the same release, 5.6, and are running the same version of rsyslog with the same compile options:-

Code: Select all

rsyslogd 3.22.1, compiled with:
        FEATURE_REGEXP:                         Yes
        FEATURE_LARGEFILE:                      Yes
        FEATURE_NETZIP (message compression):   Yes
        GSSAPI Kerberos 5 support:              Yes
        FEATURE_DEBUG (debug build, slow code): No
        Atomic operations supported:            Yes
        Runtime Instrumentation (slow code):    No

See http://www.rsyslog.com for more information.
My filter rules:-

Code: Select all

if $syslogtag startswith 'WebSphere' and $msg startswith ' (Broker' then /var/log/broker.log
I know this isn't really a Centos problem as the config is working on Centos and not RHEL, but if anyone has any suggestions they would be most welcome.

Thanks, Steve.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Rsyslog differences between Centos and RHEL

Post by TrevorH » 2014/09/16 09:34:38

My only suggestion is that there are rsyslog5* packages available in base/updates for el5 that you could use instead...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply