Mailing List Archive

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
gerrard.geldenhuis@worldpay.com
Re: Copying locally and remotely [ In reply to ]
For example:

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

TWO lines!

Rainer

> -----Original Message-----
> From: rsyslog-bounces@lists.adiscon.com [mailto:rsyslog-
> bounces@lists.adiscon.com] On Behalf Of Gerrard Geldenhuis
> Sent: Tuesday, July 17, 2012 2:53 PM
> To: rsyslog@lists.adiscon.com
> 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
> gerrard.geldenhuis@worldpay.com
>
>
_______________________________________________
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
Re: Copying locally and remotely [ In reply to ]
Hi
Awesome! Thanks for the speedy reply, I had

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

so the change is small enough and works great.

Regards

> -----Original Message-----
> From: rsyslog-bounces@lists.adiscon.com
> [mailto:rsyslog-bounces@lists.adiscon.com] On Behalf Of
> Rainer Gerhards
> Sent: 17 July 2012 13:55
> To: rsyslog-users
> Subject: Re: [rsyslog] Copying locally and remotely
>
> For example:
>
> kern.* @@logserver:514
> & /var/log/kernel.log
>
> TWO lines!
>
> Rainer
>