How would I add field x to the results of count(y) as z so that the results are
x z count(y)? I know it is simple but it eludes me.
thank you
try this
mysearch | stats count(y) AS COUNTy | eval z=(COUNTy+x) | table x z COUNTy
Awesome, please accept my answer 😄
This worked thank you