[Maps] term join metrics with same aggregation and field have name collision #63287
Labels
bug
Fixes for quality problems that affect the customer experience
[Deprecated-Use Team:Presentation]Team:Geo
Former Team Label for Geo Team. Now use Team:Presentation
https://discuss.elastic.co/t/multiple-term-join-in-elastic-maps/227550
Create a ES Documents source from kibana_sample_data_logs data set. Set
scaling
to top terms and split on machine.os. In the screen shot below, there are 2 configured terms join that use awhere clause
to create different results. One is looking for the avg bytes when bytes is greater than 10000 and the other is looking for avg bytes when bytes is less then 10000. Notice how both avg bytes metrics are the same. They should have different values.This is caused because the metrics from the separate terms joins are not name spaced. So both store their values in the same feature property key
__kbnjoin__avg_of_bytes_groupby_kibana_sample_data_logs.machine.os.keyword
. Metric key is created here - https://github.com/elastic/kibana/blob/7.7/x-pack/legacy/plugins/maps/public/layers/sources/es_term_source.js#L66Saved object
joins
configurationThe text was updated successfully, but these errors were encountered: