Hello,

Will this work if Im using rsyslog just at the server side? (client is using 
syslog)

Many thanks.

--- On Thu, 11/26/09, Rainer Gerhards <[email protected]> wrote:

> From: Rainer Gerhards <[email protected]>
> Subject: Re: [rsyslog] filter logger tags from syslog
> To: "rsyslog-users" <[email protected]>
> Date: Thursday, November 26, 2009, 2:11 AM
> I don't have the specifics at hand,
> but you can surely do that. I would even
> assume that if you just write the %msg% property to file,
> the infomation
> should look good. If not, you need to fiddle a bit with the
> property
> replacer.
> 
> The basic idea is to use
> 
> $template line,"%msg%\n"
> *.* /path/to/log;line
> 
> HTH
> Rainer 
> 
> > -----Original Message-----
> > From: [email protected]
> 
> > [mailto:[email protected]]
> On Behalf Of Jose Sanchez
> > Sent: Thursday, November 26, 2009 5:23 AM
> > To: [email protected]
> > Subject: [rsyslog] filter logger tags from syslog
> > 
> > Hello,
> > 
> > I've been using classic syslog for centralizing apache
> access 
> > logs from one server to a remote syslog server, the
> thing is 
> > syslog adds some nasty tags before the lines in the
> access 
> > logs and I cant get them off, ie:
> > 
> > "Nov 25 21:25:37 server1 logger:"
> > 
> > I would like to know if rsyslog has the option to
> filter this 
> > kind of stuff, I just want to have the logs sent to
> the 
> > syslog server exactly like I was saving them in a
> local 
> > access.log file.
> > 
> > Thanks in advance.
> > 
> > 
> > _______________________________________________
> > rsyslog mailing list
> > http://lists.adiscon.net/mailman/listinfo/rsyslog
> > http://www.rsyslog.com
> > 
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
> 
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to