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).
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.
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.