# Elastic search Indexes

**URL:** <https://discuss.elastic.co/t/elastic-search-indexes/121648>\
**Category:** Elasticsearch\
**Created:** [February 27, 2018, 11:57am UTC](https://discuss.elastic.co/t/elastic-search-indexes/121648 "2018-02-27T11:57:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manjunatha\_Reddy](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Manjunatha\_Reddy](https://discuss.elastic.co/u/Manjunatha_Reddy)\
**Post date:** [February 27, 2018, 11:57am UTC](https://discuss.elastic.co/t/elastic-search-indexes/121648/1 "2018-02-27T11:57:06Z")

</div>

Hi Team,

I am new to elastic search and ELK configuration. By following the documentation i was able to configure the ELK. I am pushing my application logs to Elastic search and the view the data in Kibana.

Now i wanted to understand the best practices to follow for this to be deployed for real time applications. I wanted to put my log information from Cluster of nodes to the Elastic search and over a period of time my application log information is going to increase drastically.

I am looking at what are the best practices to create an index so that i should be able to delete 1 month old data from elastic search index. I dont want to delete the whole index only part of the data in that needs to be deleted.

Regards  
Manju

---

<div class="post-metadata">

**Author:** ![A\_B](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_b/32/17104_2.png) [@A\_B](https://discuss.elastic.co/u/A_B)\
**Post date:** [February 27, 2018, 12:14pm UTC](https://discuss.elastic.co/t/elastic-search-indexes/121648/2 "2018-02-27T12:14:32Z")

</div>

I would say daily indices. I have Logstash creating a new Elasticsearch index everyday and then I can set a "retention period" with [Curator](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/about.html) to delete indices older than a certain amount of days.

---

<div class="post-metadata">

**Author:** ![Manjunatha\_Reddy](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Manjunatha\_Reddy](https://discuss.elastic.co/u/Manjunatha_Reddy)\
**Post date:** [February 27, 2018, 12:28pm UTC](https://discuss.elastic.co/t/elastic-search-indexes/121648/3 "2018-02-27T12:28:59Z")

</div>

Thanks for your reply. Do you have any configuration or documentation which explains me to create daily indices automatically.

---

<div class="post-metadata">

**Author:** ![A\_B](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_b/32/17104_2.png) [@A\_B](https://discuss.elastic.co/u/A_B)\
**Post date:** [February 27, 2018, 2:32pm UTC](https://discuss.elastic.co/t/elastic-search-indexes/121648/4 "2018-02-27T14:32:18Z")

</div>

It's the default for Elasticsearch output in Logstash

[https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html#plugins-outputs-elasticsearch-index](https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html#plugins-outputs-elasticsearch-index)

---

<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 27, 2018, 2:32pm UTC](https://discuss.elastic.co/t/elastic-search-indexes/121648/5 "2018-03-27T14:32:40Z")

</div>

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