# How to check the index size on daily basis using python scripts?

**URL:** <https://discuss.elastic.co/t/how-to-check-the-index-size-on-daily-basis-using-python-scripts/325377>\
**Category:** Kibana\
**Created:** [February 13, 2023, 11:40am UTC](https://discuss.elastic.co/t/how-to-check-the-index-size-on-daily-basis-using-python-scripts/325377 "2023-02-13T11:40:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jisha](https://avatars.discourse-cdn.com/v4/letter/j/49beb7/32.png) [@jisha](https://discuss.elastic.co/u/jisha)\
**Post date:** [February 13, 2023, 11:40am UTC](https://discuss.elastic.co/t/how-to-check-the-index-size-on-daily-basis-using-python-scripts/325377/1 "2023-02-13T11:40:08Z")

</div>

Hi,  
Does anyone know how to check the index size on daily basis using python scripts?

---

<div class="post-metadata">

**Author:** ![jughosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jughosta/32/107160_2.png) [@jughosta](https://discuss.elastic.co/u/jughosta)\
**Post date:** [February 20, 2023, 9:48am UTC](https://discuss.elastic.co/t/how-to-check-the-index-size-on-daily-basis-using-python-scripts/325377/2 "2023-02-20T09:48:01Z")

</div>

Hi @jisha,

Please consider using Cat Indices API for Python client [API Documentation — Elasticsearch 8.0.0 documentation](https://elasticsearch-py.readthedocs.io/en/master/api.html#elasticsearch.client.CatClient.indices)

More info:

> **[cat indices API | Elasticsearch Guide \[master\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html)**

---

<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 20, 2023, 9:48am UTC](https://discuss.elastic.co/t/how-to-check-the-index-size-on-daily-basis-using-python-scripts/325377/3 "2023-03-20T09:48:38Z")

</div>

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