HI All,
Im have a search and its working great for calculating averages based on the domain, the problem is that I would like to group the google.com's together. I thought I could do it with the eval command but it doesnt seem to be working for me
search
index=collaboration tag::host=inbound [search index=collaboration tag::host=inbound
[email protected] | fields simta_id] | transaction simta_id | stats avg(duration) as "Average Duration" by domain_name
output looks like this
adsroot.itcs.umich.edu 31.538462
med.umich.edu 35.000000
mail-ig0-f173.google.com 61.000000
mail-ig0-f175.google.com 36.000000
mail-oi0-f47.google.com 36.000000
mail-qa0-f44.google.com 36.000000
mail-vc0-f178.google.com 36.000000
mail-wg0-f49.google.com 36.000000
mail-wi0-f178.google.com 37.000000
mail-yh0-f51.google.com 34.000000
mail-yk0-f170.google.com 36.000000
thanks all
... View more