Aug 10 2022 12:40 AM
Hello,
I would like to have incident if there is a gap in ingested data for key build in sentinel data connectors or custom integration for lets say 1 hour or more.
For commonsecurity log which are our CEF I was thinking of something like this which shows last data received.
Would similar be applicable for data connectors? How do you monitor data ingestion? Our management expects if there is delay in logs follow up with data source owners. Thank you
let Sources = dynamic(["Incapsula", "Cyber-Ark", "ArcSight"]);
CommonSecurityLog
| where isnotempty(DeviceVendor) and DeviceVendor !in (Sources)
| where (DeviceVendor == '{selectedDeviceVendor}' or '{selectedDeviceVendor}' == "All") and (DeviceProduct == '{selectedDeviceProduct}' or '{selectedDeviceProduct}' == "All")
| summarize LastLogReceived = arg_max(TimeGenerated, *) by DeviceVendor, DeviceProduct
| extend HeartBeatMessage = iff(datetime_diff('second',now() ,LastLogReceived) > 3600, strcat("Not active since ",datetime_diff('second',now() ,LastLogReceived)*1s, ' hours ago') ,"Active Logs Received")
| extend Heartbeat =datetime_diff('second',now() ,LastLogReceived)
| project DeviceVendor, DeviceProduct, Heartbeat,HeartBeatMessage
Aug 10 2022 02:20 AM
Aug 10 2022 01:28 PM
Aug 11 2022 05:24 AM
Solution