# Automatic index creation

**URL:** <https://discuss.elastic.co/t/automatic-index-creation/21798>\
**Category:** Elasticsearch\
**Created:** [January 23, 2015, 1:18pm UTC](https://discuss.elastic.co/t/automatic-index-creation/21798 "2015-01-23T13:18:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhimanyu\_Nagrath](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhimanyu_nagrath/32/48724_2.png) [@Abhimanyu\_Nagrath](https://discuss.elastic.co/u/Abhimanyu_Nagrath)\
**Post date:** [January 23, 2015, 1:18pm UTC](https://discuss.elastic.co/t/automatic-index-creation/21798/1 "2015-01-23T13:18:22Z")

</div>

hi ,I am new to elastic search and I want to know can I create indexes  
automatically based on time .is there a feature in elasitc search that  
supports this. For example i want to create a index after 4 hour  
automatically does elastic search support this?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/d91afc72-1c1d-4885-a98c-923ae808c4be%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d91afc72-1c1d-4885-a98c-923ae808c4be%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 23, 2015, 10:24pm UTC](https://discuss.elastic.co/t/automatic-index-creation/21798/2 "2015-01-23T22:24:03Z")

</div>

By default ES will create an index automatically if it doesn't exist, so  
just get your code to send to a new index every N hours and you should be  
good.

On 24 January 2015 at 00:18, Abhimanyu Nagrath [abhimanyunagrath@gmail.com](mailto:abhimanyunagrath@gmail.com)  
wrote:

> hi ,I am new to Elasticsearch and I want to know can I create indexes  
> automatically based on time .is there a feature in elasitc search that  
> supports this. For example i want to create a index after 4 hour  
> automatically does Elasticsearch support this?
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/d91afc72-1c1d-4885-a98c-923ae808c4be%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d91afc72-1c1d-4885-a98c-923ae808c4be%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/d91afc72-1c1d-4885-a98c-923ae808c4be%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/d91afc72-1c1d-4885-a98c-923ae808c4be%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X\_4P%2B6UQ9p35kXW07bYH4hbEV2pPK57nBh1j93xtfpkBw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X_4P%2B6UQ9p35kXW07bYH4hbEV2pPK57nBh1j93xtfpkBw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:36am UTC](https://discuss.elastic.co/t/automatic-index-creation/21798/3 "2017-07-06T00:36:54Z")

</div>


