I have one "date" field stored in one index correctly. I can verify it by issue command "curl -XGET 'http://localhost:9200/myindex'. However, in KIbana I always get wrong time value that is the original time + 8 hours.
For instance, I have one document with the date = 2016-01-26 11:18:10. In the Kibana, it shows as 2016-01-26 19:18:10.
Are the dates you're storing in UTC or some other time zone? Elasticsearch automatically converts dates into UTC, so if your dates are in a different timezone and you're not specifying that timezone alongside the date data, Elasticsearch is going to assume the date you're giving it is UTC. When reading that date, Kibana will assume the date is UTC and do the timezone conversion to GMT+8 which would explain why it's showing the original time + 8 hours
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.