Date math Incorrect HTTP method for uri

Hi I just want to create index with date math from dev tool console for rollover
but I got below error:


PUT /%3Cindex_test-%7Bnow%2Fd%7BYYYYMMDD%7D%7D%3E
  "aliases": {
    "logs_write": {}
  "error" : "Incorrect HTTP method for uri [/%3Cindex_test-%7Bnow/d%7BYYYYMMDD%7D%7D%3E?pretty=true] and method [PUT], allowed: [POST]",
  "status" : 405

What's wrong?

Hi @INS,

From the error, you need to send a POST request rather than PUT. Give it a try and let us know if that clears the error!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.