Delete old indices from x-pack security enabled elasticsearch using curator

I'm trying to delete old indices from x-pack security enabled elasticsearch cluster. In curator config file I have added username and password options under client category. But I'm receiving this error when trying to delete indexes using curator.

Schema error: extra keys not allowed @ data['client']['username']
Configuration: Client Configuration: Location: full configuration dictionary: Bad Value: "{'hosts': ['127.0.0.1'], 'port': 9200, 'username': 'xxxxx', 'password': 'xxxxxxxx', 'use_ssl': False, 'ssl_no_validate': False, 'timeout': 30, 'master_only': False}", extra keys not allowed @ data['client']['username']. Check configuration file.

Curator doesn't currently use username and password separately. See the http_auth parameter.

1 Like

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