# Curator is not working

**URL:** <https://discuss.elastic.co/t/curator-is-not-working/309219>\
**Category:** Elasticsearch\
**Tags:** curator\
**Created:** [July 8, 2022, 4:01pm UTC](https://discuss.elastic.co/t/curator-is-not-working/309219 "2022-07-08T16:01:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeepbisht](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@sandeepbisht](https://discuss.elastic.co/u/sandeepbisht)\
**Post date:** [July 8, 2022, 4:01pm UTC](https://discuss.elastic.co/t/curator-is-not-working/309219/1 "2022-07-08T16:01:17Z")

</div>

Hi All,

I was trying to setup curator for auto removal of my old indices but i am getting below error.

Please someone help me on this.

I have also attached screenshot of my curator and action file with it's output.

```auto
oot@prod-logstash:/usr/local/bin#
root@prod-logstash:/usr/local/bin# curator /usr/local/bin/delete-indices.yml --config /usr/local/bin/curator.yml --dry-run
2022-07-08 15:58:03,396 DEBUG curator.cli run:110 Client and logging options validated.
2022-07-08 15:58:03,396 DEBUG curator.cli run:114 default_timeout = 30
2022-07-08 15:58:03,396 DEBUG curator.cli run:118 action_file: /usr/local/bin/delete-indices.yml
2022-07-08 15:58:03,399 DEBUG curator.cli run:120 action_config: {'actions': {1: {'action': 'delete_indices', 'description': '\nDelete indices older than 180 days (based on index name), for logstash-\nprefixed indices. Ignore the error if the filter does not result in an\nactionable list of indices (ignore_empty_list) and If you want to change the retention Days then goto unit_count:180', 'options': {'ignore_empty_list': True, 'timeout_override': None, 'continue_if_exception': False, 'disable_action': False}, 'filters': [{'filtertype': 'age', 'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days', 'unit_count': 180}]}}}
2022-07-08 15:58:03,400 DEBUG curator.validators.SchemaCheck __init__ :26 Schema: {'actions': <class 'dict'>}
2022-07-08 15:58:03,400 DEBUG curator.validators.SchemaCheck __init__ :27 "Actions File" config: {'actions': {1: {'action': 'delete_indices', 'description': '\nDelete indices older than 180 days (based on index name), for logstash-\nprefixed indices. Ignore the error if the filter does not result in an\nactionable list of indices (ignore_empty_list) and If you want to change the retention Days then goto unit_count:180', 'options': {'ignore_empty_list': True, 'timeout_override': None, 'continue_if_exception': False, 'disable_action': False}, 'filters': [{'filtertype': 'age', 'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days', 'unit_count': 180}]}}}
2022-07-08 15:58:03,400 DEBUG curator.validators.SchemaCheck __init__ :26 Schema: {'action': Any(In(['alias', 'allocation', 'close', 'cluster_routing', 'create_index', 'delete_indices', 'delete_snapshots', 'forcemerge', 'freeze', 'index_settings', 'open', 'reindex', 'replicas', 'restore', 'rollover', 'shrink', 'snapshot', 'unfreeze']), msg="action must be one of ['alias', 'allocation', 'close', 'cluster_routing', 'create_index', 'delete_indices', 'delete_snapshots', 'forcemerge', 'freeze', 'index_settings', 'open', 'reindex', 'replicas', 'restore', 'rollover', 'shrink', 'snapshot', 'unfreeze']")}
2022-07-08 15:58:03,400 DEBUG curator.validators.SchemaCheck __init__ :27 "action type" config: {'action': 'delete_indices', 'description': '\nDelete indices older than 180 days (based on index name), for logstash-\nprefixed indices. Ignore the error if the filter does not result in an\nactionable list of indices (ignore_empty_list) and If you want to change the retention Days then goto unit_count:180', 'options': {'ignore_empty_list': True, 'timeout_override': None, 'continue_if_exception': False, 'disable_action': False}, 'filters': [{'filtertype': 'age', 'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days', 'unit_count': 180}]}
2022-07-08 15:58:03,401 DEBUG curator.validators.SchemaCheck __init__ :26 Schema: {'action': Any(In(['alias', 'allocation', 'close', 'cluster_routing', 'create_index', 'delete_indices', 'delete_snapshots', 'forcemerge', 'freeze', 'index_settings', 'open', 'reindex', 'replicas', 'restore', 'rollover', 'shrink', 'snapshot', 'unfreeze']), msg="action must be one of ['alias', 'allocation', 'close', 'cluster_routing', 'create_index', 'delete_indices', 'delete_snapshots', 'forcemerge', 'freeze', 'index_settings', 'open', 'reindex', 'replicas', 'restore', 'rollover', 'shrink', 'snapshot', 'unfreeze']"), 'description': Any(<class 'str'>, <class 'str'>, msg=None), 'options': <class 'dict'>, 'filters': <class 'list'>}
2022-07-08 15:58:03,401 DEBUG curator.validators.SchemaCheck __init__ :27 "structure" config: {'action': 'delete_indices', 'description': '\nDelete indices older than 180 days (based on index name), for logstash-\nprefixed indices. Ignore the error if the filter does not result in an\nactionable list of indices (ignore_empty_list) and If you want to change the retention Days then goto unit_count:180', 'options': {'ignore_empty_list': True, 'timeout_override': None, 'continue_if_exception': False, 'disable_action': False}, 'filters': [{'filtertype': 'age', 'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days', 'unit_count': 180}]}
2022-07-08 15:58:03,403 DEBUG curator.validators.SchemaCheck __init__ :26 Schema: {'allow_ilm_indices': Any(<class 'bool'>, All(Any(<class 'str'>, msg=None), <function Boolean at 0x7f95d4043af0>, msg=None), msg=None), 'continue_if_exception': Any(<class 'bool'>, All(Any(<class 'str'>, msg=None), <function Boolean at 0x7f95d4043ca0>, msg=None), msg=None), 'disable_action': Any(<class 'bool'>, All(Any(<class 'str'>, msg=None), <function Boolean at 0x7f95d4043e50>, msg=None), msg=None), 'ignore_empty_list': Any(<class 'bool'>, All(Any(<class 'str'>, msg=None), <function Boolean at 0x7f95d4047040>, msg=None), msg=None), 'timeout_override': Any(Coerce(int, msg=None), None, msg=None)}
2022-07-08 15:58:03,403 DEBUG curator.validators.SchemaCheck __init__ :27 "options" config: {'ignore_empty_list': True, 'continue_if_exception': False, 'disable_action': False}
2022-07-08 15:58:03,404 DEBUG curator.validators.SchemaCheck __init__ :26 Schema: <function Filters.<locals>.f at 0x7f95d4043550>
2022-07-08 15:58:03,404 DEBUG curator.validators.SchemaCheck __init__ :27 "filters" config: [{'filtertype': 'age', 'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days','unit_count': 180}]
2022-07-08 15:58:03,404 DEBUG curator.defaults.filtertypes age:55 AGE FILTER = [{'direction': Any('older', 'younger', msg=None)}, {'unit': Any('seconds', 'minutes', 'hours', 'days', 'weeks','months', 'years', msg=None)}, {'unit_count': Coerce(int, msg=None)}, {'unit_count_pattern': Any(<class 'str'>, msg=None)}, {'epoch': Any(Coerce(int, msg=None), None, msg=None)}, {'exclude': Any(<class 'bool'>, All(Any(<class 'str'>, msg=None), <function Boolean at 0x7f95d4047c10>, msg=None), msg=None)}, {'source': Any('name', 'creation_date', 'field_stats', msg=None)}, {'stats_result': Any('min_value', 'max_value', msg=None)},{'timestring': Any(<class 'str'>, msg=None)}]
2022-07-08 15:58:03,404 DEBUG curator.validators.SchemaCheck __init__ :26 Schema: {'filtertype': Any(In(['age', 'alias', 'allocated', 'closed', 'count', 'empty', 'forcemerged', 'ilm', 'kibana', 'none', 'opened', 'pattern', 'period', 'shards', 'space', 'state']), msg="filtertype must be one of ['age', 'alias', 'allocated', 'closed', 'count', 'empty', 'forcemerged', 'ilm', 'kibana', 'none', 'opened', 'pattern','period', 'shards', 'space', 'state']"), 'direction': Any('older', 'younger', msg=None), 'unit': Any('seconds', 'minutes', 'hours', 'days', 'weeks', 'months', 'years', msg=None), 'unit_count': Coerce(int, msg=None),'unit_count_pattern': Any(<class 'str'>, msg=None), 'epoch': Any(Coerce(int, msg=None), None, msg=None), 'exclude': Any(<class 'bool'>, All(Any(<class 'str'>, msg=None), <function Boolean at 0x7f95d4047c10>, msg=None), msg=None), 'source': Any('name', 'creation_date', 'field_stats', msg=None), 'stats_result': Any('min_value', 'max_value', msg=None), 'timestring': Any(<class 'str'>, msg=None)}
2022-07-08 15:58:03,405 DEBUG curator.validators.SchemaCheck __init__ :27 "filter" config: {'filtertype': 'age', 'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days', 'unit_count': 180}
2022-07-08 15:58:03,405 DEBUG curator.validators.filters f:48 Filter #0: {'filtertype': 'age', 'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days', 'unit_count': 180, 'epoch': None, 'stats_result': 'min_value', 'exclude': False}
2022-07-08 15:58:03,405 DEBUG curator.cli run:123 Full list of actions: {1: {'action': 'delete_indices', 'description': '\nDelete indices older than 180 days (based on index name),for logstash-\nprefixed indices. Ignore the error if the filter does not result in an\nactionable list of indices (ignore_empty_list) and If you want to change the retention Days then goto unit_count:180', 'options': {'ignore_empty_list': True, 'continue_if_exception': False, 'disable_action': False, 'timeout_override': None, 'allow_ilm_indices': False}, 'filters': [{'filtertype': 'age', 'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days', 'unit_count': 180, 'epoch': None, 'stats_result': 'min_value', 'exclude': False}]}}
2022-07-08 15:58:03,405 DEBUG curator.cli run:128 action_disabled = False
2022-07-08 15:58:03,405 DEBUG curator.cli run:131 continue_if_exception = False
2022-07-08 15:58:03,405 DEBUG curator.cli run:134 timeout_override = None
2022-07-08 15:58:03,405 DEBUG curator.cli run:136 ignore_empty_list = True
2022-07-08 15:58:03,405 DEBUG curator.cli run:138 allow_ilm_indices = False
2022-07-08 15:58:03,405 INFO curator.cli run:148 Preparing Action ID: 1, "delete_indices"
2022-07-08 15:58:03,405 INFO curator.cli run:162 Creating client object and testing connection
2022-07-08 15:58:03,405 DEBUG curator.utils get_client:809 kwargs = {'hosts': ['127.0.0.1'], 'port': 9200, 'use_ssl': False, 'ssl_no_validate': False, 'master_only': False, 'aws_token': None, 'aws_secret_key': None, 'certificate': None, 'client_cert': None, 'client_key': None, 'http_auth': None, 'aws_sign_request': False, 'url_prefix': '', 'aws_key': None, 'timeout': 30}
2022-07-08 15:58:03,405 DEBUG curator.utils get_client:871 Checking for AWS settings
2022-07-08 15:58:03,408 DEBUG curator.utils get_client:886 "requests_aws4auth" module present, but not used.
2022-07-08 15:58:03,408 INFO curator.utils get_client:903 Instantiating client object
2022-07-08 15:58:03,408 INFO curator.utils get_client:906 Testing client connectivity
2022-07-08 15:58:03,411 DEBUG urllib3.connectionpool _new_conn:204 Starting new HTTP connection (1): 127.0.0.1:9200
2022-07-08 15:58:03,413 DEBUG urllib3.connectionpool _new_conn:204 Starting new HTTP connection (2): 127.0.0.1:9200
2022-07-08 15:58:03,415 DEBUG urllib3.connectionpool _new_conn:204 Starting new HTTP connection (3): 127.0.0.1:9200
2022-07-08 15:58:03,416 DEBUG urllib3.connectionpool _new_conn:204 Starting new HTTP connection (4): 127.0.0.1:9200
2022-07-08 15:58:03,416 ERROR curator.utils get_client:915 HTTP N/A error: HTTPConnectionPool(host='127.0.0.1', port=9200): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95d3fe70a0>: Failed to establish a new connection: [Errno 111] Connection refused'))
2022-07-08 15:58:03,416 CRITICAL curator.utils get_client:923 Curator cannot proceed. Exiting.
root@prod-logstash:/usr/local/bin#

```

 ![Selection_1240](https://us1.discourse-cdn.com/elastic/original/3X/7/f/7f205fefc6746a3cc035ee500b746d2f8c916755.png)  
 ![Selection_1239](https://us1.discourse-cdn.com/elastic/original/3X/d/f/dfad71d51fe7d4cf0203d805856d25d84bdad0cd.png)

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 11, 2022, 4:41am UTC](https://discuss.elastic.co/t/curator-is-not-working/309219/2 "2022-07-11T04:41:12Z")

</div>

Which version of Elasticsearch are you using? Is the cluster secured? What does the cluster configuration look like?

---

<div class="post-metadata">

**Author:** ![sandeepbisht](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@sandeepbisht](https://discuss.elastic.co/u/sandeepbisht)\
**Post date:** [July 11, 2022, 6:27am UTC](https://discuss.elastic.co/t/curator-is-not-working/309219/3 "2022-07-11T06:27:51Z")

</div>

@Christian_Dahlqvist Elasticsearch version : 7.4  
Curator version : 5.8.1

As you know Elasticsearch is AWS managed & We have a logstash machine where we collect logs from our app servers using filebeat.

cluster configuration means ?. you need SS of ES console in AWS ?.

---

<div class="post-metadata">

**Author:** ![sandeepbisht](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@sandeepbisht](https://discuss.elastic.co/u/sandeepbisht)\
**Post date:** [July 11, 2022, 6:28am UTC](https://discuss.elastic.co/t/curator-is-not-working/309219/4 "2022-07-11T06:28:52Z")

</div>

```auto
oot@prod-logstash:/usr/local/bin# curator /usr/local/bin/delete-indices.yml --config /usr/local/bin/curator.yml --dry-run
2022-07-11 06:16:59,467 DEBUG curator.cli run:110 Client and logging options validated.
2022-07-11 06:16:59,467 DEBUG curator.cli run:114 default_timeout = 30
2022-07-11 06:16:59,468 DEBUG curator.cli run:118 action_file: /usr/local/bin/delete-indices.yml
2022-07-11 06:16:59,471 DEBUG curator.cli run:120 action_config: {'actions': {1: {'action': 'delete_indices', 'description': '\nDelete indices older than 180 days (based on index name), for logstash-\nprefixed indices. Ignore the error if the filter does not result in an\nactionable list of indices (ignore_empty_list) and If you want to change the retention Days then goto unit_count:180', 'options': {'ignore_empty_list': True, 'timeout_override': None, 'continue_if_exception': False, 'disable_action': False}, 'filters': [{'filtertype': 'age', 'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days', 'unit_count': 180}]}}}
2022-07-11 06:16:59,471 DEBUG curator.validators.SchemaCheck __init__ :26 Schema: {'actions': <class 'dict'>}
2022-07-11 06:16:59,471 DEBUG curator.validators.SchemaCheck __init__ :27 "Actions File" config: {'actions': {1: {'action': 'delete_indices', 'description': '\nDelete indices older than 180 days (based on index name), for logstash-\nprefixed indices. Ignore the error if the filter does not result in an\nactionable list of indices (ignore_empty_list) and If you want to change the retention Days then goto unit_count:180', 'options': {'ignore_empty_list': True, 'timeout_override': None, 'continue_if_exception': False, 'disable_action': False}, 'filters': [{'filtertype': 'age', 'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days', 'unit_count': 180}]}}}
2022-07-11 06:16:59,471 DEBUG curator.validators.SchemaCheck __init__ :26 Schema: {'action': Any(In(['alias', 'allocation', 'close', 'cluster_routing', 'create_index', 'delete_indices', 'delete_snapshots', 'forcemerge', 'freeze', 'index_settings', 'open', 'reindex', 'replicas', 'restore', 'rollover', 'shrink', 'snapshot', 'unfreeze']), msg="action must be one of ['alias', 'allocation', 'close', 'cluster_routing', 'create_index', 'delete_indices', 'delete_snapshots', 'forcemerge', 'freeze', 'index_settings', 'open', 'reindex', 'replicas', 'restore', 'rollover', 'shrink', 'snapshot', 'unfreeze']")}
2022-07-11 06:16:59,471 DEBUG curator.validators.SchemaCheck __init__ :27 "action type" config: {'action': 'delete_indices', 'description': '\nDelete indices older than 180 days (based on index name), for logstash-\nprefixed indices. Ignore the error if the filter does not result in an\nactionable list of indices (ignore_empty_list) and If you want to change the retention Days then goto unit_count:180', 'options': {'ignore_empty_list': True, 'timeout_override': None, 'continue_if_exception': False, 'disable_action': False}, 'filters': [{'filtertype': 'age', 'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days', 'unit_count': 180}]}
2022-07-11 06:16:59,472 DEBUG curator.validators.SchemaCheck __init__ :26 Schema: {'action': Any(In(['alias', 'allocation', 'close', 'cluster_routing', 'create_index', 'delete_indices', 'delete_snapshots', 'forcemerge', 'freeze', 'index_settings', 'open', 'reindex', 'replicas', 'restore', 'rollover', 'shrink', 'snapshot', 'unfreeze']), msg="action must be one of ['alias', 'allocation', 'close', 'cluster_routing', 'create_index', 'delete_indices', 'delete_snapshots', 'forcemerge', 'freeze', 'index_settings', 'open', 'reindex', 'replicas', 'restore', 'rollover', 'shrink', 'snapshot', 'unfreeze']"), 'description': Any(<class 'str'>, <class 'str'>, msg=None), 'options': <class 'dict'>, 'filters': <class 'list'>}
2022-07-11 06:16:59,472 DEBUG curator.validators.SchemaCheck __init__ :27 "structure" config: {'action': 'delete_indices', 'description': '\nDelete indices older than 180 days (based on index name), for logstash-\nprefixed indices. Ignore the error if the filter does not result in an\nactionable list of indices (ignore_empty_list) and If you want to change the retention Days then goto unit_count:180', 'options': {'ignore_empty_list': True, 'timeout_override': None, 'continue_if_exception': False, 'disable_action': False}, 'filters': [{'filtertype': 'age', 'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days', 'unit_count': 180}]}
2022-07-11 06:16:59,474 DEBUG curator.validators.SchemaCheck __init__ :26 Schema: {'allow_ilm_indices': Any(<class 'bool'>, All(Any(<class 'str'>, msg=None), <function Boolean at 0x7ff6b38b1af0>, msg=None), msg=None), 'continue_if_exception': Any(<class 'bool'>, All(Any(<class 'str'>, msg=None), <function Boolean at 0x7ff6b389cee0>, msg=None), msg=None), 'disable_action': Any(<class 'bool'>, All(Any(<class 'str'>, msg=None), <function Boolean at 0x7ff6b389cdc0>, msg=None), msg=None), 'ignore_empty_list': Any(<class 'bool'>, All(Any(<class 'str'>, msg=None), <function Boolean at 0x7ff6b389cb80>, msg=None), msg=None), 'timeout_override': Any(Coerce(int, msg=None), None, msg=None)}
2022-07-11 06:16:59,474 DEBUG curator.validators.SchemaCheck __init__ :27 "options" config: {'ignore_empty_list': True, 'continue_if_exception': False, 'disable_action': False}
2022-07-11 06:16:59,474 DEBUG curator.validators.SchemaCheck __init__ :26 Schema: <function Filters.<locals>.f at 0x7ff6b38b15e0>
2022-07-11 06:16:59,474 DEBUG curator.validators.SchemaCheck __init__ :27 "filters" config: [{'filtertype': 'age', 'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days','unit_count': 180}]
2022-07-11 06:16:59,474 DEBUG curator.defaults.filtertypes age:55 AGE FILTER = [{'direction': Any('older', 'younger', msg=None)}, {'unit': Any('seconds', 'minutes', 'hours', 'days', 'weeks','months', 'years', msg=None)}, {'unit_count': Coerce(int, msg=None)}, {'unit_count_pattern': Any(<class 'str'>, msg=None)}, {'epoch': Any(Coerce(int, msg=None), None, msg=None)}, {'exclude': Any(<class 'bool'>, All(Any(<class 'str'>, msg=None), <function Boolean at 0x7ff6b38baa60>, msg=None), msg=None)}, {'source': Any('name', 'creation_date', 'field_stats', msg=None)}, {'stats_result': Any('min_value', 'max_value', msg=None)},{'timestring': Any(<class 'str'>, msg=None)}]
2022-07-11 06:16:59,475 DEBUG curator.validators.SchemaCheck __init__ :26 Schema: {'filtertype': Any(In(['age', 'alias', 'allocated', 'closed', 'count', 'empty', 'forcemerged', 'ilm', 'kibana', 'none', 'opened', 'pattern', 'period', 'shards', 'space', 'state']), msg="filtertype must be one of ['age', 'alias', 'allocated', 'closed', 'count', 'empty', 'forcemerged', 'ilm', 'kibana', 'none', 'opened', 'pattern','period', 'shards', 'space', 'state']"), 'direction': Any('older', 'younger', msg=None), 'unit': Any('seconds', 'minutes', 'hours', 'days', 'weeks', 'months', 'years', msg=None), 'unit_count': Coerce(int, msg=None),'unit_count_pattern': Any(<class 'str'>, msg=None), 'epoch': Any(Coerce(int, msg=None), None, msg=None), 'exclude': Any(<class 'bool'>, All(Any(<class 'str'>, msg=None), <function Boolean at 0x7ff6b38baa60>, msg=None), msg=None), 'source': Any('name', 'creation_date', 'field_stats', msg=None), 'stats_result': Any('min_value', 'max_value', msg=None), 'timestring': Any(<class 'str'>, msg=None)}
2022-07-11 06:16:59,475 DEBUG curator.validators.SchemaCheck __init__ :27 "filter" config: {'filtertype': 'age', 'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days', 'unit_count': 180}
2022-07-11 06:16:59,475 DEBUG curator.validators.filters f:48 Filter #0: {'filtertype': 'age', 'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days', 'unit_count': 180, 'exclude': False, 'stats_result': 'min_value', 'epoch': None}
2022-07-11 06:16:59,475 DEBUG curator.cli run:123 Full list of actions: {1: {'action': 'delete_indices', 'description': '\nDelete indices older than 180 days (based on index name),for logstash-\nprefixed indices. Ignore the error if the filter does not result in an\nactionable list of indices (ignore_empty_list) and If you want to change the retention Days then goto unit_count:180', 'options': {'ignore_empty_list': True, 'continue_if_exception': False, 'disable_action': False, 'timeout_override': None, 'allow_ilm_indices': False}, 'filters': [{'filtertype': 'age', 'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days', 'unit_count': 180, 'exclude': False, 'stats_result': 'min_value', 'epoch': None}]}}
2022-07-11 06:16:59,475 DEBUG curator.cli run:128 action_disabled = False
2022-07-11 06:16:59,475 DEBUG curator.cli run:131 continue_if_exception = False
2022-07-11 06:16:59,475 DEBUG curator.cli run:134 timeout_override = None
2022-07-11 06:16:59,476 DEBUG curator.cli run:136 ignore_empty_list = True
2022-07-11 06:16:59,476 DEBUG curator.cli run:138 allow_ilm_indices = False
2022-07-11 06:16:59,476 INFO curator.cli run:148 Preparing Action ID: 1, "delete_indices"
2022-07-11 06:16:59,476 INFO curator.cli run:162 Creating client object and testing connection
2022-07-11 06:16:59,476 DEBUG curator.utils get_client:809 kwargs = {'hosts': ['127.0.0.1'], 'port': 8157, 'use_ssl': False, 'ssl_no_validate': False, 'master_only': False, 'aws_secret_key': None, 'url_prefix': '', 'client_cert': None, 'certificate': None, 'aws_sign_request': False, 'http_auth': None, 'aws_token': None, 'aws_key': None, 'client_key': None, 'timeout': 30}
2022-07-11 06:16:59,476 DEBUG curator.utils get_client:871 Checking for AWS settings
2022-07-11 06:16:59,478 DEBUG curator.utils get_client:886 "requests_aws4auth" module present, but not used.
2022-07-11 06:16:59,478 INFO curator.utils get_client:903 Instantiating client object
2022-07-11 06:16:59,478 INFO curator.utils get_client:906 Testing client connectivity
2022-07-11 06:16:59,481 DEBUG urllib3.connectionpool _new_conn:204 Starting new HTTP connection (1): 127.0.0.1:8157
2022-07-11 06:16:59,483 DEBUG urllib3.connectionpool _new_conn:204 Starting new HTTP connection (2): 127.0.0.1:8157
2022-07-11 06:16:59,484 DEBUG urllib3.connectionpool _new_conn:204 Starting new HTTP connection (3): 127.0.0.1:8157
2022-07-11 06:16:59,485 DEBUG urllib3.connectionpool _new_conn:204 Starting new HTTP connection (4): 127.0.0.1:8157
2022-07-11 06:16:59,485 ERROR curator.utils get_client:915 HTTP N/A error: HTTPConnectionPool(host='127.0.0.1', port=8157): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff6b38550a0>: Failed to establish a new connection: [Errno 111] Connection refused'))
2022-07-11 06:16:59,485 CRITICAL curator.utils get_client:923 Curator cannot proceed. Exiting.
root@prod-logstash:/usr/local/bin#

```

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 11, 2022, 9:31am UTC](https://discuss.elastic.co/t/curator-is-not-working/309219/5 "2022-07-11T09:31:52Z")

</div>

If you are using a service managed by AWS there may be custom limitations imposed that could affect Curator. I am not familiar with this so will unfortunately not be able to help.

---

<div class="post-metadata">

**Author:** ![sandeepbisht](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@sandeepbisht](https://discuss.elastic.co/u/sandeepbisht)\
**Post date:** [July 11, 2022, 9:35am UTC](https://discuss.elastic.co/t/curator-is-not-working/309219/6 "2022-07-11T09:35:55Z")

</div>

okay  
NP

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 8, 2022, 9:36am UTC](https://discuss.elastic.co/t/curator-is-not-working/309219/7 "2022-08-08T09:36:15Z")

</div>

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