Combining Metric


is it possible to combine metrics in a widget? What I want to do is to count unique ip addresses in a stream. In a widget, I can use either card(dst_ip) or count(dst_ip) / sum(), but what I really need is:
count(card(dst_ip)) .
Something close to this is already possible: If I do card() and choose a stacked Bar Chart, I get the value I need, but most of the time, the browser will collapse :slight_smile:

Even better would be a solution to combine two fields before like ‘union’ in SQL:
count(card(union(src_ip, dst_ip)))



If you have two fields one called dstip and the other with called srcip. Yes they can be on the same Widget.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.