Hello friend, when i PUT settings see bellow
PUT _index_template/winlogbeat
{
“index_patterns”: [“winlogbeat-*”],
“settings”: {
“opendistro.index_state_management.policy_id”: “delete”
}
}
i recived errors
{
“error” : {
“root_cause” : [
{
“type” : “x_content_parse_exception”,
“reason” : “[3:3] [index_template] unknown field [settings]”
}
],
“type” : “x_content_parse_exception”,
“reason” : “[3:3] [index_template] unknown field [settings]”
},
“status” : 400
}
what do I need to do to fix this error ?
Hello @Taku
Just copy/paste your example and replaced quote mark “
to the "
PUT _index_template/winlogbeat
{
"index_patterns": ["winlogbeat-*"],
"settings": {
"opendistro.index_state_management.policy_id": "delete"
}
}
I got the error about incorrect method.
For my recent test I used another endpoint - PUT _template/
it’s work!
thanks for you help