Hi,
I have setup elasticsearch and created the following but the index will not roll over when a limit (size in this case) is reached.
Policy
{
"policy" : {
"phases" : {
"hot" : {
"min_age" : "0ms",
"actions" : {
"rollover" : {
"max_size" : "50gb"
},
"set_priority" : {
"priority" : 100
}
}
},
"delete" : {
"min_age" : "90d",
"actions" : {
"delete" : {
"delete_searchable_snapshot" : true
}
}
}
}
}
}
Index
{
"index_patterns": ["gold-*"],
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0,
"index": {
"lifecycle.name": "gold-policy",
"lifecycle.rollover_alias": "gold"
}
}
}
Alias
{
"aliases": {
"gold":{
"is_write_index": true
}
}
}
Right now, the index is linked to the policy and is healthy but as you can see it has crossed the size limit and has not rolled over.
green open gold-000001 XXXXX 1 0 222151235 0 95.9gb 95.9gb
I made sure the ILM status was running
{"operation_mode":"RUNNING"}
Could someone help me get this working?
Thank you
Ed