Įvykiai
03-17 21 - 03-21 10
Prisijunkite prie meetup serijos, kad sukurtumėte keičiamo dydžio DI sprendimus, pagrįstus realaus pasaulio naudojimo atvejais, su kolegomis kūrėjais ir ekspertais.
Registruotis dabarŠi naršyklė nebepalaikoma.
Atnaujinkite į „Microsoft Edge“, kad pasinaudotumėte naujausiomis funkcijomis, saugos naujinimais ir techniniu palaikymu.
Azure Service Health 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. This article explains how to view the health status of your Log Analytics workspace, set up workspace health status alerts, and view workspace health metrics.
Azure Service Health monitors:
*/read
permissions to the Log Analytics workspace, as provided by the Log Analytics Reader built-in role, for example.Microsoft.Insights/ActivityLogAlerts/Write
permissions to the Log Analytics workspace, as provided by the Monitoring Contributor built-in role, for example.To view your Log Analytics workspace health and set up health status alerts:
Select Resource health from the Log Analytics workspace menu.
The Resource health screen shows:
Pastaba
This table describes the possible resource health status values for a Log Analytics workspace:
Resource health status | Description |
---|---|
Available | Average latency and no query execution issues detected. |
Unavailable | Higher than average latency detected. |
Degraded | Query failures detected. |
Unknown | Currently unable to determine Log Analytics workspace health because you haven't run queries or ingested data to this workspace recently. |
To set up health status alerts, you can either enable recommended out-of-the-box alert rules, or manually create new alert rules.
To enable the recommended alert rules:
Select Alerts > Enable recommended alert rules.
The Enable recommended alert rules pane opens with a list of recommended alert rules for your Log Analytics workspace.
In the Alert me if section, select all of the rules you want to enable.
In the Notify me by section, select the way you want to be notified if an alert is triggered.
Select Use an existing action group, and enter the details of the existing action group if you want to use an action group that already exists.
Select Enable.
To create a new alert rule:
Select Add resource health alert.
The Create alert rule wizard opens, with the Scope and Condition panes prepopulated. 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.
Follow the rest of the steps in Create a new alert rule in the Azure portal.
Azure Monitor exposes a set of metrics that provide insight into Log Analytics workspace health.
To view Log Analytics workspace health metrics:
Select Metrics from the Log Analytics workspace menu. This opens Metrics Explorer in context of your Log Analytics workspace.
In the Metric field, select one of the Log Analytics workspace health metrics:
Category | Metric name | Scope | Description |
---|---|---|---|
SLI | AvailabilityRate_Query | Workspace | Percentage of successful user queries in the Log Analytics workspace within the selected time range. This number includes all queries that return 2XX, 4XX, and 504 response codes; in other words, all user queries that don't result in a service error. |
SLI | Ingestion Time | Workspace or table | Indicates the time it takes (in seconds) for a record to become available for queries after being received by Azure Monitor Logs. We recommend you examine ingestion time for specific tables. Available for frequently used tables. To see which tables in your workspaces support the Ingestion Time metric, check the Table Name dimension values for this metric. |
SLI | Ingestion Volume | Workspace or table | Number of records ingested into a workspace or a table. Available for frequently used tables. To see which tables in your workspaces support the Ingestion Volume metric, check the Table Name dimension values for this metric. |
User Queries | Query count | Workspace | Total number of user queries in the Log Analytics workspace within the selected time range. This number includes only user-initiated queries, and doesn't include queries initiated by Sentinel rules and alert-related queries. |
User Queries | Query failure count | Workspace | Total number of failed user queries in the Log Analytics workspace within the selected time range. This number includes all queries that return 5XX response codes - except 504 Gateway Timeout - which indicate an error related to the application gateway or the backend server. |
Data Export | Bytes Exported | Workspace | Total number of bytes exported to destination from Log Analytics workspace within the selected time range. The size of data exported is the number of bytes in the exported JSON formatted data. 1 GB = 10^9 bytes. |
Data Export | Export Failures | Workspace | Total number of failed export requests in the Log Analytics workspace within the selected time range. This number includes export failures that can result by Azure Monitor, destination resource availability, or throttling. |
Data Export | Records exported | Workspace | Total number of records exported from Log Analytics workspace within the selected time range. |
To investigate Log Analytics workspace health issues:
_LogOperation
function to view and set up alerts about operational issues logged in your Log Analytics workspace.Learn more about:
Įvykiai
03-17 21 - 03-21 10
Prisijunkite prie meetup serijos, kad sukurtumėte keičiamo dydžio DI sprendimus, pagrįstus realaus pasaulio naudojimo atvejais, su kolegomis kūrėjais ir ekspertais.
Registruotis dabarMokymas
Modulis
Create and configure a Log Analytics workspace - Training
In this module, you learn how to create and configure access to a Log Analytics workspace. You also learn how to configure data retention and to enable health status alerts for a Log Analytics workspace.
Sertifikatas
Microsoft Certified: Security Operations Analyst Associate - Certifications
Investigate, search for, and mitigate threats using Microsoft Sentinel, Microsoft Defender for Cloud, and Microsoft 365 Defender.
Dokumentacija
Log Analytics Workspace Insights - Azure Monitor
An overview of Log Analytics Workspace Insights usage, performance, health, agents, queries, and change log.
Monitor operational issues logged in your Azure Monitor Log Analytics workspace - Azure Monitor
The article describes how to monitor the health of your Log Analytics workspace by using data in the Operation table.
Log data ingestion time in Azure Monitor - Azure Monitor
This article explains the different factors that affect latency in collecting log data in Azure Monitor.