Right now this is displaying what I want but how can I return a row for each hour of the day when my alert is scheduled?
index=records "ProcessRec: Total Recd"
| eval fields=split(_raw,"|")
| eval Machine=mvindex(fields,4)
| stats count(eval(Machine="SERVER1")) AS "SERVER1" count(eval(Machine="SERVER2")) AS "SERVER2"
| addtotals
| foreach "SERVER1", "SERVER2"
[| eval "<<FIELD>> %"=round((<<FIELD>>/Total)*100,2)]
... View more