Well ok so I followed the doc that explains how to setup httpd access and error 
logs to be configured to use rsyslog. I think it "mostly" works. I have a file 
that is created that is in /var/log/httpd-access.log which is on my remote 
machine.

How do I get that to be forwarded to my central syslog server?

Plus I think I did something wrong on rsyslog.conf about the errors. When I 
followed the instructions (even used the example given) nothing happens.




-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Josh Bitto
Sent: Thursday, April 04, 2013 12:12 PM
To: rsyslog-users ([email protected])
Subject: [rsyslog] httpd logs

When setting rsyslog to obtain httpd logs I did the following:
In httpd.conf
ErrorLog syslog:local7


In rsyslog.conf
Would I add the rule like this?

Local1.err    /var/log/apache.err

Or for the file use any file name? And will this file be forwarded to my 
central syslog server.


Joshua Bitto
Information Technologist
KCC



_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is 
a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our 
control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to