I am using curator version 5.8.1 and I have setup the config file as below:
— serverIP or localhost
Delete indices older than 30 days (based on index name), for logstash-
prefixed indices. Ignore the error if the filter does not result in an
actionable list of indices (ignore_empty_list) and exit cleanly.
- filtertype: pattern
value: 'indices name'
- filtertype: age
If I run the command curator --config curator.yml --dry-run action.yml getting below error:
INFO Preparing Action ID: 1, "delete_indices"
INFO Creating client object and testing connection
INFO Instantiating client object
INFO Testing client connectivity
Error Unable to connect to Elasticsearch cluster. Error: URL has an invalid label.
CRITICAL Curator cannot proceed. Exiting.
What could be the reason, can someone please help on this.