When i want to delete the indices that are older than 4 days it is showing connection failure.
Today date is 2017-03-03
I don't have any username and pwd?
C:\Users\Yaswanth>curator --host 9200 delete indices --older-than 4 --time-unit da
ys --timestring '%Y-%m-%d' --prefix data
2017-03-03 18:49:19,461 INFO Job starting: delete indices
2017-03-03 18:49:28,548 ERROR Connection failure.
But i can able to view the indices without any connection failure..
1)Based on your suggestion i downloaded the Curator 4.2.6 for windows directly from Elasticco . But based on Documenatation in Elastic curator will search for --config file in the location C:\Users\username\.curator\curator.yml but i can t able see any thing in that location.
2)When executing curator curator [--config CONFIG.YML] [--dry-run] ACTION_FILE.YML
in the place of --config i have to give configfile.yml file location
in the place of action i have to give actionfile.yml file location
can i store any where these config and action files and provide path of it is enough?
You can also use the singleton action command, curator_cli, which is more like the Curator 3.x way of doing things. The major difference is that you need to format your --filter_list to be a JSON string.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.