Warning on data histogram when selected field does not match default time field in index pattern #80565
Labels
enhancement
New value added to drive a business result
Feature:Vis Editor
Visualization editor issues
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Consider the following scenario.
The default time field for the associated index pattern is set to another (custom) date field that is not
@timestamp
while the date histogram is referencing@timestamp
. The date picker for this visualization is set to Last 15m.With the mismatch in index pattern time field and the field selected for the date histogram. This resulted in a very large number of data points being returned (with many outside of the date picker Last 15m range - unintended behavior). When this visualization is added to a dashboard, the entire dashboard locks up for >1 hour on loading (the browser tab has to be terminated).
It will be helpful to show a warning (some form of validation) when a date histogram is configured with a time field that is not matching up with the default time field set against its index pattern.
The text was updated successfully, but these errors were encountered: