# Curator 8 not showing all indexes

**URL:** <https://discuss.elastic.co/t/curator-8-not-showing-all-indexes/327381>\
**Category:** Elasticsearch\
**Tags:** curator\
**Created:** [March 9, 2023, 4:21pm UTC](https://discuss.elastic.co/t/curator-8-not-showing-all-indexes/327381 "2023-03-09T16:21:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alon\_carmelly](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alon_carmelly/32/118670_2.png) [@alon\_carmelly](https://discuss.elastic.co/u/alon_carmelly)\
**Post date:** [March 9, 2023, 4:21pm UTC](https://discuss.elastic.co/t/curator-8-not-showing-all-indexes/327381/1 "2023-03-09T16:21:23Z")

</div>

I am usining : `pip install -U elasticsearch-curator` to get version 8  
ran: `curator --dry-run --config ./curator.yml ./delete_log_files_curator.yml`

action file 🙂

```auto
actions:
  1:
    action: delete_indices
    description: >-
      Delete indices. Find which to delete by first limiting the list to
      logstash- prefixed indices. Then further filter those to prevent deletion
      of anything less than the number of days specified by unit_count.
      Ignore the error if the filter does not result in an actionable list of
      indices (ignore_empty_list) and exit cleanly.
    options:
      ignore_empty_list: True
      disable_action: False
    filters:
    - filtertype: pattern
      kind: regex
      value: ^\..+
      exclude: true
    - filtertype: age
      source: creation_date
      direction: older
      unit: days
      unit_count: 90

```

I am missing a whole lot of indexes that are not picked up by curator  
Basiclly anything all indexes that start with `test` are not shown

here is the begining of the log:

```auto
`2023-03-09 15:57:50,052 INFO Preparing Action ID: 1, "delete_indices"
2023-03-09 15:57:50,053 INFO Creating client object and testing connection
2023-03-09 15:57:50,053 INFO Creating client object and testing connection
2023-03-09 15:57:50,061 INFO Trying Action ID: 1, "delete_indices": Delete indices. Find which to delete by first limiting the list to logstash- prefixed indices. Then further filter those to prevent deletion of anything less than the number of days specified by unit_count. Ignore the error if the filter does not result in an actionable list of indices (ignore_empty_list) and exit cleanly.
2023-03-09 15:57:50,335 INFO DRY-RUN MODE. No changes will be made.
2023-03-09 15:57:50,335 INFO (CLOSED) indices may be shown that may not be acted on by action "delete_indices".
2023-03-09 15:57:50,335 INFO DRY-RUN: delete_indices: int379-2-2022.49 with arguments: {}
2023-03-09 15:57:50,335 INFO DRY-RUN: delete_indices: int379-2-2022.50 with arguments: {}
2023-03-09 15:57:50,335 INFO DRY-RUN: delete_indices: int379-2-2022.51 with arguments: {}
2023-03-09 15:57:50,335 INFO DRY-RUN: delete_indices: int379-2-2022.52 with arguments: {}``

```

Have no idea why it wouldn't show me test\*\*\* indexs

---

<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:** [March 9, 2023, 7:55pm UTC](https://discuss.elastic.co/t/curator-8-not-showing-all-indexes/327381/2 "2023-03-09T19:55:00Z")

</div>

Just a guess here, but I don't see that you've allowed ILM affiliated indices here, and that might be what's missing. See [the documentation](https://www.elastic.co/guide/en/elasticsearch/client/curator/8.0/option_allow_ilm.html) for more info.

Also, if they are `test` indices, are you certain you have any that are older than 90 days by `creation_date`? If not, they wouldn't appear. You can always change the `unit_count` to a smaller number while continuing to use `--dry-run` to see if any are picked up.

---

<div class="post-metadata">

**Author:** ![alon\_carmelly](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alon_carmelly/32/118670_2.png) [@alon\_carmelly](https://discuss.elastic.co/u/alon_carmelly)\
**Post date:** [March 12, 2023, 12:17pm UTC](https://discuss.elastic.co/t/curator-8-not-showing-all-indexes/327381/3 "2023-03-12T12:17:07Z")

</div>

Thanks so much ! that was it !  
Also, thanks for bringing back curator for version 8 !!!

---

<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:** [April 9, 2023, 12:17pm UTC](https://discuss.elastic.co/t/curator-8-not-showing-all-indexes/327381/4 "2023-04-09T12:17:35Z")

</div>

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