Hi Team,
There are 2 fields added in my search. but it's searching for same value.
But i need a count of result where the search value present in field 1 and 2.
depends what you want to do, as mentioned above if fields are equal (the whole field value is what you are searching for)
if not (i.e it is a particular word inside the field) here are some different examples depending what you want to do , the examples contain different functions that achieve more or less the same
assume you are looking for the word World in both fields:
using streamstats and if like:
| stats count(eval(field1==field2)) as count