Dropped message count

Tags: 2.9.1504

#1 milank

Sorry for the activity, I hope this to be the last question - I've been playing with nxlog-ce for a week already.

How can I get a count of (unintentionally) dropped records? Something syslog-ng reports in "mark" messages... Do I have to create a buffer processor, drop the records "intentionally" in it and implement my own counter in script? Or does nxlog exhibit somehow its internal flow control stats?

Milan

#2 adm Nxlog ✓
#1 milank
Sorry for the activity, I hope this to be the last question - I've been playing with nxlog-ce for a week already. How can I get a count of (unintentionally) dropped records? Something syslog-ng reports in "mark" messages... Do I have to create a buffer processor, drop the records "intentionally" in it and implement my own counter in script? Or does nxlog exhibit somehow its internal flow control stats? Milan

NXLog does not drop messages when Flow control is enabled (which is the default). Each module keeps track of the sent and received event (evt_recvd and evt_fwd struct members). The NXLog EE can be queried over SOAP/HTTP to get these stats and these are then displayed in NXLog Manager.