@timestamp field in document shows "@timestamp" : "Wed, 26 Sep 2018 11:55:41 GMT".
When I create an index pattern for this index and and choose Time Filter field name as @timestamp, with default type as date, Kibana discover does not show any result. How can I get it to work?
Can you check to see how the date was ingested in Elasticsearch?
Easiest way to do is to go in Dev Tools / Console in Kibana and run that default query from there, it should show you docs in ES.
Kibana discover shows data for this index with @timestamp type as date for the index pattern.
It seems like there is issue with the timestamp format used for the index temp-http but I can't figure it out.
All the data seems from 2018, based on that timestamp. On the top right of DIscover or visualization page there is a time picker which by default is set to "Last 15 minutes", hence Kibana will show no results. Change that to something that will fit your data(something like "Last 5 years") and this way you will see your documents.
All the data isn't from 2018. Changing the search time to 5 years didn't work.
The issue started on 11th December when I upgraded Elasticsearch and Kibana to 7.4.0 from 6.8.3. Index temp-http has been present since the beginning with the timestamp field format as "EEE, dd MMM YYYY HH:mm:ss z". But after the upgrade, it doesn't seem to work in Kibana discover.
On the other hand, I created index http-logs after the upgrade with timestamp field format as "MMM dd, yyyy HH:mm:ss.SSS" and it works. Not sure what got messed up.
But it gives "class java.lang.Integer cannot be cast to class java.lang.Long (java.lang.Integer and java.lang.Long are in module java.base of loader 'bootstrap')".
What should I change to make this work?
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.