ltbuell
asked on
Need help sending syslog.conf files automatically and in real time from one linux box to another
I am new to Linux and just getting my feet wet in trying familiarize myself with using the OS. One of the things I am trying to do right now is have all of my syslog.conf files from all of my servers sent to one central Linux server for collection. I then have another piece of software that is supposed to allow me to analyze those collected logs. Can anyone help me with the commands or script writing that it will take to get these logs from various Linux servers to automatically be sent to a centralized syslog.conf Linux collection server? Any help would be great.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
use syslog-ng
http://www.balabit.com/products/syslog_ng/
http://www.balabit.com/products/syslog_ng/
ASKER
So, Wesly chen, whey I edit the /etc/hosts file, I am doing this on the servers that the logs are coming from, not the central server they are going to....correct?
> I am doing this on the servers that the logs are coming from
Yes, modify the /etc/syslog.conf on those servers that you want to forward the log the the "loghost", the central server.
*.*(Tab)(Tab)(Tab)@loghost
Replace the (Tab) with "Tab" key.
Yes, modify the /etc/syslog.conf on those servers that you want to forward the log the the "loghost", the central server.
*.*(Tab)(Tab)(Tab)@loghost
Replace the (Tab) with "Tab" key.
syslog allows you to send your logs to another server running syslog heres a good guide:
http://www.unix.org.ua/orelly/networking/puis/ch10_05.htm
read the section: 10.5.2.2 Logging across the network