Hi,
Referring to the documentation:
https://www.elastic.co/guide/en/elasticsearch/reference/current/monitoring-settings.html
We have value: xpack.monitoring.history.duration (default 7d).
I can execute query:
PUT _cluster/settings
{"persistent": {"xpack.monitoring.history.duration":"30d"}}
... or put this data in elasticsearch config.
If I make queries:
GET _cluster/settings
Elasticsearch return:
{
"persistent" : {
"cluster" : {
"routing" : {
"allocation" : {
"enable" : "all"
}
}
},
"indices" : {
"breaker" : {
"fielddata" : {
"limit" : "45%"
}
}
},
"xpack" : {
"monitoring" : {
"collection" : {
"enabled" : "true"
},
"history" : {
"duration" : "30d"
}
}
}
},
"transient" : { }
}
However, with such a variable (30d) elasticsearch still deletes monitoring indices as for 7d.
There are no changes - still unchanged 7 days.
Where are the possible problems?