For example:

kern.* @@logserver:514
& /var/log/kernel.log

TWO lines!

Rainer

> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of Gerrard Geldenhuis
> Sent: Tuesday, July 17, 2012 2:53 PM
> To: [email protected]
> Subject: [rsyslog] Copying locally and remotely
> 
> Hi
> 
> On a Red Hat 5.8 box which comes with rsyslog-3.22.1-7.el5, is there an
> easy way to log both locally and remotely?
> 
> For example, I want to something to following effect:
> 
> kern.* @@logserver:514, /var/log/kernel.log
> 
> It seems easily doable in later versions using RuleSets which was
> introduced somewhere in version 4 . Alternatively is there a ready
> packaged latest and greatest rsyslog available? I did not see any rpms
> on the download section of the website.
> 
> Regards
> 
> Gerrard Geldenhuis | IT Operations |WorldPay
> M +44 772 448 7979
> [email protected]
> 
> 
_______________________________________________
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

Reply via email to