The following line gives - Error: No such command "delete_indices"
curator_cli --host --port delete_indices --filter_list '[{"filtertype":"pattern","kind":"prefix","value":".watch_history"}]'
As per curator_cli --help it is stated that i should try delete-indices instead. But while using that I am getting the below error
CRITICAL Action must be one of ['snapshot', 'create_index', 'index_settings', 'rollover', 'forcemerge', 'cluster_routing', 'replicas', 'delete_indices', 'allocation', 'alias', 'restore', 'close', 'delete_snapshots', 'open', 'shrink', 'reindex']
The versions that am using are:
elasticsearch (6.3.1)
elasticsearch-curator (5.5.4)