Hi @akthota , you could try sometthing like this: <your_search>
| rex "\{\"taxGeoCode\":(?<taxGeoCode>[^,]*),\"matchCode":(?<matchCode>[^,]*),"city":(?<city>[^,]*),"
| eval cond=if(taxGeoCode="true...
See more...
Hi @akthota , you could try sometthing like this: <your_search>
| rex "\{\"taxGeoCode\":(?<taxGeoCode>[^,]*),\"matchCode":(?<matchCode>[^,]*),"city":(?<city>[^,]*),"
| eval cond=if(taxGeoCode="true" OR matchCode="true" OR city="true","true","false")
| stats
count(eval(taxGeoCode IN ("true","false")) AS taxGeoCode
count(eval(matchCode IN ("true","false")) AS matchCode
count(eval(city IN ("true","false")) AS city
| by cond you could also use the spath command (better), in this case, you have to change the field names in the stats command. Ciao. Giuseppe