change rollover rest-api placeholder name
This commit is contained in:
parent
a9f24ea2dc
commit
756af81b00
|
@ -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"
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
# perform alias rollover
|
||||
- do:
|
||||
indices.rollover:
|
||||
index: "logs_search"
|
||||
alias: "logs_search"
|
||||
body:
|
||||
conditions:
|
||||
max_docs: 1
|
||||
|
|
Loading…
Reference in New Issue