Hi auaave,
after indexing your csv I was able to get it working with this SPL:
Your base search here to get all events
| eval LOCATION=case(like(REQLOCATIONTEXT,"%ASRS%"),"ASRS", like(REQLOCATIONTEXT,"%Induct%") or like(REQLOCATIONTEXT,"%Receiving%"),"Conveyors", LOCATION="1", "Sorter", isnotnull(LOCATION), LOCATION, 1=1, "unknonw")
| stats count(eval(source="mfc_read.csv" OR (BIT_FLAGS="1" OR BIT_FLAGS="4" OR BIT_FLAGS="9"))) AS READ, count(eval(source="mfc_noread.csv" OR (BIT_FLAGS="2"))) AS NOREAD by LOCATION
| eval "READ%"=round(READ/(READ+NOREAD)*100,2)
The problem was that we lost LOCATION=1 after the first stats , so I extended the first eval and it worked 😉
Hope this helps and all suitcases are tracked correctly now 🙂
cheers, MuS
... View more