
briank at talksum
Mar 31, 2012, 6:51 AM
Post #5 of 5
(217 views)
Permalink
|
Here's a diff of what I have so far - I broke it out into a new function name to make it easier to integrate with a config option. Brian On Sat, Mar 31, 2012 at 9:02 AM, Rainer Gerhards <rgerhards [at] hq>wrote: > :-) If you send me the code, I'll integrate and make it configurable via a > directive. > > Rainer > > > -----Original Message----- > > From: rsyslog-bounces [at] lists [mailto:rsyslog- > > bounces [at] lists] On Behalf Of Brian Knox > > Sent: Friday, March 30, 2012 11:30 PM > > To: rsyslog-users > > Subject: Re: [rsyslog] json output from impstats > > > > Here's where I go to today on it: > > > > 2012-03-30T17:29:19.972413-04:00 aenea rsyslogd-pstats: @cee: > > {"name":"imuxsock","submitted":0,"ratelimit.discarded":0,"ratelimit.num > > ratelimiters":0} > > 2012-03-30T17:29:19.972521-04:00 aenea rsyslogd-pstats: @cee: > > {"name":"action 1","processed":316,"failed":0} > > 2012-03-30T17:29:19.972546-04:00 aenea rsyslogd-pstats: @cee: > > {"name":"action 2","processed":0,"failed":0} > > 2012-03-30T17:29:19.972568-04:00 aenea rsyslogd-pstats: @cee: > > {"name":"action 3","processed":0,"failed":0} > > 2012-03-30T17:29:19.972589-04:00 aenea rsyslogd-pstats: @cee: > > {"name":"action 4","processed":0,"failed":0} > > 2012-03-30T17:29:19.972611-04:00 aenea rsyslogd-pstats: @cee: > > {"name":"action 5","processed":0,"failed":0} > > 2012-03-30T17:29:19.972632-04:00 aenea rsyslogd-pstats: @cee: > > {"name":"action 6","processed":0,"failed":0} > > 2012-03-30T17:29:19.972653-04:00 aenea rsyslogd-pstats: @cee: > > {"name":"action 7","processed":0,"failed":0} > > 2012-03-30T17:29:19.972675-04:00 aenea rsyslogd-pstats: @cee: > > {"name":"action 8","processed":316,"failed":0} > > 2012-03-30T17:29:19.972696-04:00 aenea rsyslogd-pstats: @cee: > > {"name":"action 9","processed":4,"failed":0} > > 2012-03-30T17:29:19.972718-04:00 aenea rsyslogd-pstats: @cee: > > {"name":"action 10","processed":312,"failed":0} > > 2012-03-30T17:29:19.972739-04:00 aenea rsyslogd-pstats: @cee: > > {"name":"action 11","processed":299,"failed":0} > > 2012-03-30T17:29:19.972763-04:00 aenea rsyslogd-pstats: @cee: > > {"name":"main > > Q","size":12,"enqueued":328,"full":0,"discarded.full":0,"discarded.nf > > ":0,"maxqsize":13} > > > > > > On Fri, Mar 30, 2012 at 1:52 PM, Rainer Gerhards > > <rgerhards [at] hq>wrote: > > > > > > -----Original Message----- > > > > From: rsyslog-bounces [at] lists [mailto:rsyslog- > > > > bounces [at] lists] On Behalf Of Brian Knox > > > > Sent: Friday, March 30, 2012 7:46 PM > > > > To: rsyslog-users > > > > Subject: [rsyslog] json output from impstats > > > > > > > > If I wanted to throw together a cheap hack to have impstats log > > with > > > > cee > > > > enhanced rfc3164, I take it I could just hack up getStatsLine / > > > > getallStatsLines? > > > > > > Yup, that should do the trick. > > > Rainer > > > > > > > > Brian > > > > _______________________________________________ > > > > rsyslog mailing list > > > > http://lists.adiscon.net/mailman/listinfo/rsyslog > > > > http://www.rsyslog.com/professional-services/ > > > _______________________________________________ > > > rsyslog mailing list > > > http://lists.adiscon.net/mailman/listinfo/rsyslog > > > http://www.rsyslog.com/professional-services/ > > > > > _______________________________________________ > > rsyslog mailing list > > http://lists.adiscon.net/mailman/listinfo/rsyslog > > http://www.rsyslog.com/professional-services/ > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ >
|