In version 8.2102 the impstats _sender_stat messages field is being reported as 
a string value, not an integer.


{"name":"_sender_stat", "sender":"192.168.10.18", "messages":"0"}


This is in contrast to essentially everything else that is reported as integers.


{"name": "udp-15144-out queue", "origin": "core.queue", "size": 0, "enqueued": 
0, "full": 0, "discarded.full": 0, "discarded.nf": 0, "maxqsize": 4 }


Config is generated from blow directive…


module(load="impstats"
  interval="60"
  resetCounters="on"
  format="json"
  severity="7"
  log.file="/var/log/impstats/impstats.json”
)


I rather doubt this is intended, and it’s trivial to work around, but the 
maintainers would need to say for sure.  I can enter an issue if desired.

Thanks, 

_______________________________________________
rsyslog mailing list
https://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