Count of Log messages on logstash

Hi Dublin,

Yes it is definitely possible. @steffens had helped me on an issue a couple of years back

The relevant part is as follows:
simple logstash config for testing:

input {
  beat { ... }
}

output {
  stdout { codec => dots }
}

This config prints one dot per event. Using pv we can measure throughput:

./bin/logstash test.cfg | pv -War > /dev/null

This will give you the event rate in terms of bytes/sec. To get an idea about the actual event rate, you will have to use the metric filter. Hope this helps! :slight_smile: