How to cache metric data?

I ran a test and disconnected the network from a system with metricbeat running. When network came back, metricbeat never sent the data that was collected during the outage. There is a gap in my data. How do I enable local caching?

@pixelrebel,

Metricbeat is set by default to drop events after 3 retries, this number can be changed: https://www.elastic.co/guide/en/beats/metricbeat/current/elasticsearch-output.html

In addition, metricbeat has an internal memory queue and a file spool (currently in beta) that you can configure: https://www.elastic.co/guide/en/beats/metricbeat/current/configuring-internal-queue.html

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