# Curator not able to delete indices

**URL:** <https://discuss.elastic.co/t/curator-not-able-to-delete-indices/210505>\
**Category:** Elasticsearch\
**Created:** [December 4, 2019, 10:30am UTC](https://discuss.elastic.co/t/curator-not-able-to-delete-indices/210505 "2019-12-04T10:30:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prawin84](https://avatars.discourse-cdn.com/v4/letter/p/d2c977/32.png) [@prawin84](https://discuss.elastic.co/u/prawin84)\
**Post date:** [December 4, 2019, 10:30am UTC](https://discuss.elastic.co/t/curator-not-able-to-delete-indices/210505/1 "2019-12-04T10:30:53Z")

</div>

Hi Team,

I have a kubernetes cluster environment running with multiple pods. configured EFK in k8 to get the logs. I can able to see the logs in kibana dashboard but the curator is not deleting the indices from elastic search pods. Near the hosts' field, I provided the pod name. curator is deployed in default namespace and EFK was deployed in a different namespace. does it should be in same namespace?

apiVersion: v1  
kind: ConfigMap  
metadata:  
name: curator-config  
data:  
action\_file.yml: |-  
---  
# Remember, leave a key empty if there is no value. None will be a string,  
# not a Python "NoneType"  
#  
# Also remember that all examples have 'disable\_action' set to True. If you  
# want to use this action as a template, be sure to set this to False after  
# copying it.  
actions:  
1:  
action: delete\_indices  
description: "Clean up ES by deleting old indices"  
options:  
timeout\_override:  
continue\_if\_exception: False  
disable\_action: False  
filters:  
- filtertype: age  
source: name  
direction: older  
timestring: '%Y.%m.%d'  
unit: days  
unit\_count: 1  
field:  
stats\_result:  
epoch:  
exclude: False  
config.yml: |-  
---  
# Remember, leave a key empty if there is no value. None will be a string,  
# not a Python "NoneType"  
client:  
hosts:  
- elasticsearch  
port: 9200  
url\_prefix:  
use\_ssl: False  
certificate:  
client\_cert:  
client\_key:  
ssl\_no\_validate: False  
http\_auth:  
timeout: 30  
master\_only: False  
logging:  
loglevel: INFO  
logfile:  
logformat: default  
blacklist: ['elasticsearch', 'urllib3']

---

<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:** [January 1, 2020, 10:31am UTC](https://discuss.elastic.co/t/curator-not-able-to-delete-indices/210505/2 "2020-01-01T10:31:00Z")

</div>

Closed on January 1, 2020, 10:31am UTC

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