# Elasticsearch Log Files

**URL:** <https://discuss.elastic.co/t/elasticsearch-log-files/238015>\
**Category:** Elasticsearch\
**Created:** [June 22, 2020, 6:54am UTC](https://discuss.elastic.co/t/elasticsearch-log-files/238015 "2020-06-22T06:54:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DawitCh](https://avatars.discourse-cdn.com/v4/letter/d/22d042/32.png) [@DawitCh](https://discuss.elastic.co/u/DawitCh)\
**Post date:** [June 22, 2020, 6:54am UTC](https://discuss.elastic.co/t/elasticsearch-log-files/238015/1 "2020-06-22T06:54:33Z")

</div>

I have a custom path to store Elasticsearch log files (around 5 GB). It already full and I don't know how to clear it automatically. For the data, I already set ILM so it never reaches 60%. I don't know is it has log retention by default or not.

---

<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:** [July 20, 2020, 7:05am UTC](https://discuss.elastic.co/t/elasticsearch-log-files/238015/2 "2020-07-20T07:05:08Z")

</div>

Closed on July 20, 2020, 7:05am UTC

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