Xpack.monitoring.history.duration

Hi,

I am using ES 5.2.2 with X-Pack 5.2.2. I am having main cluster and monitoring cluster where I export monitoring data from main cluster. Refer release docs

https://www.elastic.co/guide/en/x-pack/5.2/monitoring-settings.html
...............................................................................................................................................
xpack.monitoring.history.duration
Sets the retention duration beyond which the indices created by a Monitoring exporter will be automatically deleted. Defaults to 7d (7 days).

This setting has a minimum value of 1d (1 day) to ensure that something is being monitored, and it cannot be disabled.

Important
This setting currently only impacts local-type exporters. Indices created using the http exporter will not be deleted automatically.

...............................................................................................................................................
I am using Default setting, I am seeing its keeping .monitoring Indices only for 7 days i.e its deleting older index. Is this expected.

Thanks,
Amit.

The default is 7 days, so after that things will be removed. This is expected.

Thank you Mark. :slight_smile:

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