Hi there,
i have several data streams here, that i want to control via ISM rollover policy.
Created this ISM policy, but when i want to assign it to the data stream index, i get the warning that the rollover alias is missing. I thought this was not necessary for data streams.
"default_state": "hot",
"states": [
{
"name": "hot",
"actions": [
{
"rollover": {
"min_size": "50gb",
"min_index_age": "30d"
}
}
],
"transitions": [
{
"state_name": "cold"
}
]
},
{
"name": "cold",
"actions": [
{
"read_only": {}
},
{
"index_priority": {
"priority": 0
}
},
{
"force_merge": {
"max_num_segments": 1
}
}
],
"transitions": [
{
"state_name": "delete",
"conditions": {
"min_index_age": "90d"
}
}
]
},
{
"name": "delete",
"actions": [
{
"delete": {}
}
],
"transitions": []
}
],
"ism_template": [
{
"index_patterns": [
"logs-*"
],
"priority": 50,
"last_updated_time": 1639485301867
}
]
}
}