Hello all,
I have an event that looks similar to the following:
field_A="US", field_B="true", field_C="AB/CD,XYZ, <>DD,CT", field_D= "60"
I am trying to get the count occurrence of field_C during the past 3 months by using below query:
field_A="US", field_B="true" | stats count as ruleFired by field_C
It works fine for all the other values that don't have comma "," in field_C.
but if there is any comma in field_C the count doesn't calculated correctly.
for example all below will count as a same group
A -- > field_C="AB/CD,XYZ, <>DD,CT" A -- > field_C="AB/CD,XYZ, DD,CT" A -- > field_C="AB/CD,ABC, <>DD,CT" A -- > field_C="AB/CD,ABC, DD,CT"
the result will be
AB/CD 4
Versus
AB/CD,XYZ, <>DD,CT 1 AB/CD,XYZ, DD,CT 1 AB/CD,ABC, <>DD,CT 1 AB/CD,ABC, DD,CT 1
Any help would be much appreciated.
... View more