rsyslog forward all except ldap
Posted
by
Brian
on Server Fault
See other posts from Server Fault
or by Brian
Published on 2013-10-30T13:39:08Z
Indexed on
2013/10/30
22:00 UTC
Read the original article
Hit count: 242
I have Centos 6 servers running openLDAP. In the rsyslog.conf, I forward the logs to my central server with this line:
*.* @10.10.10.10:514
openldap seems incredibly chatty. I have 3 servers in a multi-master cluster. Those 3 servers generate twice as many logs as my other 80 servers combined.
I have been unsuccessful in figuring out how to tell openLDAP to use a sensible log level. (we never specifically set the log level) Since these are my main authentication sources, I'm a bit hesitant to "play around" with them. Is there a way to tell rsyslog to forward everything EXCEPT LOCAL4?
© Server Fault or respective owner