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/data-share/how-to-monitor.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,22 @@
1
1
---
2
-
title: How to monitor Azure Data Share
3
-
description: Learn how to monitor invitation status, share subscriptions, and snapshot history in Azure Data Share
2
+
title: Monitor Azure Data Share status and history
3
+
description: Learn how to monitor invitation status, share subscriptions, and snapshot history for Azure Data Share
4
4
author: sidontha
5
5
ms.author: sidontha
6
6
ms.service: data-share
7
7
ms.topic: how-to
8
-
ms.date: 12/19/2023
8
+
ms.date: 02/29/2024
9
9
---
10
10
11
11
# Monitor Azure Data Share status and history
12
12
13
-
This article explains how you can monitor your data shares using Azure Data Share. As a data provider, you're able to monitor various aspects of your data sharing relationships. Details such as whether your data consumers have accepted your invitation to the data share, and whether they have created a share subscription and started to use your data are all available to monitor.
13
+
This article explains how you can monitor your Azure Data Share status and history.
14
14
15
-
As a data consumer, you can monitor the snapshots that have been triggered into your Azure subscription.
15
+
- As a data provider, you can monitor various aspects of your data sharing relationships. Details such as whether your data consumers have accepted your invitation to the data share, and whether they have created a share subscription and started to use your data, are all available to monitor.
16
+
17
+
- As a data consumer, you can monitor the snapshots that have been triggered into your Azure subscription.
18
+
19
+
You can also see Azure Monitor metrics, collect logs, analyze monitoring data, and create alerts for your Data Share shares. For information about all the monitoring options that are available for Data Share, see [Monitor Azure Data Share](monitor-data-share.md).
16
20
17
21
## Monitor invitation status
18
22
@@ -43,12 +47,8 @@ You can view more details about each snapshot run by selecting the run start dat
43
47
44
48
Up to 30 days of snapshot history is displayed. If you need to save and see more than 30 days worth of history, you can use diagnostic setting.
45
49
46
-
## Diagnostic setting
47
-
48
-
You can configure diagnostic setting to save log data or events. Navigate to Monitoring -> Diagnostic settings and select **Add diagnostic setting**. Select the log data or events that you're interested in, and where you want to store or send them.
49
-
50
-

51
-
52
50
## Next steps
53
51
54
-
Learn more about [Azure Data Share terminology](terminology.md)
52
+
- Learn more about [Azure Data Share terminology](terminology.md).
53
+
- See [Monitor Data Share](monitor-data-share.md) for more details about monitoring Data Share.
Select **Metrics** under **Monitoring** in the left navigation of your Data Share page in the Azure portal to access charts for the following Data Share metrics:
24
26
25
27
- Received Shares
@@ -29,22 +31,28 @@ Select **Metrics** under **Monitoring** in the left navigation of your Data Shar
29
31
- Sent Share Failed Snapshots
30
32
- Sent Share Succeeded Snapshots
31
33
32
-
For a list of available metrics for Data Share, see [Data Share monitoring data reference](monitor-data-share-reference.md#metrics).
34
+
For a full listing and descriptions of the available metrics for Data Share, see [Data Share monitoring data reference](monitor-data-share-reference.md#metrics).
Select **Diagnostic settings** under **Monitoring** in the left navigation of your Data Share page in the Azure portal to configure collection of the following Data Share log data:
38
+
## Data Share logs
39
+
40
+
You can configure diagnostic setting to save log data or events. Select **Diagnostic settings** under **Monitoring** in the left navigation of your Data Share page in the Azure portal to configure collection of the following Data Share log data:
37
41
38
42
- Shares
39
43
- Share Subscriptions
40
44
- Sent Share Snapshots
41
45
- Received Share Snapshots
42
46
43
-
For the available resource log categories, their associated Log Analytics tables, and the logs schemas for Data Share, see [Data Share monitoring data reference](monitor-data-share-reference.md#resource-logs).
47
+

48
+
49
+
For more information on how to create diagnostic settings, see [Diagnostic settings in Azure Monitor](/azure/azure-monitor/essentials/diagnostic-settings).
50
+
51
+
For more information about the available resource log categories, their associated Log Analytics tables, and the logs schemas for Data Share, see [Data Share monitoring data reference](monitor-data-share-reference.md#resource-logs).
To track Data Share invitation status, share subscription status, and snapshot history, select **Sent Shares** under **Data Share** in the left navigation of your Data Share page in the Azure portal. For more information and instructions, see [Monitor Data Share status and history](how-to-monitor.md).
50
58
@@ -53,9 +61,9 @@ To track Data Share invitation status, share subscription status, and snapshot h
For example queries, select **Logs** under **Monitoring** in the left navigation of your Data Share page in the Azure portal, and then select the **Queries** tab. Here are a few example queries.
64
+
To write queries and access example queries, select **Logs** under **Monitoring** in the left navigation of your Data Share page in the Azure portal, and then select the **Queries** tab. Here are a couple of example queries:
57
65
58
-
A list of the snapshots sorted by duration time over the last seven days:
66
+
**A list of sent snapshots sorted by duration time over the last seven days:**
Total count of failed snapshots over the last seven days:
88
+
For more example queries, see:
81
89
82
-
```kusto
83
-
// Count failed sent snapshots
84
-
MicrosoftDataShareSentSnapshotLog
85
-
| where TimeGenerated > ago(7d)
86
-
| where Status == "Failed"
87
-
| summarize count() by _ResourceId
88
-
```
90
+
-[Queries for the MicrosoftDataShareReceivedSnapshotLog table](~/azure-reference-other-repo/azure-monitor-ref/queries/microsoftdatasharereceivedsnapshotlog.md)
91
+
-[Queries for the MicrosoftDataShareSentSnapshotLog table](~/azure-reference-other-repo/azure-monitor-ref/queries/microsoftdatasharesentsnapshotlog.md)
The following table lists common and recommended alert rules for Data Share. This is just a recommended list. You can set alerts for any metric, log entry, or activity log entry that's listed in the [Data Share monitoring data reference](monitor-data-share-reference.md).
97
+
To create alerts for your Data Share monitoring data, select **Alerts** under **Monitoring** in the left navigation of your Data Share page in the Azure portal, and then select **Create alert rule**. You can select a signal and configure all the details to trigger and route the alert.
98
+
99
+
The following table lists some alert rules for Data Share. This is just a suggested list. You can set alerts for any metric, log entry, or activity log entry that's listed in the [Data Share monitoring data reference](monitor-data-share-reference.md).
0 commit comments