# Unable to Configure an index pattern

**URL:** https://discuss.elastic.co/t/unable-to-configure-an-index-pattern/25017
**Category:** Kibana
**Created:** [July 7, 2015, 7:19am UTC](https://discuss.elastic.co/t/unable-to-configure-an-index-pattern/25017 "2015-07-07T07:19:54Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Ashok](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@Ashok](https://discuss.elastic.co/u/Ashok)
#### Post date: [July 7, 2015, 7:19am UTC](https://discuss.elastic.co/t/unable-to-configure-an-index-pattern/25017/1 "2015-07-07T07:19:54Z")

</div>

Hi,

I am trying to Configure an index pattern in kibana.But as shown in screen shot unable to enter timestamp in text filed and my set up is done in windows

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

---

<div class="post-metadata">

### Author: ![taus\_alti](https://avatars.discourse-cdn.com/v4/letter/t/f17d59/32.png) [@taus\_alti](https://discuss.elastic.co/u/taus_alti)
#### Post date: [July 7, 2015, 11:23am UTC](https://discuss.elastic.co/t/unable-to-configure-an-index-pattern/25017/2 "2015-07-07T11:23:01Z")

</div>

Your index needs to have a field representing DateTime(example created\_date). Without this ES will not allow you to add any index.

---

<div class="post-metadata">

### Author: ![Ashok](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@Ashok](https://discuss.elastic.co/u/Ashok)
#### Post date: [July 7, 2015, 11:31am UTC](https://discuss.elastic.co/t/unable-to-configure-an-index-pattern/25017/3 "2015-07-07T11:31:03Z")

</div>

@taus_alti Thanks  
Actually i am new to elasticsearch.How can i add index data without cURL?

---

<div class="post-metadata">

### Author: ![Ashok](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@Ashok](https://discuss.elastic.co/u/Ashok)
#### Post date: [July 7, 2015, 11:37am UTC](https://discuss.elastic.co/t/unable-to-configure-an-index-pattern/25017/4 "2015-07-07T11:37:54Z")

</div>

How can I have logstash indices? If I go to [http://localhost:9200/\_cat/indices](http://localhost:9200/_cat/indices) I have the following result:  
health status index pri rep docs.count docs.deleted store.size pri.store.size  
yellow open logstash 1 1 1 0 2.4kb 2.4kb  
yellow open .kibana 1 1 1 0 2.4kb 2.4kb  
yellow open logstash- 1 1 1 0 2.4kb 2.4kb

---

<div class="post-metadata">

### Author: ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)
#### Post date: [July 7, 2015, 1:05pm UTC](https://discuss.elastic.co/t/unable-to-configure-an-index-pattern/25017/5 "2015-07-07T13:05:16Z")

</div>

Actually, @taus_alti you can unckeck that top checkbox "Index contains time-based event" and index data w/o timestamps just as well.

@Ashok Looks like you already discovered Logstash, which is the way to go. Your Logstash index names look a little odd -- if you use the default index template, you should have series of indices that look like:  
`
yellow open logstash-2014.10.11 5 1 12130 0 10mb 10mb
yellow open logstash-2014.10.12 5 1 18390 0 10.8mb 10.8mb
yellow open logstash-2014.10.10 5 1 10243 0 9.2mb 9.2mb
`  
This way you can add them using **logstash-** \* or **[logstash-]YYYY.MM.DD** index patterns and @timestamp will be your time field.

---

<div class="post-metadata">

### Author: ![Ashok](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@Ashok](https://discuss.elastic.co/u/Ashok)
#### Post date: [July 8, 2015, 5:48am UTC](https://discuss.elastic.co/t/unable-to-configure-an-index-pattern/25017/6 "2015-07-08T05:48:23Z")

</div>

Thanks @tbragin.  
If I go to [http://localhost:9200/\_cat/indices](http://localhost:9200/_cat/indices) I have the following result after adding indices with timestamp.

yellow open logstash 1 1 1 0 2.4kb 2.4kb  
yellow open .kibana 1 1 1 0 2.4kb 2.4kb  
yellow open logstash-2013.10.20 1 1 1 0 2.4kb 2.4kb

Is it need to give this index name (logstash-2013.10.20) in .conf file? because i don't have any time field in kibana.And the index showing 2.4 kb only in above.But my log file have 10MB.

---

<div class="post-metadata">

### Author: ![Ashok](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@Ashok](https://discuss.elastic.co/u/Ashok)
#### Post date: [July 8, 2015, 6:06am UTC](https://discuss.elastic.co/t/unable-to-configure-an-index-pattern/25017/7 "2015-07-08T06:06:43Z")

</div>

And my conf file as shown below. Is it correct?  
input { file {  
type =\> "txt"  
path =\> "D:/LOGS/pic.txt"  
start\_position =\> "beginning"

} }

output {  
elasticsearch { host =\> localhost  
embedded =\> true  
index =\> "logstash-2013.10.20"

}  
stdout { codec =\> rubydebug }

}

---

<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, 2:16pm UTC](https://discuss.elastic.co/t/unable-to-configure-an-index-pattern/25017/8 "2017-07-06T14:16:54Z")

</div>


