An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
Hello Williams
Thank you for posting your query on Microsoft Q&A platform.
The daily cap limits the amount of data that a Log Analytics workspace can collect in a day. When the daily cap is reached, data collection stops until the reset time. You can either wait for collection to automatically restart, or increase the daily data volume limit.
Check Log Analytics workspace data collection status: When data collection in a Log Analytics workspace stops, an event with a type of Operation is created in the workspace. Run the following query to check whether you're reaching the daily limit and missing data:
Kusto
Operation | where OperationCategory == 'Data Collection Status'
When data collection stops, the OperationStatus is Warning. When data collection starts, the OperationStatus is Succeeded.
To be notified when data collection stops, use the steps described in the Alert when daily cap is reached section. To configure an e-mail, webhook, or runbook action for the alert rule, use the steps described in create an action group.
Check whether your workspace reached its data ingestion rate limit
Use this query to retrieve the record that indicates the data ingestion rate limit was reached.
Kusto
Operation
| where OperationCategory == "Ingestion"
| where Detail startswith "The rate of data crossed the threshold"
Azure Monitor Agent not sending data: Azure Monitor Agent collects data from virtual machines and sends the data to Azure Monitor. An agent might stop sending data to your Log Analytics workspace in various scenarios. For example, when Azure Site Recovery recovers a virtual machine in a disaster recovery scenario, the resource ID of the machine changes, requiring reinstallation of Azure Monitor Agent on the machine.
Check the health of agents sending data to your workspace: Azure Monitor Agent instances installed on all virtual machines that send data to your Log Analytics workspace send a heartbeat to the Heartbeat table every minute.
Run this query to list VMs that haven't reported a heartbeat in the last five minutes:
Kusto
Heartbeat
| where TimeGenerated > ago(24h)
| summarize LastCall = max(TimeGenerated) by Computer, _ResourceId
| where LastCall < ago(5m)
Thanks,
Suchitra.