I'm developing a beat based on metricbeat.
I use the report.Event to send an event.
There is any way to improve the performance of this method?
Exists any way to send an array of Events to the buffer instead of one to one?
if I change queue.mem configs will change anything in this method?
The publisher in Beats will automatically batch multiple events together to then send a bulk request to Elasticsearch. Anything specific you discovered as a performance issue? Perhaps you can link to your code?
If you increase the queue size, more events will be queue in memory before sending to Elasticsearch. It does not directly affect the method.
The goal is retrieve all performance metrics from vsphere.
For now, we have 9 metric sets and we're testing with two vspheres.
The virtualmachines, hosts and virtualswitches metrics sets are the metric sets which take a long time. We ran the beat without the report.Event method and the times are:
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.