# Kibana Index configuration

**URL:** https://discuss.elastic.co/t/kibana-index-configuration/37663
**Category:** Kibana
**Created:** [December 21, 2015, 6:43am UTC](https://discuss.elastic.co/t/kibana-index-configuration/37663 "2015-12-21T06:43:28Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Santhosh\_Varala](https://avatars.discourse-cdn.com/v4/letter/s/d26b3c/32.png) [@Santhosh\_Varala](https://discuss.elastic.co/u/Santhosh_Varala)
#### Post date: [December 21, 2015, 6:43am UTC](https://discuss.elastic.co/t/kibana-index-configuration/37663/1 "2015-12-21T06:43:28Z")

</div>

All,

How can we configuration an index without using the Settings UI programmatically in Kibana? If there is way please let us know how it can be done.

I need a use case for which settings module is not exposed. so i need to configure the Index for Kibana to get data in discover.

Please some one help me out as soon as possible.

Thanks & Regards,  
Santhosh V

---

<div class="post-metadata">

### Author: ![Khalah\_Jones\_Golden](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/khalah_jones_golden/32/7169_2.png) [@Khalah\_Jones\_Golden](https://discuss.elastic.co/u/Khalah_Jones_Golden)
#### Post date: [December 21, 2015, 1:45pm UTC](https://discuss.elastic.co/t/kibana-index-configuration/37663/2 "2015-12-21T13:45:47Z")

</div>

Hey Santosh,

Hmm, the way kibana stores it's settings is via a .kibana index on your ES Cluster, if you take a look at those documents, perhaps it'll be clear to you then what you need to change.

Let me know if you need anymore assistance.

Peace,  
Khalah Jones Golden

---

<div class="post-metadata">

### Author: ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)
#### Post date: [December 22, 2015, 3:44pm UTC](https://discuss.elastic.co/t/kibana-index-configuration/37663/3 "2015-12-22T15:44:19Z")

</div>

I'm still a Kibana newbie but here's a trick I figured out;

1. Go into Kibana (I'm on latest version) and go to Settings tab.
2. You probably already have a logstash default index pattern, but click [+ Add New] in the top left corner.
3. Uncheck "Index contains time-based events"
4. type in ".kibana"
5. Click [Create]. You should see 5 fields.
6. Go to Discover tab
7. Top left corner switch from logstash-\* pattern to your .kibana pattern
8. I get 4 hits. One of those hits in my case had title: "logstash-\*"
9. click the arrow next to that one, and then click JSON link. I think that's the data you would have to write to the kibana index to create the logstash index programatically

Or, even easier;  
try this; [http://localhost:9200/.kibana/\_search](http://localhost:9200/.kibana/_search)  
or more specifically this; [http://localhost:9200/.kibana/\_search?q=title:logstash](http://localhost:9200/.kibana/_search?q=title:logstash)

Use Chrome browser with "JSON Formatter" extension for easy to read output.

---

<div class="post-metadata">

### Author: ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)
#### Post date: [December 22, 2015, 3:50pm UTC](https://discuss.elastic.co/t/kibana-index-configuration/37663/4 "2015-12-22T15:50:45Z")

</div>

Also, this is in the works but not out yet; [https://github.com/elastic/kibana/pull/5213](https://github.com/elastic/kibana/pull/5213) "Create an Index Pattern API"

You could follow that pull request and try it out.

---

<div class="post-metadata">

### Author: ![Ij888](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ij888/32/7362_2.png) [@Ij888](https://discuss.elastic.co/u/Ij888)
#### Post date: [May 26, 2016, 8:55pm UTC](https://discuss.elastic.co/t/kibana-index-configuration/37663/5 "2016-05-26T20:55:48Z")

</div>

Hi @LeeDr, @Khalah_Jones_Golden, thanks for your concise guide. Is it just me or have the [+ Add New] in the top left changed as i can't seem to find it in my Kibana installation in order to configure an index pattern. How else apart from setting it up in Kibana can I get an index pattern set up? Thanks in advance.

---

<div class="post-metadata">

### Author: ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)
#### Post date: [May 27, 2016, 1:11pm UTC](https://discuss.elastic.co/t/kibana-index-configuration/37663/6 "2016-05-27T13:11:16Z")

</div>

There's not really an "Add" or "New" button for creating a new index pattern. You just type the pattern in the "Index name or pattern" field on the Settings \> Indices tab. And depending if your "Index contains time-based events" enter the "Time-field name" and click "Create".

Regards,  
Lee

---

<div class="post-metadata">

### Author: ![Ij888](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ij888/32/7362_2.png) [@Ij888](https://discuss.elastic.co/u/Ij888)
#### Post date: [May 28, 2016, 8:36am UTC](https://discuss.elastic.co/t/kibana-index-configuration/37663/7 "2016-05-28T08:36:32Z")

</div>

thanks for the response @LeeDr, it still beats me. I must be doing something wrong.  
I follow the instructions but the "Create" button or link shows up not.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/f/f4c096ed157cd723ff3a5125d5cb59d325159f89.png)

---

<div class="post-metadata">

### Author: ![Ij888](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ij888/32/7362_2.png) [@Ij888](https://discuss.elastic.co/u/Ij888)
#### Post date: [May 28, 2016, 6:39pm UTC](https://discuss.elastic.co/t/kibana-index-configuration/37663/8 "2016-05-28T18:39:20Z")

</div>

#Solved

---

<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, 1:52pm UTC](https://discuss.elastic.co/t/kibana-index-configuration/37663/9 "2017-07-06T13:52:05Z")

</div>


