I am trying to create an index in Elasticsearch (via developer console of Kibana). The index looks like this:
PUT _template/example_index
{
"index_patterns": ["example_index*"],
"settings": {
"number_of_shards": 5,
"number_of_replicas": 1
},
"mappings": {
"track": {
"properties": {
"hash": {
"type": "keyword"
},
"time": {
"type": "date"
}
}
}
}
}
After that I put some data in Elasticsearch, and I create the index in Kibana via management -> index patterns -> create index; it will show the 'time' as a string field. It does not find any time fields at all.
The time in the added documents look like this: 1537185147182