NetXMS Support Forum

English Support => General Support => Topic started by: victrola on March 18, 2011, 02:34:16 PM

Title: Count the number of log entries
Post by: victrola on March 18, 2011, 02:34:16 PM
Hi,

Is it possible to count the amount of times a particular entry happens in a logfile over a minute?


Thanks!
Title: Re: Count the number of log entries
Post by: Victor Kirhenshtein on March 20, 2011, 10:34:50 PM
Not in a straight way. You can achieve this by generating event via logwatch for each record and use situation object for counting (there was an example of how to use situations for counting events on the forum), but probably it will be easier to write external script for this.

Best regards,
Victor