change rollover rest-api placeholder name

This commit is contained in:
Areek Zillur 2016-06-09 12:53:24 -04:00
parent a9f24ea2dc
commit 756af81b00
2 changed files with 4 additions and 4 deletions

View File

@ -3,10 +3,10 @@
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html",
"methods": ["POST"],
"url": {
"path": "/{index}/_rollover",
"paths": ["/{index}/_rollover"],
"path": "/{alias}/_rollover",
"paths": ["/{alias}/_rollover"],
"parts": {
"index": {
"alias": {
"type" : "string",
"required" : true,
"description" : "The name of the alias to rollover"

View File

@ -31,7 +31,7 @@
# perform alias rollover
- do:
indices.rollover:
index: "logs_search"
alias: "logs_search"
body:
conditions:
max_docs: 1