I'm running several RHEL based systems which utilize the audit functionality within the 2.6 kernel to track user activity and I need to have these logs sent to centralized SYSLOG servers for monitoring and event correlation. Anyone know how to achieve this?
feedback
|
|
If you are running the stock ksyslogd syslog server I don't know how to do this. But there are great instructions for doing it with rsyslog at their Wiki. ( http://wiki.rsyslog.com/index.php/Centralizing_the_audit_log ) I will summarize: On the sending client (rsyslog.conf) On the receiving server (rsyslog.conf) Note that the imfile module will need to have been loaded previously in the rsyslog configuration. Restart the service on both hosts and you should begin receiving auditd messages. | |||||||||||
feedback
|
|
You can log directly to syslog using audisp, it's part of Audit package. In Debian (I haven't tried in other distros yet) edit /etc/audisp/plugins.d/syslog.conf and set active=yes. | |||
|
feedback
|
|
http://linux.die.net/man/5/audisp-remote.conf Its quite easy, on your "clients" sending logs
edit your /etc/rsyslog.conf add at the bottom
Then start the daemon
I would suggest using syslog-ng to capture on the "syslog server".. Any other questions?? | |||||||
feedback
|