MetricBeat keep metricbeat Index for 7 day

Hi,

I am using MetricBeat 5.6.10, I am seeing metricbeat-2018.08.XX index getting created every day on elastic search. Is there any setting to control this to 7 days(Similar to xpack.monitoring.history.duration).

i.e I would like to keep only 7 days data only.

Thanks,
Amit.

Hi @eramitsinha

There isn't anything built into metricbeat itself but you might want to look into this externally-installed tool: https://github.com/elastic/curator.

Eventually we (Elastic) do plan to offer tooling from within Elasticsearch/Kibana to perform index lifecycle management. If you want to follow our progress on this feature, check out https://github.com/elastic/elasticsearch/issues/29823.

Cheers,

Shaunak

Thank you.

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