Re: [rsyslog] Allocating certain logs to certain files

2013-04-04 Thread David Lang
s.adiscon.com] On Behalf Of Marcelo Veglienzone Sent: Wednesday, April 03, 2013 12:30 PM To: rsyslog-users Subject: Re: [rsyslog] Allocating certain logs to certain files In that case you only need one rule, something like this should work 1. if \ 2. $source != 'loghost.example

Re: [rsyslog] Allocating certain logs to certain files

2013-04-03 Thread Josh Bitto
n...@lists.adiscon.com > [mailto:rsyslog-boun...@lists.adiscon.com] On Behalf Of Marcelo > Veglienzone > Sent: Wednesday, April 03, 2013 12:30 PM > To: rsyslog-users > Subject: Re: [rsyslog] Allocating certain logs to certain files > > In that case you only need one rule, somethin

Re: [rsyslog] Allocating certain logs to certain files

2013-04-03 Thread David Lang
n.com] On Behalf Of Marcelo Veglienzone Sent: Wednesday, April 03, 2013 12:07 PM To: rsyslog-users Subject: Re: [rsyslog] Allocating certain logs to certain files loghost is the name of the machine doing the central logging with rsyslog which I want to keep it's logs under the default locat

Re: [rsyslog] Allocating certain logs to certain files

2013-04-03 Thread Marcelo Veglienzone
; > Is there a way for it to NOT log to the /var/log/messages and ONLY to > > the /var/log/hosts//messages? > > > > > > > > -Original Message- > > From: rsyslog-boun...@lists.adiscon.com [mailto: > > rsyslog-boun...@lists.adiscon.com] On Behalf Of M

Re: [rsyslog] Allocating certain logs to certain files

2013-04-03 Thread Josh Bitto
sts.adiscon.com [mailto:rsyslog-boun...@lists.adiscon.com] On Behalf Of Marcelo Veglienzone Sent: Wednesday, April 03, 2013 2:31 PM To: rsyslog-users Subject: Re: [rsyslog] Allocating certain logs to certain files The config I shared does that On Apr 3, 2013 6:18 PM, "Josh Bitto" wrote: > Ma

Re: [rsyslog] Allocating certain logs to certain files

2013-04-03 Thread Marcelo Veglienzone
s.adiscon.com [mailto: > rsyslog-boun...@lists.adiscon.com] On Behalf Of Marcelo Veglienzone > Sent: Wednesday, April 03, 2013 12:30 PM > To: rsyslog-users > Subject: Re: [rsyslog] Allocating certain logs to certain files > > In that case you only need one rule, something like this

Re: [rsyslog] Allocating certain logs to certain files

2013-04-03 Thread Josh Bitto
: Re: [rsyslog] Allocating certain logs to certain files In that case you only need one rule, something like this should work 1. if \ 2. $source != 'loghost.example.com' \ 3. then*.* ?DYNlogfile On Wed, Apr 3, 2013 at 4:23 PM, Josh Bitto wrote: > Oh ok th

Re: [rsyslog] Allocating certain logs to certain files

2013-04-03 Thread Josh Bitto
, April 03, 2013 1:56 PM To: rsyslog-users Subject: Re: [rsyslog] Allocating certain logs to certain files I found this reference helpful: http://en.wikipedia.org/wiki/Syslog On Wed, Apr 3, 2013 at 4:02 PM, Rainer Gerhards wrote: > I suggest > > http://www.monitorware.com/en/topi

Re: [rsyslog] Allocating certain logs to certain files

2013-04-03 Thread Gregory Patmore
gt; Ursprüngliche Nachricht > Von: Josh Bitto > Datum: 03.04.2013 21:49 (GMT+01:00) > An: rsyslog-users > Betreff: Re: [rsyslog] Allocating certain logs to certain files > > > Okie dokie > > Would these if then statements work for windows events? > >

Re: [rsyslog] Allocating certain logs to certain files

2013-04-03 Thread Rainer Gerhards
I suggest http://www.monitorware.com/en/topics/syslog/ Especially the seminar. Sent from phone, thus brief. Ursprüngliche Nachricht Von: Josh Bitto Datum: 03.04.2013 21:49 (GMT+01:00) An: rsyslog-users Betreff: Re: [rsyslog] Allocating certain logs to certain files

Re: [rsyslog] Allocating certain logs to certain files

2013-04-03 Thread Josh Bitto
linux not so much. -Original Message- From: rsyslog-boun...@lists.adiscon.com [mailto:rsyslog-boun...@lists.adiscon.com] On Behalf Of Marcelo Veglienzone Sent: Wednesday, April 03, 2013 12:30 PM To: rsyslog-users Subject: Re: [rsyslog] Allocating certain logs to certain files In that case

Re: [rsyslog] Allocating certain logs to certain files

2013-04-03 Thread Marcelo Veglienzone
.com [mailto: > rsyslog-boun...@lists.adiscon.com] On Behalf Of Marcelo Veglienzone > Sent: Wednesday, April 03, 2013 12:07 PM > To: rsyslog-users > Subject: Re: [rsyslog] Allocating certain logs to certain files > > loghost is the name of the machine doing the central

Re: [rsyslog] Allocating certain logs to certain files

2013-04-03 Thread Josh Bitto
.@lists.adiscon.com] On Behalf Of Marcelo Veglienzone Sent: Wednesday, April 03, 2013 12:07 PM To: rsyslog-users Subject: Re: [rsyslog] Allocating certain logs to certain files loghost is the name of the machine doing the central logging with rsyslog which I want to keep it's logs under the default lo

Re: [rsyslog] Allocating certain logs to certain files

2013-04-03 Thread Marcelo Veglienzone
t; From: rsyslog-boun...@lists.adiscon.com [mailto: > rsyslog-boun...@lists.adiscon.com] On Behalf Of Marcelo Veglienzone > Sent: Wednesday, April 03, 2013 11:47 AM > To: rsyslog-users > Subject: Re: [rsyslog] Allocating certain logs to certain files > > Josh, > > This is what

Re: [rsyslog] Allocating certain logs to certain files

2013-04-03 Thread Josh Bitto
sts.adiscon.com [mailto:rsyslog-boun...@lists.adiscon.com] On Behalf Of Marcelo Veglienzone Sent: Wednesday, April 03, 2013 11:47 AM To: rsyslog-users Subject: Re: [rsyslog] Allocating certain logs to certain files Josh, This is what I'm currently using, http://pastebin.com/tsTHdsZY Starting at l

Re: [rsyslog] Allocating certain logs to certain files

2013-04-03 Thread Marcelo Veglienzone
Josh, This is what I'm currently using, http://pastebin.com/tsTHdsZY Starting at line 116 you'll find what you want On Wed, Apr 3, 2013 at 3:38 PM, Josh Bitto wrote: > Ok here is my issue...on my cental rsyslog server I have in my config file > the following > > # This one is the template