Closed tomjirsa closed 7 years ago
Try to look at Elastic Curator on github.
Suggested in StackOverflow and Elastic discuss forum
To test autorate you can use
curl -XPUT 'consumer:9200/spark-2017.03.01?pretty' -H 'Content-Type: application/json' -d'
{
"settings" : {
"index" : {
"number_of_shards" : 3,
"number_of_replicas" : 2
}
}
}
'
for creating an index.
to list all indices you can use:
curl 'consumer:9200/_cat/indices?v'
Closing, merged with master #31
Explore possibilities for data rotation in elasticsearch (i.e. delete all indexes older than one month).