Measure Microsoft Sentinel Data Ingestion Delay
Before you begin
- Applies to:Microsoft Sentinel with Windows Security Events via AMA populating SecurityEvent.
- Where to start:Open Logs in the Sentinel-enabled Log Analytics workspace and confirm the connector's table name.
- What you need:Have query permissions, three known computers, and an eight-hour window that includes normal activity and the incident.
Guide tools
Before You Start
Use a Sentinel-enabled Log Analytics workspace with query permission and an existing Windows Security Events via AMA connection populating SecurityEvent. Choose three known computers and an eight-hour period with normal activity and the incident. Confirm the connector’s table name before running the examples.
Investigation Steps
Record the detection contract
Start hereWrite down the table, rule’s evaluation interval and lookback, workspace, and the source event timestamp field. Identify whether the issue is late alerts, absent alerts, or both. Note that the scheduling service’s own delay and connector delivery time are distinct.
Measure observed latency
Run this in Logs with a time picker covering the last eight hours. DelaySeconds is approximate end-to-end latency in seconds. Exclude missing ingestion timestamps and use row counts alongside percentiles. A negative tail can indicate source clock or timestamp mapping problems.
SecurityEvent| where TimeGenerated > ago(8h)| extend IngestedAt = ingestion_time()| where isnotnull(IngestedAt)| extend DelaySeconds = datetime_diff('second', IngestedAt, TimeGenerated)| summarize Rows = count(), P50 = percentile(DelaySeconds, 50), P95 = percentile(DelaySeconds, 95), Worst = max(DelaySeconds) by Computer| order by P95 descSeparate source-to-endpoint delay from post-receipt delay
For an affected host, inspect a short time slice. The _TimeReceived column represents receipt at the Azure Monitor data collection endpoint. Compare it to TimeGenerated and ingestion_time(). Missing or malformed event timestamps reduce the usefulness of this breakdown. Filter by time and host before inspecting _TimeReceived.
Test for records that arrived late
Replace the example host with the actual Computer value. Set the portal picker to cover at least the full event-time window. This looks only for rows now queryable that arrived recently but were generated more than ten minutes ago. Increase the event-time range if you suspect older arrivals.
SecurityEvent| where TimeGenerated > ago(8h)| where Computer =~ 'pilot01.example.com'| extend IngestedAt = ingestion_time()| where IngestedAt > ago(15m) and TimeGenerated < ago(10m)| project Computer, EventID, TimeGenerated, IngestedAt| order by IngestedAt descReplay the rule across fixed windows
Use historical windows and known matching events to compare the current behavior with a larger lookback. Check how a late event can appear in multiple windows. Preserve grouping and incident behavior, and establish a stable deduplication approach before releasing changes.
Validate with a controlled pilot
VerifyCompare expected and observed matches for an on-time test record, a late record, and a repeated record. Document the latency threshold, sample count, and owner. If the change adds duplicate alerts or misses records, restore the prior rule configuration through its owner and keep investigating the connector.
Interpret the Results
| Finding | Next action |
|---|---|
| One host has a long pre-receipt delay | Compare source clock, agent state, and effective data collection rules. |
| Post-receipt delays span the workspace | Check service health and ingestion pipeline changes. |
| No rows for a known-active host | Investigate table coverage first. Percentiles describe rows that arrived. |
References
Your feedback keeps these production procedures accurate and battle-tested.