API: Get messages per second from input and output

Hi!
Is it possible to get the messages digested by Logstash via an API call? I checked the documentation and did not find anything about that. We would like to add that to our monitoring and graph it.

Thanks for your help!

Take care,
Alex

You're probably looking for the pipeline stats part of the monitoring API: https://www.elastic.co/guide/en/logstash/current/node-stats-api.html#pipeline-stats

Hi!
We are using these metrics at the moment and we are calculating the messages per second just by...well...measuring every second and calculate the difference of the two values. I had hoped that there is an API call to get that number directly.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.