On Wed, 29 Jan 2014, Rainer Gerhards wrote:
Hi all,
I've written a short presentation on writing rsyslog output plugins. It is
targeted towards people who would like to know at least a bit about how
this works. I also plan to do an ultra-fasttrack document for those that
just want to get it going somehow and don't about how it works. They are
*not* the focus of the current presentation:
http://www.slideshare.net/rainergerhards1/external-plugins
I will include this information in the Fedora DevConf Talk next week, and
would really like your feedback. Where can we improve it, how to make even
more clear that it's simple. Note that I say "v8" only because it already
covers a bit of what we will have in a month or so (the stdout feedback).
When I give the presentation, I'll tell that omprog in older versions works
mostly the same.
re: stdout and stderr, I think one of them should be used for feedback to
rsyslog and the other used to generate new log messages. I'm thinking that we
should use stdout for the feedback and stderr for messages, using the same logic
as imfile (including being able to handle multiline crash messages) and
highlight the risk of a feedback loop if you have a plugin handle it's own error
output. something along the lines of making all the examples be
if $input != 'omexternal' then omexternal;format
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.