Here is the search I'm using:
index="_internal" source="*metrics.log" per_host_thruput series NOT splunk | eval kb = round(kb,0) | stats sum(kb) by series | sort sum(kb) desc | rex field=series "(?<series>.*).domain"
I'd like the column labeled sum(kb) to be comma separated, but the couple ways I've tried will not work because it's viewed as summing.
Try this:
index="_internal" source="*metrics.log" per_host_thruput series NOT splunk | eval kb = round(kb,0) | stats sum(kb) as kbSum by series | sort kbSum desc | fieldformat kbSum=tostring(kbSum, "commas") | rex field=series "(?<series>.*).domain"
Try this:
index="_internal" source="*metrics.log" per_host_thruput series NOT splunk | eval kb = round(kb,0) | stats sum(kb) as kbSum by series | sort kbSum desc | fieldformat kbSum=tostring(kbSum, "commas") | rex field=series "(?<series>.*).domain"
Thank you Rich! That worked perfectly.
You're welcome. Please accept the answer.