# Curator Space filter not working correctly on small indexes

**URL:** <https://discuss.elastic.co/t/curator-space-filter-not-working-correctly-on-small-indexes/290370>\
**Category:** Elasticsearch\
**Tags:** curator\
**Created:** [November 28, 2021, 4:52pm UTC](https://discuss.elastic.co/t/curator-space-filter-not-working-correctly-on-small-indexes/290370 "2021-11-28T16:52:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Greg12](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/greg12/32/97703_2.png) [@Greg12](https://discuss.elastic.co/u/Greg12)\
**Post date:** [November 28, 2021, 4:52pm UTC](https://discuss.elastic.co/t/curator-space-filter-not-working-correctly-on-small-indexes/290370/1 "2021-11-28T16:52:39Z")

</div>

I am trying to avoid reindexing larger indexes but the curator space filter seems to not see the space properly.

I think it may have issues with indexes that are less than 1GB. What calls does curator make to get index sizes?

Here is an example filter

```
filters:

```

```auto
    - filtertype: age
      source: name
      direction: older
      timestring: '%Y.%m.%d'
      unit: days
      unit_count: 24
    - filtertype: space
      disk_space: 1
      threshold_behavior: less_than

```

---

<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:** [November 28, 2021, 5:55pm UTC](https://discuss.elastic.co/t/curator-space-filter-not-working-correctly-on-small-indexes/290370/2 "2021-11-28T17:55:49Z")

</div>

If you set `log_level` to `DEBUG` you will see all of the math that Curator uses for each index. It's quite verbose, but you'd be able to see exactly what Curator is measuring for that comparison.

It will help to see what is exposed by that output.

---

<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:** [December 26, 2021, 5:56pm UTC](https://discuss.elastic.co/t/curator-space-filter-not-working-correctly-on-small-indexes/290370/3 "2021-12-26T17:56:19Z")

</div>

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