# Curator system indices

**URL:** <https://discuss.elastic.co/t/curator-system-indices/130006>\
**Category:** Elasticsearch\
**Created:** [April 30, 2018, 9:46am UTC](https://discuss.elastic.co/t/curator-system-indices/130006 "2018-04-30T09:46:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![flochon](https://avatars.discourse-cdn.com/v4/letter/f/e19b73/32.png) [@flochon](https://discuss.elastic.co/u/flochon)\
**Post date:** [April 30, 2018, 9:46am UTC](https://discuss.elastic.co/t/curator-system-indices/130006/1 "2018-04-30T09:46:42Z")

</div>

Hello,

I use the curator for Elasticsearch and it runs properly for my indices.

I want add to this curator the possibility to delete system indices but I don't know how to make that.

Do you have some ideas ?

---

<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:** [April 30, 2018, 12:24pm UTC](https://discuss.elastic.co/t/curator-system-indices/130006/2 "2018-04-30T12:24:36Z")

</div>

Curator treats all system indices (with the possible exception of `.security`) as regular indices. You just have to include indices with prefix `.whatever`, e.g. `.monitoring-`

---

<div class="post-metadata">

**Author:** ![flochon](https://avatars.discourse-cdn.com/v4/letter/f/e19b73/32.png) [@flochon](https://discuss.elastic.co/u/flochon)\
**Post date:** [April 30, 2018, 12:38pm UTC](https://discuss.elastic.co/t/curator-system-indices/130006/3 "2018-04-30T12:38:34Z")

</div>

Ok thanks.  
And it's posible to presice 2 different pattern value in the same action.yml or it must create an action.yml for each value ?

Actually I have this one :

```auto
actions:
    1:
    action: delete_indices
    description: >-
        delete indices older than a week.
    options:
        ignore_empty_list: True
        disable_action: True
    filters:
    - filtertype: pattern
      kind: prefix
      value: filebeat-
    - filtertype: age
      source: name
      direction: older
      timestring: '%Y.%m.%d'
      unit: days
      unit_count: 7

```

---

<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:** [April 30, 2018, 12:50pm UTC](https://discuss.elastic.co/t/curator-system-indices/130006/4 "2018-04-30T12:50:49Z")

</div>

You can chain actions in sequence, [as it says in the docs](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.5/actionfile.html).

---

<div class="post-metadata">

**Author:** ![flochon](https://avatars.discourse-cdn.com/v4/letter/f/e19b73/32.png) [@flochon](https://discuss.elastic.co/u/flochon)\
**Post date:** [April 30, 2018, 12:54pm UTC](https://discuss.elastic.co/t/curator-system-indices/130006/5 "2018-04-30T12:54:24Z")

</div>

Thank you a lot.

---

<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:** [May 28, 2018, 12:54pm UTC](https://discuss.elastic.co/t/curator-system-indices/130006/6 "2018-05-28T12:54:38Z")

</div>

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