Skip to content

Commit a9ccb9d

Browse files
Merge pull request #244012 from v-jbasden/v-jbasden-logs-content-inventory-line-35
Logs audit: Line 35
2 parents 41042c6 + b3f93f3 commit a9ccb9d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

articles/azure-monitor/logs/monitor-workspace.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ ms.date: 07/02/2023
1111

1212
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.
1313

14+
[!INCLUDE [log-analytics-query-permissions](../../../includes/log-analytics-query-permissions.md)]
15+
1416
## _LogOperation function
1517

1618
Azure Monitor Logs sends information on any issues to the [Operation](/azure/azure-monitor/reference/tables/operation) table in the workspace where the issue occurred. The `_LogOperation` system function is based on the **Operation** table and provides a simplified set of information for analysis and alerting.
@@ -102,7 +104,7 @@ The following section provides information on data collection.
102104

103105
#### Operation: Azure Activity Log collection
104106

105-
"Access to the subscription was lost. Ensure that the \<**subscription id**\> subscription is in the \<**tenant id**\> Azure Active Directory tenant. If the subscription is transferred to another tenant, there is no impact to the services, but information for the tenant could take up to an hour to propagate."
107+
"Access to the subscription was lost. Ensure that the \<**subscription id**\> subscription is in the \<**tenant id**\> Azure Active Directory tenant. If the subscription is transferred to another tenant, there's no impact to the services, but information for the tenant could take up to an hour to propagate."
106108

107109
In some situations, like moving a subscription to a different tenant, the Azure activity logs might stop flowing into the workspace. In those situations, you need to reconnect the subscription following the process described in this article.
108110

@@ -130,7 +132,7 @@ Check the `_LogOperation` table for the agent event:</br>
130132

131133
`_LogOperation | where TimeGenerated >= ago(6h) | where Category == "Agent" | where Operation == "Linux Agent" | distinct _ResourceId`
132134

133-
The list will show the resource IDs where the agent has the wrong configuration. To mitigate the issue, reinstall the agents listed.
135+
The list shows the resource IDs where the agent has the wrong configuration. To mitigate the issue, reinstall the agents listed.
134136

135137
## Alert rules
136138

@@ -145,7 +147,7 @@ Use the process in [Create, view, and manage log alerts by using Azure Monitor](
145147
| `_LogOperation | where Level == "Error"` | 0 | 5 | 5 |
146148
| `_LogOperation | where Level == "Warning"` | 0 | 1,440 | 1,440 |
147149

148-
These alert rules will respond the same to all operations with Error or Warning. As you become more familiar with the operations that are generating alerts, you might want to respond differently for particular operations. For example, you might want to send notifications to different people for particular operations.
150+
These alert rules respond the same to all operations with Error or Warning. As you become more familiar with the operations that are generating alerts, you might want to respond differently for particular operations. For example, you might want to send notifications to different people for particular operations.
149151

150152
To create an alert rule for a specific operation, use a query that includes the **Category** and **Operation** columns.
151153

0 commit comments

Comments
 (0)