Not able to use "delete_indices" for curator_cli

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)

It’s a recent issue that is related to a bump in the Click module that Curator uses for the command line. See https://github.com/elastic/curator/issues/1279

Thanks, was able to solve the issue by downgrading Click from 7.0 to 6.7

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.