I just want to modify the log message. Thanks for the input.

Thomas
> On May 28, 2016, at 1:56 AM, David Lang <[email protected]> wrote:
> 
> On Fri, 27 May 2016, symgryph wrote:
> 
>> I did see lots of documentation for doing omprog to 'file' but what about a
>> syslog stream. I want to process incoming files, and stream them out after
>> doing some transforms. I am using the stock 'plugins' program that comes
>> with the system, but am not sure how to do streaming out the 'ass' end of
>> the omprog after I receive streaming?
> 
> I don't understand what you are asking.
> 
> rsyslog invokes actions for each message. In the case of omprog, rsyslog 
> starts the program if needed and passes the log message to the program on 
> it's stdin. What your program does after that is strictly up to it.
> 
> If you are wanting to just modify the message, you shouldn't use omprog, you 
> should use mmexternal which lets you modify the log message in rsyslog with 
> an external program and then let rsyslog keep processing it.
> 
> David Lang
> _______________________________________________
> 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.

_______________________________________________
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