I am trying to monitor the number of events that are currently pending in the persisted queue of my Logstash instance. This number seems to update only when I restart Logstash. I looked at the metric in three different places, they all agree:
The monitoring UI in Kibana (see screenshot below),
The contents of the .monitoring indexes, specifically the queue.events_count field, and
The monitoring API endpoint via curl, specifically the value pipeline.queue.events.
The value only changes immediately following a restart of the logstash daemon, and then stays constant:
I confirmed the value remained constant even as events from the queue were replayed through to the back-end ES cluster following a network interruption. Am I doing anything wrong, or do I have the wrong expectation?
I am running Logstash 5.5.2 on Linux. The contents of my logstash.yml file:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.