Problem to create a new index patterns with kibana 5.3 graphique


#1

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


(Christian Dahlqvist) #2

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


#3

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.


(Christian Dahlqvist) #4

If you have fields that should be mapped as timestamps, you may need to create an index template for these other indices. Logstash comes with a default index template, 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.


#5

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


#6

Hello @Christian_Dahlqvist

Please, How to create a Index template on command line for ElasticSearch? I read index template and I write it on kibana Dev Tool, but It don't permit me to create an index pattern.

Thanks


(Christian Dahlqvist) #7

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.


(system) #8

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