Hello,
I have a query (e.g. "....... " | stats count, avg(...)) and after that I get as result
Count avg
20 40
What I would like to have before that is a separate column that I can name myself.
So desired:
OwnColumn Count AVG
XYZ 20 40
How can I include this in my query?
| stats count as Count, avg(DURATION)) as AVG
| eval OwnColumn="XYZ"
| fields OwnColumn, Count, AVG
thank you very much
| stats count as Count, avg(DURATION)) as AVG
| eval OwnColumn="XYZ"
| fields OwnColumn, Count, AVG