hai Thanks for your reply. i have tested for alert using this search but the data is updating into splunk from source for every 5 mins and status was in offline when lastupdated="2023-08-24 12:51:49.62" and status was changed IDLE lastupdated="2023-08-24 13:00:01.637" how to modify the search if status was offline for 2 polls when collecting data for example event time 8/24/23 6:25:00.873 PM data collection it was in offline and also next interval 2023-08-24 08:00:02.202 if it was offline , need to get below are the events while testing for one 8/24/23 6:45:00.920 PM 2023-08-24 08:15:00.920, BOT_Name="HOUVMITBPRSMX21:8001", lastupdated="2023-08-24 13:14:57.803", BOT_Status="Working" host = TEST BP_Botstatus_Newquery sourcetype = testsoucetype 8/24/23 6:40:01.652 PM 2023-08-24 08:10:01.652, BOT_Name="HOUVMITBPRSMX21:8001", lastupdated="2023-08-24 13:10:00.85", BOT_Status="Working" host = TEST source = testcource sourcetype = testsoucetype 8/24/23 6:35:00.968 PM 2023-08-24 08:05:00.968, BOT_Name="HOUVMITBPRSMX21:8001", lastupdated="2023-08-24 13:04:59.833", BOT_Status="Working" host = TEST source = BP_Botstatus_Newquerysourcetype = testsoucetype 8/24/23 6:30:02.202 PM 2023-08-24 08:00:02.202, BOT_Name="HOUVMITBPRSMX21:8001", lastupdated="2023-08-24 13:00:01.637", BOT_Status="Idle" host = TEST source = testcourcesourcetype =testsoucetype 8/24/23 6:25:00.873 PM 2023-08-24 07:55:00.873, BOT_Name="HOUVMITBPRSMX21:8001", lastupdated="2023-08-24 12:51:49.62", BOT_Status="Offline" host = TEST source = testcourcesourcetype =testsoucetype
... View more