|
xlancealotx
|
 |
« on: May 14, 2009, 03:42:18 pm » |
|
ok, 1st post as I'm still new with syslog-ng. I am using ubuntu9, have 7 webservers which I wish to centrally log. I have a seperate u9 machine running webmin also, and both have webmin running with the syslog-ng module intstalled.
Now here is where I am stuck. 1. Does the server install/start out of the box listen for client machines to write to him or do you have to allow? A ps on the server shows; Ss 15:27 0:00 /usr/sbin/syslog-ng -p /var/run/syslog-ng.pid
2. Client machine. Now a little confused using the webmin mod (even worse looking at command line). So in webmin, I went to log source, created my 1st, called it domain.com-access. I then checked (not sure on this) the stream socket checkbox, put in the logfile name (under /var/log/apache2/doman-access_log) Saved, went to log destination, said new, added a name, then at the bottom hit the syslog radio button, entered the IP and saved. Lastly, went to log targets, said add new, named it, not sure what (if any) to check and then seleceted the new destination file created earlier.
Applied (saw the restart) but not sure how to debug, etc. As the local is still writing (not sure if it will or not) but nothing on the server side. Again, not sure where it would write the file on the remote server, is the same the same from the apache config file, etc.
Again, pretty new at syslog, so any help is appreciated. If I need to provide more, just let me know what and I will.
Thanks.
|