-----Original Message----- From: David Lang <[email protected]> Reply-To: rsyslog-users <[email protected]> Date: Thursday, May 8, 2014 at 1:26 PM To: rsyslog-users <[email protected]> Subject: Re: [rsyslog] How to send Apache2 and a web Applications logs to remote server
>On Thu, 8 May 2014, Muhammad Asif wrote: > >> Hi! >> >> Dear Rsyslog team, >> >> Please help me regarding this issue. I am using rsyslog 5.8 which i can >>not >> update right now >> >> I want to send apache2 and a web application name redmine logs to remote >> rsyslog server. I am using the following approaches. >> >> Add in rsyslog >> apache2.* /var/log/syslog > >apache2 is not a defined facility (see en.wikipedia.org/wiki/Syslog for a >discuasion of facilities and severities) > >what you can do is filter based on application name > >:$programname, isequal, 'apache2' /var/log/syslog if you have access to the webserver configuration, you could also configure apache to send logs using a standard priority/facility. http://www.oreillynet.com/pub/a/sysadmin/2006/10/12/httpd-syslog.html http://wiki.rsyslog.com/index.php/Working_Apache_and_Rsyslog_configuration http://httpd.apache.org/docs/trunk/mod/mod_syslog.html _______________________________________________ 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.

