Hi, I have a problem with ILM, index life management, since I have followed the steps that appear in this guide Configure a lifecycle policy | Elasticsearch Guide [master] | Elastic
My current index pattern is called filebeat-2021.06
The index template that I created is called templateindex
The name of the index policy is Filebeat_Policies
PUT _index_template / my_template { "index_patterns" : [ "templateindex ],
"template" : { "settings" : { "number_of_shards" : 1 , "number_of_replicas" : 1 , "index.lifecycle.name" : "templateindex" ,
"index.lifecycle.rollover_alias" : "Filebeat_policies"
}
}
}
The error it gives me when putting it in the dev tools is the following
{
"error" : "Incorrect HTTP method for uri [/_index_template?pretty=true] and method [PUT], allowed: [GET]",
"status" : 405
}
Thank you very much, I am quite desperate, if someone can help me I will be very grateful