I have 2 buckets aggregration for different time interval. i get metrics from different data sources and i get the unique count of metrics i get from different data source. Example
my individual bucket aggregation looks like this
Bucket 1 (Timestamp: yesterday)
{data source1} {unique count 1}
{data source 2} {unique count 2}
{data source n} {unique count n}
Bucket 2 (Timestamp: today)
{data source1} {unique count 1}
{data source 2} {unique count 2}
{data source n} {unique count n}
I want to find the delta of unique counts between each data-source across the 2 buckets and plot the delta against the data source. How could i achieve it. ?