You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/logs/data-ingestion-time.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
title: Log data ingestion time in Azure Monitor | Microsoft Docs
3
3
description: This article explains the different factors that affect latency in collecting log data in Azure Monitor.
4
4
ms.topic: conceptual
5
-
author: bwren
6
-
ms.author: bwren
5
+
author: guywi-ms
6
+
ms.author: guywild
7
7
ms.reviewer: eternovsky
8
8
ms.date: 03/21/2022
9
9
@@ -12,13 +12,13 @@ ms.date: 03/21/2022
12
12
# Log data ingestion time in Azure Monitor
13
13
Azure Monitor is a high-scale data service that serves thousands of customers that send terabytes of data each month at a growing pace. There are often questions about the time it takes for log data to become available after it's collected. This article explains the different factors that affect this latency.
14
14
15
-
## Typical latency
16
-
Latency refers to the time that data is created on the monitored system and the time that it becomes available for analysis in Azure Monitor. The typical latency to ingest log data is *between 20 seconds and 3 minutes*. The specific latency for any particular data will vary depending on several factors that are explained in this article.
15
+
## Average latency
16
+
Latency refers to the time that data is created on the monitored system and the time that it becomes available for analysis in Azure Monitor. The average latency to ingest log data is *between 20 seconds and 3 minutes*. The specific latency for any particular data will vary depending on several factors that are explained in this article.
17
17
18
18
## Factors affecting latency
19
19
The total ingestion time for a particular set of data can be broken down into the following high-level areas:
20
20
21
-
-**Agent time**: The time to discover an event, collect it, and then send it to an Azure Monitor Logs ingestion point as a log record. In most cases, this process is handled by an agent. More latency might be introduced by the network.
21
+
-**Agent time**: The time to discover an event, collect it, and then send it to a [data collection endpoint](../essentials/data-collection-endpoint-overview.md) as a log record. In most cases, this process is handled by an agent. More latency might be introduced by the network.
22
22
-**Pipeline time**: The time for the ingestion pipeline to process the log record. This time period includes parsing the properties of the event and potentially adding calculated information.
23
23
-**Indexing time**: The time spent to ingest a log record into an Azure Monitor big data store.
24
24
@@ -48,15 +48,15 @@ To ensure the Log Analytics agent is lightweight, the agent buffers logs and per
48
48
49
49
**Varies**
50
50
51
-
Network conditions might negatively affect the latency of this data to reach an Azure Monitor Logs ingestion point.
51
+
Network conditions might negatively affect the latency of this data to reach a data collection endpoint.
52
52
53
53
### Azure metrics, resource logs, activity log
54
54
55
55
**30 seconds to 15 minutes**
56
56
57
-
Azure data adds more time to become available at an Azure Monitor Logs ingestion point for processing:
57
+
Azure data adds more time to become available at a data collection endpoint for processing:
58
58
59
-
-**Azure platform metrics** are available in under a minute in the metrics database, but they take another 3 minutes to be exported to the Azure Monitor Logs ingestion point.
59
+
-**Azure platform metrics** are available in under a minute in the metrics database, but they take another 3 minutes to be exported to the data collection endpoint.
60
60
-**Resource logs** typically add 30 to 90 seconds, depending on the Azure service. Some Azure services (specifically, Azure SQL Database and Azure Virtual Network) currently report their logs at 5-minute intervals. Work is in progress to improve this time further. To examine this latency in your environment, see the [query that follows](#check-ingestion-time).
61
61
-**Activity log** data is ingested in 30 seconds when you use the recommended subscription-level diagnostic settings to send them into Azure Monitor Logs. They might take 10 to 15 minutes if you instead use the legacy integration.
62
62
@@ -75,7 +75,7 @@ To determine a solution's collection frequency, see the [documentation for each
75
75
76
76
**30 to 60 seconds**
77
77
78
-
After the data is available at an ingestion point, it takes another 30 to 60 seconds to be available for querying.
78
+
After the data is available at the data collection endpoint, it takes another 30 to 60 seconds to be available for querying.
79
79
80
80
After log records are ingested into the Azure Monitor pipeline (as identified in the [_TimeReceived](./log-standard-columns.md#_timereceived) property), they're written to temporary storage to ensure tenant isolation and to make sure that data isn't lost. This process typically adds 5 to 15 seconds.
81
81
@@ -107,7 +107,7 @@ Ingestion time might vary for different resources under different circumstances.
107
107
| Step | Property or function | Comments |
108
108
|:---|:---|:---|
109
109
| Record created at data source |[TimeGenerated](./log-standard-columns.md#timegenerated) <br>If the data source doesn't set this value, it will be set to the same time as _TimeReceived. | If at processing time the Time Generated value is older than 3 days, the row will be dropped. |
110
-
| Record received by Azure Monitor ingestion endpoint |[_TimeReceived](./log-standard-columns.md#_timereceived)| This field isn't optimized for mass processing and shouldn't be used to filter large datasets. |
110
+
| Record received by the data collection endpoint |[_TimeReceived](./log-standard-columns.md#_timereceived)| This field isn't optimized for mass processing and shouldn't be used to filter large datasets. |
111
111
| Record stored in workspace and available for queries |[ingestion_time()](/azure/kusto/query/ingestiontimefunction)| We recommend using `ingestion_time()` if there's a need to filter only records that were ingested in a certain time window. In such cases, we recommend also adding a `TimeGenerated` filter with a larger range. |
description: This article how to monitor the health of a Log Analytics workspace and set up alerts about latency issues specific to the Log Analytics workspace or related to known Azure service issues.
4
+
ms.topic: how-to
5
+
author: guywi-ms
6
+
ms.author: guywild
7
+
ms.reviewer: MeirMen
8
+
ms.date: 02/07/2023
9
+
10
+
#Customer-intent: As a Log Analytics workspace administrator, I want to know when there are latency issues in a Log Analytics workspace, so I can act to resolve the issue, contact Microsoft for support, or track that is Azure is meeting its SLA.
11
+
---
12
+
13
+
# Monitor Log Analytics workspace health
14
+
15
+
[Azure Service Health](../../service-health/overview.md) monitors the health of your cloud resources, including Log Analytics workspaces. When a Log Analytics workspace is healthy, data you collect from resources in your IT environment is available for querying and analysis in a relatively short period of time, known as [latency](../logs/data-ingestion-time.md). This article explains how to view the health status of your Log Analytics workspace and set up alerts to track Log Analytics workspace health status changes.
16
+
17
+
Azure Service Health monitors:
18
+
19
+
-[Resource health](../../service-health/resource-health-overview.md): information about the health of your individual cloud resources, such as a specific Log Analytics workspace.
20
+
-[Service health](../../service-health/service-health-overview.md): information about the health of the Azure services and regions you're using, which might affect your Log Analytics workspace, including communications about outages, planned maintenance activities, and other health advisories.
21
+
22
+
## View Log Analytics workspace health and set up health status alerts
23
+
24
+
When Azure Service Health detects [average latency](../logs/data-ingestion-time.md#average-latency) in your Log Analytics workspace, the workspace resource health status is **Available**.
25
+
26
+
To view your Log Analytics workspace health and set up health status alerts:
27
+
28
+
1. Select **Resource health** from the Log Analytics workspace menu.
29
+
30
+
The **Resource health** screen shows:
31
+
32
+
-**Health history**: Indicates whether Azure Service Health has detected latency issues related to the specific Log Analytics workspace. To further investigate latency issues related to your workspace, see [Investigate latency](#investigate-log-analytics-workspace-health-issues).
33
+
-**Azure service issues**: Displayed when a known issue with an Azure service might affect latency in the Log Analytics workspace. Select the message to view details about the service issue in Azure Service Health.
34
+
35
+
> [!NOTE]
36
+
> Service health notifications do not indicate that your Log Analytics workspace is necessarily affected by the know service issue. If your Log Analytics workspace resource health status is **Available**, Azure Service Health did not detect issues in your workspace.
37
+
38
+
:::image type="content" source="media/data-ingestion-time/log-analytics-workspace-latency.png" lightbox="media/data-ingestion-time/log-analytics-workspace-latency.png" alt-text="Screenshot that shows the Resource health screen for a Log Analytics workspace.":::
39
+
40
+
1. To set up health status alerts:
41
+
1. Select **Add resource health alert**.
42
+
43
+
The **Create alert rule** wizard opens, with the **Scope** and **Condition** panes pre-populated. By default, the rule triggers alerts all status changes in all Log Analytics workspaces in the subscription. If necessary, you can edit and modify the scope and condition at this stage.
44
+
45
+
:::image type="content" source="media/data-ingestion-time/log-analytics-workspace-latency-alert-rule.png" lightbox="media/data-ingestion-time/log-analytics-workspace-latency-alert-rule.png" alt-text="Screenshot that shows the Create alert rule wizard for Log Analytics workspace latency issues.":::
46
+
47
+
1. Follow the rest of the steps in [Create a new alert rule in the Azure portal](../alerts/alerts-create-new-alert-rule.md#create-a-new-alert-rule-in-the-azure-portal).
48
+
49
+
## Investigate Log Analytics workspace health issues
50
+
51
+
To investigate Log Analytics workspace health issues:
52
+
53
+
- Use [Log Analytics Workspace Insights](../logs/log-analytics-workspace-insights-overview.md), which provides a unified view of your workspace usage, performance, health, agent, queries, and change log.
54
+
- Query the data in your Log Analytics workspace to [understand which factors are contributing greater than expected latency in your workspace](../logs/data-ingestion-time.md).
55
+
-[Use the `_LogOperation` function to view and set up alerts about operational issues](../logs/monitor-workspace.md) logged in your Log Analytics workspace.
Copy file name to clipboardExpand all lines: articles/azure-monitor/logs/monitor-workspace.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
---
2
-
title: Monitor health of Log Analytics workspace in Azure Monitor
2
+
title: Monitor operational issues logged in your Azure Monitor Log Analytics workspace
3
3
description: The article describes how to monitor the health of your Log Analytics workspace by using data in the Operation table.
4
-
ms.topic: conceptual
5
-
ms.reviewer: shemers
4
+
ms.topic: how-to
5
+
ms.reviewer: MeirMen
6
6
ms.date: 03/21/2022
7
7
8
8
---
9
9
10
-
# Monitor health of a Log Analytics workspace in Azure Monitor
10
+
# Monitor operational issues in your Azure Monitor Log Analytics workspace
11
11
12
12
To maintain the performance and availability of your Log Analytics workspace in Azure Monitor, you need to be able to proactively detect any issues that arise. This article describes how to monitor the health of your Log Analytics workspace by using data in the [Operation](/azure/azure-monitor/reference/tables/operation) table. This table is included in every Log Analytics workspace. It contains error messages and warnings that occur in your workspace. We recommend that you create alerts for issues with the level of Warning and Error.
0 commit comments