Kibana field is date, not string


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


The created index and the index used to insert the data had a different name. Thus elasticsearch uses the dynamic way, and creates it how it likes.

Changing the index name fixed this.

(kulkarni) #3

Glad that you reported back the solution that worked for you.


(system) #4

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