Imagine I have the following data:
msg uid AB_test1 AB_test2
click 1 A A
reqst 2 B A
click 3 B B
reqst 4 A B
click 5 B A
reqst 6 B A
click 7 A A
reqst 8 A B
I want to do a stats query aggregating the results of my various AB tests for the "click" msg. I can do this:
msg="click" | stats count by AB_test1, AB_test2
But imagine I now have AB_test3 through AB_test10 or a variable number of tests running at once. I don't want to have to do this:
msg="click" | stats count by AB_test1, AB_test2, ... AB_test10
I'd like to do something similar to this:
msg="click" | stats count by AB_*
Is this possible, or is there some similar syntax that essentially groups data by an arbitrary set of fields?
... View more