OpenSearch-Dashboards
OpenSearch-Dashboards copied to clipboard
[BUG] No data to display message due to missing data points
ES query was optimized in a way to filter the buckets with null values and this has caused the missing data points from different resources resulting in No Data To Display.
In the series aggregation plugin basic sum function, we are trying to access the missing element in-between which breaks the loop, and data is not returned.
Input series we get: [
[ [ T1 , 1 ] , [ T2 , 0 ] , [ T3 , 1 ] ] ,
[ [ T1 , 1 ], [ T2 , 1 ] , [ T3 , 0 ] , [ T4 , 5 ] ] ,
[ [ T1 , 0 ] , [ T3 , 1 ] , [ T4 , 0 ] ] ,
]
Expected Series:
[
[ [ T1 , 1 ] , [ T2 , 0 ] , [ T3 , 1 ] , [ T4 , 0 ] ] ,
[ [ T1 , 0 ] , [ T2 , 1 ] , [ T3 , 0 ] , [ T4 , 5 ] ] ,
[ [ T1 , 0 ] , [ T2 , 0 ] , [ T3 , 1 ] , [ T4 , 0 ] ] ,
]
So that above is in the expected form, the OpenSearch plugin takes each index data, performs the sum, and returns the total aggregated data.
Now we have added a fix in a way to fill the missing data points with empty values.
Can you please validate this approach / fix the issue?
@MonishaSukumar , thanks for contacting us. We will take a look and get back to you.
BTW, could you please add more information about repro steps as well ? Could you provide a screenshot with an example and what you are seeking?
Thanks