# Problem to create a new index patterns with kibana 5.3 graphique

**URL:** <https://discuss.elastic.co/t/problem-to-create-a-new-index-patterns-with-kibana-5-3-graphique/84434>\
**Category:** Kibana\
**Created:** [May 3, 2017, 3:33pm UTC](https://discuss.elastic.co/t/problem-to-create-a-new-index-patterns-with-kibana-5-3-graphique/84434 "2017-05-03T15:33:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Baco](https://avatars.discourse-cdn.com/v4/letter/b/94ad74/32.png) [@Baco](https://discuss.elastic.co/u/Baco)\
**Post date:** [May 3, 2017, 3:33pm UTC](https://discuss.elastic.co/t/problem-to-create-a-new-index-patterns-with-kibana-5-3-graphique/84434/1 "2017-05-03T15:33:54Z")

</div>

Could you help me to understand why with logstash-\* (the default index pattern) , I have the time-field name (@timestamp) and the possibility to create it. But if I use another name like test-\*, the time-field name become empty and I haven't the possibility to create it.

Thanks

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [May 3, 2017, 3:39pm UTC](https://discuss.elastic.co/t/problem-to-create-a-new-index-patterns-with-kibana-5-3-graphique/84434/2 "2017-05-03T15:39:06Z")

</div>

Do you have any field mapped as a date field in those indices?

---

<div class="post-metadata">

**Author:** ![Baco](https://avatars.discourse-cdn.com/v4/letter/b/94ad74/32.png) [@Baco](https://discuss.elastic.co/u/Baco)\
**Post date:** [May 4, 2017, 7:38am UTC](https://discuss.elastic.co/t/problem-to-create-a-new-index-patterns-with-kibana-5-3-graphique/84434/3 "2017-05-04T07:38:06Z")

</div>

Thanks you for your reply @Christian_Dahlqvist, I haven't any field for the time-field name . Only the @timestamp when I choose logstash-\* for the name to index pattern. But I want to choose another name than logstash and at this moment the time-field name become empty.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [May 4, 2017, 7:50am UTC](https://discuss.elastic.co/t/problem-to-create-a-new-index-patterns-with-kibana-5-3-graphique/84434/4 "2017-05-04T07:50:57Z")

</div>

If you have fields that should be mapped as timestamps, you may need to create an [index template](https://www.elastic.co/guide/en/elasticsearch/reference/5.3/indices-templates.html) for these other indices. Logstash comes with a [default index template](https://github.com/logstash-plugins/logstash-output-elasticsearch/blob/master/lib/logstash/outputs/elasticsearch/elasticsearch-template-es5x.json), but this only applies to indices whose names start with `logstash-`. You can however look at this and use it for inspiration when you create your template.

---

<div class="post-metadata">

**Author:** ![Baco](https://avatars.discourse-cdn.com/v4/letter/b/94ad74/32.png) [@Baco](https://discuss.elastic.co/u/Baco)\
**Post date:** [May 4, 2017, 8:55am UTC](https://discuss.elastic.co/t/problem-to-create-a-new-index-patterns-with-kibana-5-3-graphique/84434/5 "2017-05-04T08:55:05Z")

</div>

Thanks a lot @Christian_Dahlqvist

I understand now. So I will try to create a template for my new indice name before create my index pattern.

Cordialy

---

<div class="post-metadata">

**Author:** ![Baco](https://avatars.discourse-cdn.com/v4/letter/b/94ad74/32.png) [@Baco](https://discuss.elastic.co/u/Baco)\
**Post date:** [May 10, 2017, 9:17am UTC](https://discuss.elastic.co/t/problem-to-create-a-new-index-patterns-with-kibana-5-3-graphique/84434/6 "2017-05-10T09:17:32Z")

</div>

Hello @Christian_Dahlqvist

Please, How to create a Index template on command line for ElasticSearch? I read [index template](https://www.elastic.co/guide/en/elasticsearch/reference/5.3/indices-templates.html) and I write it on kibana Dev Tool, but It don't permit me to create an index pattern.

Thanks

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [May 11, 2017, 4:43am UTC](https://discuss.elastic.co/t/problem-to-create-a-new-index-patterns-with-kibana-5-3-graphique/84434/7 "2017-05-11T04:43:25Z")

</div>

You will need to create and upload an index template as described in the documentation I linked to. If it is not working for you, please show what you did. An index will be created once data is indexed into it, and this will cause the template to be applied. Once the index has been created with data in it you can create an index pattern in Kibana.

---

<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:** [June 8, 2017, 4:53am UTC](https://discuss.elastic.co/t/problem-to-create-a-new-index-patterns-with-kibana-5-3-graphique/84434/8 "2017-06-08T04:53:55Z")

</div>

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