Why do you want to do this? I believe the outputs support setting the flush_interval (default is 1s). You could set this to 60s then internally queued events would be sent every 60s or when the queue reaches it max size (configured with bulk_max_size and defaults to 2048).
It should send the events in a batch. The batch size may start small and grow once it determines the Logstash is able to handle the larger batch sizes (this behavior was disabled in 6.0).
Does Metricbeat average out the metrics for CPU, Memory, Network, etc. over the period (e.g. 10s) set in the config file? Or does it collect raw metrics at the time? Thanks.
For example, collecting every 10s:
- module: system
metricsets:
- cpu
- memory
- network
enabled: true
period: 10s
processes: ['.*']
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.