Try this:
index="ABC" sourcetype=* Customers=ABCD | top limit=1 Customers | fields - Customers
try like:
index="ABC" sourcetype=* | stats count(eval(Customers="ABCD")) as "count of ABCD"
I am sorry I tried this but this gives me 0 value 😞
Hello! Try this:
index="ABC" sourcetype=* Customers=ABCD | top limit=1 Customers |table count
Thanks
This works too !!
Thanks. And i was thinking that you was only look at the count value 233322
. Isn't it? Because i think that the top command will give the count and also the percent fields!
Try this:
index="ABC" sourcetype=* Customers=ABCD | top limit=1 Customers | fields - Customers