On Wed, Oct 31, 2012 at 1:16 PM, C. L. Martinez <[email protected]> wrote:
> On Wed, Oct 31, 2012 at 1:11 PM, Philippe Muller
> <[email protected]> wrote:
>> Did you tried to put everything in the same configuration file ? (I never
>> tried to include part of an action configuration - is it supported ?)
>>
>> Reading your configuration I see:
>> $InputFileTag fwd_test:
>> [..]
>> if ($programname == 'test' and not ($msg startswith '#')) then
>> [..]
>>
>> Since InputFileTag and $programname doesn't match, are you sure your
>> messages are forwarded by this action ?
>> (You can use impstats to see which action counter is incremented)
>>
>>
>> Philippe Muller
>>
>>
>
> Thanks Philippe. I am using only one configuration file ... And yes,
> using this configuration messages are forwarded to the central rsyslog
> server ...

Oops sorry.. you are right philippe ... InputFileTag and programname
are the same ... It was a copy&paste error ...
_______________________________________________
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.

Reply via email to