Thanks @dadoonet for your response!! Just a suggestion; can we add processor "metrics processor" similar to metrics filter plugin of logstash ? which help to get the required details.
I don't know how the metrics filter plugin works behind the scene but I believe it is storing "locally" on the Logstash instance the "counters". Which means to me that it can not be distributed within multiple Logstash instances.
With that said, ingest node is distributed by nature. Which means that Node 1 will handle a 1st request, then may be Node 2, then may be Node3... And you can easily understand what is going to happen in that case.
If Logstash could work for you, I'd go the logstash way.
If you really want to do it in Ingest, then you need to:
write your own ingest plugin
make sure that only one node is set to "node.ingest": true and other nodes are set to false.
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.