.monitoring-es - increase retention?


We're using Elastic Cloud and have a deployment with 3 zones.
When going to Kibana->Monitoring->Overview we only have 2 days worth of data.
I also only see indices for two days when GETing:

How can we configure the system to keep stats for at least 7 days?


The doc with the right setting you need is here:

Call the following API operation to specify the index retention period. Change the 7d to whatever you like:

PUT _cluster/settings
{"persistent": {"xpack.monitoring.history.duration":"7d"}}


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