# Add index to kibana in commandline

**URL:** <https://discuss.elastic.co/t/add-index-to-kibana-in-commandline/95734>\
**Category:** Kibana\
**Created:** [August 3, 2017, 3:00pm UTC](https://discuss.elastic.co/t/add-index-to-kibana-in-commandline/95734 "2017-08-03T15:00:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benjamin\_Peere](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Benjamin\_Peere](https://discuss.elastic.co/u/Benjamin_Peere)\
**Post date:** [August 3, 2017, 3:00pm UTC](https://discuss.elastic.co/t/add-index-to-kibana-in-commandline/95734/1 "2017-08-03T15:00:16Z")

</div>

hi everyone,  
i wanted to know if it was possible to automatically add an index in kibana without using this page :

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/5/a5bc20a75d11658b9ec55d064d55d5846769aaec.png)  
but with a curl request, or something else, i just want to automatize the process when i create my index .

thanks!

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [August 3, 2017, 3:22pm UTC](https://discuss.elastic.co/t/add-index-to-kibana-in-commandline/95734/2 "2017-08-03T15:22:46Z")

</div>

@Benjamin_Peere an API was added in 5.5 that allows you to import/export Dashboards and all of their associated index-patterns/searches/visualizations there's a potential you could use that to create the index-pattern indirectly [https://github.com/elastic/kibana/pull/10858](https://github.com/elastic/kibana/pull/10858)

---

<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:** [August 31, 2017, 3:22pm UTC](https://discuss.elastic.co/t/add-index-to-kibana-in-commandline/95734/3 "2017-08-31T15:22:53Z")

</div>

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