# Create Kibana Index Pattern Dynamically

**URL:** https://discuss.elastic.co/t/create-kibana-index-pattern-dynamically/202611
**Category:** Logstash
**Created:** [October 8, 2019, 4:53am UTC](https://discuss.elastic.co/t/create-kibana-index-pattern-dynamically/202611 "2019-10-08T04:53:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![GokcerBelgusen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gokcerbelgusen/32/55517_2.png) [@GokcerBelgusen](https://discuss.elastic.co/u/GokcerBelgusen)
#### Post date: [October 8, 2019, 4:53am UTC](https://discuss.elastic.co/t/create-kibana-index-pattern-dynamically/202611/1 "2019-10-08T04:53:06Z")

</div>

Hi, is there a way of creating Kibana index pattern inside of Logstash ? For instance, you can create an index inside of Logstash while collecting data. After creating index, I also want to create Kibana index pattern automatically - without any manuel process

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [October 9, 2019, 8:18pm UTC](https://discuss.elastic.co/t/create-kibana-index-pattern-dynamically/202611/2 "2019-10-09T20:18:14Z")

</div>

If it is anything like the rest of the configuration an index pattern will just be a document, or a field on a document, in an index, which I would guess is called .kibana

You can add and modify documents using logstash, so you can reconfigure Kibana using logstash. That said, the structure of the configuration is not documented, so you need to reverse engineer it (which is probably quite easy). However, to say the least, the elastic team are not afraid of breaking changes, so don't be surprised if you have to tweak it when you upgrade.

I do not run Kibana, so I cannot help with the details.

---

<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: [November 6, 2019, 8:18pm UTC](https://discuss.elastic.co/t/create-kibana-index-pattern-dynamically/202611/3 "2019-11-06T20:18:19Z")

</div>

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