|
1 | 1 | ---
|
2 |
| -title: Turn on health monitoring in Microsoft Sentinel |
| 2 | +title: Turn on auditing and health monitoring in Microsoft Sentinel |
3 | 3 | description: Monitor supported data connectors by using the SentinelHealth data table.
|
4 |
| -ms.topic: how-to |
5 |
| -ms.date: 11/07/2022 |
6 | 4 | author: limwainstein
|
7 | 5 | ms.author: lwainstein
|
8 |
| -ms.service: microsoft-sentinel |
| 6 | +ms.topic: how-to |
| 7 | +ms.date: 01/19/2023 |
9 | 8 | ---
|
10 | 9 |
|
11 |
| -# Turn on health monitoring for Microsoft Sentinel (preview) |
| 10 | +# Turn on auditing and health monitoring for Microsoft Sentinel (preview) |
| 11 | + |
| 12 | +Monitor the health and audit the integrity of supported Microsoft Sentinel resources by turning on the auditing and health monitoring feature in Microsoft Sentinel's **Settings** page. Get insights on health drifts, such as the latest failure events or changes from success to failure states, and on unauthorized actions, and use this information to create notifications and other automated actions. |
12 | 13 |
|
13 |
| -Monitor the health of supported Microsoft Sentinel resources by turning on the health monitoring feature in Microsoft Sentinel's **Settings** page. Get insights on health drifts, such as the latest failure events or changes from success to failure states, and use this information to create notifications and other automated actions. |
| 14 | +To get health data from the *SentinelHealth* data table, or to get auditing information from the *SentinelAudit* data table, you must first turn on the Microsoft Sentinel auditing and health monitoring feature for your workspace. |
14 | 15 |
|
15 |
| -To get health data from the *SentinelHealth* data table, you must first turn on the Microsoft Sentinel health feature for your workspace. |
| 16 | +This article instructs you how to turn on these features. |
16 | 17 |
|
17 |
| -When the health feature is turned on, the *SentinelHealth* data table is created at the first success or failure event generated for supported resource types. |
| 18 | +When the feature is turned on, the *SentinelHealth* and *SentinelAudit* data tables are created at the first event generated for the selected resources. |
18 | 19 |
|
19 |
| -The following resource types are currently supported: |
| 20 | +The following resource types are currently supported for health monitoring: |
| 21 | +- Analytics rules (New!) |
20 | 22 | - Data connectors
|
21 | 23 | - Automation rules
|
22 | 24 | - Playbooks (Azure Logic Apps workflows)
|
23 | 25 | > [!NOTE]
|
24 | 26 | > When monitoring playbook health, you'll also need to collect Azure Logic Apps diagnostic events from your playbooks in order to get the full picture of your playbook activity. See [**Monitor the health of your automation rules and playbooks**](monitor-automation-health.md) for more information.
|
25 | 27 |
|
26 |
| -To configure the retention time for your health events, see [Configure data retention and archive policies in Azure Monitor Logs](../azure-monitor/logs/data-retention-archive.md). |
| 28 | +Only the analytics rule resource type is currently supported for auditing. |
| 29 | + |
| 30 | + |
| 31 | +To configure the retention time for your audit and health events, see [Configure data retention and archive policies in Azure Monitor Logs](../azure-monitor/logs/data-retention-archive.md). |
27 | 32 |
|
28 | 33 | > [!IMPORTANT]
|
29 | 34 | >
|
30 |
| -> The *SentinelHealth* data table is currently in **PREVIEW**. See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for additional legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability. |
| 35 | +> The *SentinelHealth* and *SentinelAudit* data tables are currently in **PREVIEW**. See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for additional legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability. |
31 | 36 | >
|
32 | 37 |
|
33 |
| -## Turn on health monitoring for your workspace |
| 38 | +## Turn on auditing and health monitoring for your workspace |
34 | 39 |
|
35 | 40 | 1. In Microsoft Sentinel, under the **Configuration** menu on the left, select **Settings**.
|
36 | 41 |
|
37 | 42 | 1. Select **Settings** from the banner.
|
38 | 43 |
|
39 |
| -1. Scroll down to the **Health monitoring** section that appears below, and select it to expand. |
| 44 | +1. Scroll down to the **Auditing and health monitoring** section that appears below, and select it to expand. |
40 | 45 |
|
41 |
| -1. Select **Configure Diagnostic Settings**. |
| 46 | +1. Select **Enable** to enable auditing and health monitoring across all resource types and to send the auditing and monitoring data to your Microsoft Sentinel workspace (and nowhere else). |
| 47 | + |
| 48 | + Or, select the **Configure diagnostic settings** link to enable health monitoring only for the data collector and/or automation resources, or to configure advanced options, like additional places to send the data. |
42 | 49 |
|
43 | 50 | :::image type="content" source="media/enable-monitoring/enable-health-monitoring.png" alt-text="Screenshot shows how to get to the health monitoring settings.":::
|
44 | 51 |
|
45 |
| -1. In the **Diagnostic settings** screen, select **+ Add diagnostic setting**. |
| 52 | + If you selected **Enable**, then the button will gray out and change to read **Enabling...** and then **Enabled**. At that point, auditing and health monitoring is enabled, and you're done! The appropriate diagnostic settings were added behind the scenes, and you can view and edit them by selecting the **Configure diagnostic settings** link. |
| 53 | + |
| 54 | +1. If you selected **Configure diagnostic settings**, then in the **Diagnostic settings** screen, select **+ Add diagnostic setting**. |
| 55 | + |
| 56 | + (If you're editing an existing setting, select it from the list of diagnostic settings.) |
46 | 57 |
|
47 | 58 | - In the **Diagnostic setting name** field, enter a meaningful name for your setting.
|
48 | 59 |
|
49 |
| - - In the **Logs** column, select the appropriate **Categories** for the resource types you want to monitor, for example **Data Collection - Connectors**. |
| 60 | + - In the **Logs** column, select the appropriate **Categories** for the resource types you want to monitor, for example **Data Collection - Connectors**. Select **allLogs** if you want to monitor analytics rules. |
50 | 61 |
|
51 | 62 | - Under **Destination details**, select **Send to Log Analytics workspace**, and select your **Subscription** and **Log Analytics workspace** from the dropdown menus.
|
52 | 63 |
|
| 64 | + :::image type="content" source="media/enable-monitoring/diagnostic-settings.png" alt-text="Screenshot of diagnostic settings screen for enabling auditing and health monitoring."::: |
| 65 | + |
| 66 | + If you require, you may select other destinations to which to send your data, in addition to the Log Analytics workspace. |
| 67 | + |
53 | 68 | 1. Select **Save** on the top banner to save your new setting.
|
54 | 69 |
|
55 |
| -The *SentinelHealth* data table is created at the first success or failure event generated for the selected resources. |
| 70 | +The *SentinelHealth* and *SentinelAudit* data tables are created at the first event generated for the selected resources. |
56 | 71 |
|
57 |
| -## Access the *SentinelHealth* table |
| 72 | +## Verify that the tables are receiving data |
58 | 73 |
|
59 | 74 | In the Microsoft Sentinel **Logs** page, run a query on the *SentinelHealth* table. For example:
|
60 | 75 |
|
61 | 76 | ```kusto
|
62 |
| -SentinelHealth |
| 77 | +_SentinelHealth() |
63 | 78 | | take 20
|
64 | 79 | ```
|
65 | 80 |
|
66 | 81 | ## Next steps
|
67 | 82 |
|
68 |
| -- Learn what [health monitoring in Microsoft Sentinel](health-audit.md) can do for you. |
69 |
| -- [Monitor the health of your Microsoft Sentinel data connectors](monitor-data-connector-health.md). |
70 |
| -- [Monitor the health of your Microsoft Sentinel automation rules](monitor-automation-health.md). |
71 |
| -- See more information about the [*SentinelHealth* table schema](health-table-reference.md). |
| 83 | +- Learn about [auditing and health monitoring in Microsoft Sentinel](health-audit.md). |
| 84 | +- [Monitor the health of your automation rules and playbooks](monitor-automation-health.md). |
| 85 | +- [Monitor the health of your data connectors](monitor-data-connector-health.md). |
| 86 | +- [Monitor the health and integrity of your analytics rules](monitor-analytics-rule-integrity.md). |
| 87 | +- See more information about the [*SentinelHealth*](health-table-reference.md) and [*SentinelAudit*](audit-table-reference.md) table schemas. |
0 commit comments