[Lens] Field existence doesn't work on epoch_millis dates #119445
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Lens
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Kibana version: 7.15
Describe the bug: Similar to #119444, field existence fails if
epoch_millis
dates are used for the default time field of the index patternSteps to reproduce:
Any additional context:
This is happening because the filter building logic is not setting the "format": "strict_date_optional_time" property of the range filter.
Right now the only workaround is to only use time shift with strict_date_time dates.
kibana/x-pack/plugins/lens/server/routes/existing_fields.ts
Line 186 in 1ac885e
#119444
The text was updated successfully, but these errors were encountered: