Kibana version: 6.x (currently 6.4) and master (currently 7.0)
Elasticsearch version: 6.x (currently 6.4) and master (currently 7.0)
Server OS version: Ubuntu 18.04
Browser version: Firefox latest, Chromium latest
Browser OS version: Ubuntu 18.04
Original install method (e.g. download page, yum, from source, etc.): Download archives from staging
Describe the bug:
When selecting an index pattern for an index with a date field of format epoch_millis, an error message is shown and no data is loaded (see screenshot of error message below).
Steps to reproduce:
- Create two indices as follows (only difference: first one with
time_format explicitely set to epoch_millis and second one with automatic time_format):
PUT test_epochmilli_1
{
"settings" : {
"number_of_shards" : 1,
"number_of_replicas" : 0
},
"mappings": {
"doc": {
"properties": {
"@timestamp": {
"type": "date",
"format": "epoch_millis"
},
"name": {
"type": "keyword"
}
}
}
}
}
PUT test_epochmilli_2
{
"settings" : {
"number_of_shards" : 1,
"number_of_replicas" : 0
},
"mappings": {
"doc": {
"properties": {
"@timestamp": {
"type": "date"
},
"name": {
"type": "keyword"
}
}
}
}
}
- Create the same document with epoch millisecond date in both indices:
PUT test_epochmilli_1/doc/1
{
"@timestamp": 1477954800000,
"name": "some_name"
}
PUT test_epochmilli_2/doc/1
{
"@timestamp": 1477954800000,
"name": "some_name"
}
- Create two corresponding index patterns:
test_epochmilli_1 and test_epochmilli_2 (with time field @timestamp)
- Open
test_epochmilli_2 in Discover (or render a data histogram in Visualize)
- Open
test_epochmilli_1 in Discover (or render a data histogram in Visualize)
- => An error message is shown
Expected behavior:
test_epochmilli_1 should work like test_epochmilli_2
Screenshots (if relevant):

Any additional context:
- In version 6.3.0-bc11 this error didn't occur
- Searching the index works fine (via
GET test_epochmilli_1/_search)
Kibana version: 6.x (currently 6.4) and master (currently 7.0)
Elasticsearch version: 6.x (currently 6.4) and master (currently 7.0)
Server OS version: Ubuntu 18.04
Browser version: Firefox latest, Chromium latest
Browser OS version: Ubuntu 18.04
Original install method (e.g. download page, yum, from source, etc.): Download archives from staging
Describe the bug:
When selecting an index pattern for an index with a date field of format
epoch_millis, an error message is shown and no data is loaded (see screenshot of error message below).Steps to reproduce:
time_formatexplicitely set toepoch_millisand second one with automatictime_format):test_epochmilli_1andtest_epochmilli_2(with time field@timestamp)test_epochmilli_2inDiscover(or render a data histogram inVisualize)test_epochmilli_1inDiscover(or render a data histogram inVisualize)Expected behavior:
test_epochmilli_1should work liketest_epochmilli_2Screenshots (if relevant):

Any additional context:
GET test_epochmilli_1/_search)