Thanks for the reply! I ran the query as is and received some odd results. I slightly modified it as shown: index=main sourcetype="cisco:ios" ("SESSION_STATE_DOWN" OR "SESSION_STATE_UP") | eval status=case(searchmatch("%BFD-5-SESSION_STATE_DOWN"),"Down",searchmatch("%BFD-5-SESSION_STATE_UP"),"Up",true(),"Unknown") | rex "on interface (?<iface>[a-zA-Z0-9]+)" | stats range(_time) as downTime latest(status) as latestStatus by iface | where downTime<60 This produced 2 results for the past 7 days: Can this be run in realtime and alert be generated for a "LatestStatus" of Down?
... View more