I am trying to create a policy from AWS ES kibana dev tool and got this message
{"Message":"Your request: '/_ilm/policy/my_policy' is not allowed."}
PUT _ilm/policy/my_policy
{
"policy": {
"phases": {
"delete": {
"min_age": "10d",
"actions": {
"delete": {}
}
}
}
}
}
and from state management policies i also tried to create policy but i got this exception
[illegal_argument_exception] Invalid field: [phases] found in Policy.
we are using AWS ES 7.9 version.
...