On Sun, 29 May 2016, symgryph wrote:


I have been trying to get MMexternal to 'modify' incoming syslog messages
(using logger for now) to change a test string "hello" to "goodbye" as a
proof of concept.

I am using rsyslog version rsyslog-8.18.0-1.el7.x86_64 on CentOS Linux
release 7.2.1511 (Core)

The perl transformation program works fine when I feed in the file via
standard in, and outputs the expected output via standard out.

what is it that you feed into it and what is the "expected output" that you get back?

I would suggest modifying your perl program to write it's stdin to a file and make sure that what you get from rsyslog is what you think you are getting.

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.

Reply via email to