I spent a long time today trying to apply a new index template, to change the type of a field from a string to an integer. Then I used the GET Mapping API and saw this :
"response_time" : {
"type" : "integer"
},
I suspect there was no problem with Elasticsearch or Logstash in the first place, but for some reason Kibana still treats it as a string. I deleted all my old indices and index templates (the data wasn't important). I've changed other fields using a custom mapping and Kibana hasn't done this before. What could be causing this?
Thank you, this fixed it, although I had to create a new index pattern because there were no index patterns. I don't know why any logs were showing up at all, or why previously I haven't had to do this.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.