# Automatically creating index in Kibana5

**URL:** https://discuss.elastic.co/t/automatically-creating-index-in-kibana5/70920
**Category:** Kibana
**Created:** [January 9, 2017, 6:48am UTC](https://discuss.elastic.co/t/automatically-creating-index-in-kibana5/70920 "2017-01-09T06:48:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mgz](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@mgz](https://discuss.elastic.co/u/mgz)
#### Post date: [January 9, 2017, 6:48am UTC](https://discuss.elastic.co/t/automatically-creating-index-in-kibana5/70920/1 "2017-01-09T06:48:23Z")

</div>

Is there a way to create index in Kibana 5 automatically? Currently it's manual process to create index in Kibana. Does Kibana have any API to allow creating index automatically?

---

<div class="post-metadata">

### Author: ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)
#### Post date: [January 9, 2017, 5:24pm UTC](https://discuss.elastic.co/t/automatically-creating-index-in-kibana5/70920/2 "2017-01-09T17:24:03Z")

</div>

Kibana doesn't have an API or a way to do it automatically currently. The code that sets things up is [here](https://github.com/elastic/kibana/blob/master/src/core_plugins/kibana/public/management/sections/indices/_create.js#L56)

Kibana pulls down fields in the index pattern from elasticsearch, and then creates a new document at `/.kibana/index-pattern`.

---

<div class="post-metadata">

### Author: ![mgz](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@mgz](https://discuss.elastic.co/u/mgz)
#### Post date: [January 10, 2017, 12:00am UTC](https://discuss.elastic.co/t/automatically-creating-index-in-kibana5/70920/3 "2017-01-10T00:00:06Z")

</div>

Thanks jbudz for your reply. I hope Kibana team could create a web service API to allow creating index automatically.

---

<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: [February 7, 2017, 12:00am UTC](https://discuss.elastic.co/t/automatically-creating-index-in-kibana5/70920/4 "2017-02-07T00:00:12Z")

</div>

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