Hi,
We are using Cloud Platinum subscription.
We enabled Metricbeat monitoring on 21st of January.
Seems like .monitoring indices (old and new) are deleted only after 1 month or not deleted at all.
Can we control retention period on mb monitoring system indices?
Are we supposed to set up ILM policies (and add it to system index templates) to control rollover and deletion of these system indices?
Please note that we have xpack.monitoring.history.duration
set to "3d" which is not working. Is that related only to legacy monitoring and not to metribeat?
GET _cluster/settings?filter_path=*.xpack.monitoring&include_defaults=true
{
"persistent" : {
"xpack" : {
"monitoring" : {
"collection" : {
"enabled" : "true",
"interval" : "10s"
},
"exporters" : {
"__no-default-local__" : {
"type" : "local",
"enabled" : "false"
}
}
}
}
},
"defaults" : {
"xpack" : {
"monitoring" : {
"collection" : {
"cluster" : {
"stats" : {
"timeout" : "10s"
}
},
"node" : {
"stats" : {
"timeout" : "10s"
}
},
"indices" : [ ],
"ccr" : {
"stats" : {
"timeout" : "10s"
}
},
"enrich" : {
"stats" : {
"timeout" : "10s"
}
},
"index" : {
"stats" : {
"timeout" : "10s"
},
"recovery" : {
"active_only" : "false",
"timeout" : "10s"
}
},
"ml" : {
"job" : {
"stats" : {
"timeout" : "10s"
}
}
}
},
"history" : {
"duration" : "3d"
},
"elasticsearch" : {
"collection" : {
"enabled" : "true"
}
},
"enabled" : "true"
}
}
}
}
Any help is appreciated.
Kind regards,
Dane