[Lens] Time shift doesn't work on epoch_millis dates #119444
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Lens
impact:high
Addressing this issue will have a high 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: Time shift fails if some documents in the index are using epoch_millis dates
Steps to reproduce:
Any additional context:
https://discuss.elastic.co/t/error-when-using-lens-with-time-shift/289802/3
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.The text was updated successfully, but these errors were encountered: