Using ES6.4.0; Discover works fine with this index, which has a @timestamp field, which Kibana shows as
September 4th 2018, 15:41:08.309
So why would View Surrounding Documents not be able to parse the date?
BTW the mapping for @timestamp is this:
"@timestamp": {
"type": "date",
"format": "dateOptionalTime"
}
Unable to load documents
Request to Elasticsearch failed: {"error":{"root_cause":[{"type":"parse_exception","reason":"failed to parse date field 1535985668309 with format dateOptionalTime"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"can_match","grouped":true,"failed_shards":[{"shard":0,"index":"logstash6-2018.01","node":"EDi1wHveRX-MVAQVKm1K4g","reason":{"type":"parse_exception","reason":"failed to parse date field 1535985668309 with format dateOptionalTime","caused_by":{"type":"illegal_argument_exception","reason":"Unrecognized chars at the end of 1535985668309: 8309"}}}]},"status":400}