2012/10/30 C. L. Martinez <[email protected]>:
> On Tue, Oct 30, 2012 at 12:08 PM, Radu Gheorghe <[email protected]> 
> wrote:
>> Hi,
>>
>> I think you have to use:
>>
>> startswith ' #'
>>
>> instead of:
>>
>> contains '#'
>>
>> Please note the starting space. Take a look here for some details:
>> https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/479592
>>
>> Best regards,
>> Radu
>>
>
> Thanks Radu. Then, starting space is needed in this filter??

The message will probably appear to rsyslog with a leading space. So
if you want to match the "startswith", you'd have to include it. For
"contains" it's not needed.

Does that answer your question?
_______________________________________________
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