Xpack.monitoring.history.duration


(Amit) #1

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.


(Mark Walkom) #2

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


(Amit) #3

Thank you Mark. :slight_smile:


(system) #4

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