POST _ilm/move/.ds-heartbeat-8.13.2-2024.04.29-000001
{
"current_step": {
"phase": "warm",
"action": "complete",
"name": "complete"
},
"next_step": {
"phase": "warm",
"action": "downsample",
"name": "downsample"
}
}
when I post the above in the dev tools console I get the following error
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": """step [{"phase":"warm","action":"downsample","name":"downsample"}] for index [.ds-heartbeat-8.13.2-2024.04.29-000001] with policy [heartbeat] does not exist"""
}
],
"type": "illegal_argument_exception",
"reason": """step [{"phase":"warm","action":"downsample","name":"downsample"}] for index [.ds-heartbeat-8.13.2-2024.04.29-000001] with policy [heartbeat] does not exist"""
},
"status": 400
}
when I runt it with out the name: dowsample (see below)
POST _ilm/move/.ds-heartbeat-8.13.2-2024.04.29-000001
{
"current_step": {
"phase": "warm",
"action": "complete",
"name": "complete"
},
"next_step": {
"phase": "warm",
"action": "downsample"
}
}
it give me
{
"acknowledged": true
}
but it does not actually downsample.
I know the documentation says that the name is required but I am not sure what the name would be.
is there somthing I am missing?
this is what the index status shows
{
"indices": {
".ds-heartbeat-8.13.2-2024.04.29-000001": {
"index": ".ds-heartbeat-8.13.2-2024.04.29-000001",
"managed": true,
"policy": "heartbeat",
"index_creation_date_millis": 1714434932756,
"time_since_index_creation": "48.8d",
"lifecycle_date_millis": 1717027191770,
"age": "18.8d",
"phase": "warm",
"phase_time_millis": 1718651824709,
"action": "complete",
"action_time_millis": 1718651825509,
"step": "complete",
"step_time_millis": 1718651825509,
"phase_execution": {
"policy": "heartbeat",
"phase_definition": {
"min_age": "30d",
"actions": {
"downsample": {
"fixed_interval": "5m",
"wait_timeout": "1d"
},
"set_priority": {
"priority": 50
}
}
},
"version": 6,
"modified_date_in_millis": 1718388796908
}
}
}
}
when I ran
POST _ilm/move/.ds-packetbeat-8.13.1-2024.05.03-000002
{
"current_step": {
"phase": "hot",
"action": "complete",
"name": "complete"
},
"next_step": {
"phase": "warm"
}
}
it just did the shrink action but not the dowsampling