# Curator-\>Error:Skipping action “delete\_indices” due to empty list!

**URL:** <https://discuss.elastic.co/t/curator-error-skipping-action-delete-indices-due-to-empty-list/169314>\
**Category:** Elasticsearch\
**Created:** [February 21, 2019, 1:29am UTC](https://discuss.elastic.co/t/curator-error-skipping-action-delete-indices-due-to-empty-list/169314 "2019-02-21T01:29:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![npalanis](https://avatars.discourse-cdn.com/v4/letter/n/e5b9ba/32.png) [@npalanis](https://discuss.elastic.co/u/npalanis)\
**Post date:** [February 21, 2019, 1:29am UTC](https://discuss.elastic.co/t/curator-error-skipping-action-delete-indices-due-to-empty-list/169314/1 "2019-02-21T01:29:14Z")

</div>

Hi,

i tried to do the same but receiving following error message:  
[elasticsearch@testelstd01 ~] ./opt/elasticsearch-curator/curator --dry-run .curator/delete-logstash-older-90-days.yml 2019-02-20 09:13:43,748 ERROR Schema error: extra keys not allowed @ data['disk-space'] 2019-02-20 09:13:43,749 ERROR Schema error: Configuration: filter: Location: Action ID "2", action "delete\_indices", filter #1: {'filtertype': 'space', 'disk-space': 80, 'use\_age': True, 'source': 'creation\_date'}: Bad Value: "80", extra keys not allowed @ data['disk-space']. Check configuration file. [elasticsearch@testelstd01 ~]

## My action file:

## actions:

1:  
action: delete\_indices  
description: \>-  
Delete indices older than 120 days  
options:  
ignore\_empty\_list: true  
filters:

- filtertype: pattern  
kind: prefix  
value: logstash-
- filtertype: age  
source: name  
direction: older  
timestring: '%Y.%m.%d'  
unit: days  
unit\_count: 120  
2:  
action: delete\_indices  
description: \>-  
Delete indices in excess of 80 gigabytes  
options:  
ignore\_empty\_list: true  
filters:
- filtertype: pattern  
kind: prefix  
value: logstash-
- filtertype: space  
disk-space: 80  
use\_age: true  
source: creation\_date

## curator.yml file:

client:  
hosts:

- testelstd01
- testelstd02
- testelstd03  
port: 9200  
url\_prefix:  
use\_ssl: True  
certificate: config/certs/ca.crt  
http\_auth: '\<User\_name\>:'  
timeout: 120  
master\_only: False

logging:  
loglevel: INFO  
logfile:  
logformat: default

blacklist: ['elasticsearch', 'urllib3']

## logstash.conf file:

output{

# stdout{codec =\> rubydebug}

elasticsearch{

# hosts =\> ["19.88.56.93","19.889.934.02"]

```auto
hosts => ["${ELASTICSEARCH1}","${ELASTICSEARCH2}","${ELASTICSEARCH3}"]
index => "logstash-ti-%{+YYYY.MM.dd}"
sniffing => true

```

}

}

Can you please explain me a bit more?  
Thanks.

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [February 21, 2019, 3:27am UTC](https://discuss.elastic.co/t/curator-error-skipping-action-delete-indices-due-to-empty-list/169314/2 "2019-02-21T03:27:40Z")

</div>

~~How was Curator installed?~~

Update: Found it.

> [@npalanis](#):
>
> ```auto
> disk-space: 80
> 
> ```

This should be [`disk_space`](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.6/fe_disk_space.html), with an underscore rather than a hyphen.

---

<div class="post-metadata">

**Author:** ![npalanis](https://avatars.discourse-cdn.com/v4/letter/n/e5b9ba/32.png) [@npalanis](https://discuss.elastic.co/u/npalanis)\
**Post date:** [February 25, 2019, 10:46am UTC](https://discuss.elastic.co/t/curator-error-skipping-action-delete-indices-due-to-empty-list/169314/3 "2019-02-25T10:46:55Z")

</div>

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:** [March 25, 2019, 10:46am UTC](https://discuss.elastic.co/t/curator-error-skipping-action-delete-indices-due-to-empty-list/169314/4 "2019-03-25T10:46:58Z")

</div>

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