# How can i create Index patterns in Kibana Automatically Every Day

**URL:** <https://discuss.elastic.co/t/how-can-i-create-index-patterns-in-kibana-automatically-every-day/227578>\
**Category:** Kibana\
**Created:** [April 11, 2020, 5:22am UTC](https://discuss.elastic.co/t/how-can-i-create-index-patterns-in-kibana-automatically-every-day/227578 "2020-04-11T05:22:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pacha\_Gopi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pacha_gopi/32/45627_2.png) [@Pacha\_Gopi](https://discuss.elastic.co/u/Pacha_Gopi)\
**Post date:** [April 11, 2020, 5:22am UTC](https://discuss.elastic.co/t/how-can-i-create-index-patterns-in-kibana-automatically-every-day/227578/1 "2020-04-11T05:22:56Z")

</div>

My indexes are created every day like xxx-yy-mm-dd, how can I create index patterns automatically without my involment .Because every day i have plenty indices from elastticsearch and i am manually creating all the index pattens in Kibana it is so much time consuming process.Can anyone helpme out of this how can i create Index patterns in Kibana automatically?

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [April 13, 2020, 5:26am UTC](https://discuss.elastic.co/t/how-can-i-create-index-patterns-in-kibana-automatically-every-day/227578/2 "2020-04-13T05:26:04Z")

</div>

Yes, if you are looking to _programatically_ create index patterns, the best approach at the moment is to modify the contents of the `.kibana` index directly via the Elasticsearch REST API. You can read a bit about the structure of the `.kibana` index here: [https://www.elastic.co/blog/kibana-under-the-hood-object-persistence](https://www.elastic.co/blog/kibana-under-the-hood-object-persistence)

**Fair Warning** : Modifying the `.kibana` index is, of course, not ideal because the index is meant to be an implementation detail of where Kibana stores its objects (index patterns, visualizations, etc.). It's possible the Kibana developers might change something about the structure/semantics of the documents in this index and that would break your script that's programmatically writing to this index.

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![Pacha\_Gopi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pacha_gopi/32/45627_2.png) [@Pacha\_Gopi](https://discuss.elastic.co/u/Pacha_Gopi)\
**Post date:** [April 14, 2020, 6:12am UTC](https://discuss.elastic.co/t/how-can-i-create-index-patterns-in-kibana-automatically-every-day/227578/3 "2020-04-14T06:12:10Z")

</div>

Thanks for responce It worked you saved me lot iot of time

---

<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:** [May 12, 2020, 6:12am UTC](https://discuss.elastic.co/t/how-can-i-create-index-patterns-in-kibana-automatically-every-day/227578/4 "2020-05-12T06:12:19Z")

</div>

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