Skip to content

Commit 1babb5d

Browse files
committed
changes
1 parent 8b73b92 commit 1babb5d

File tree

4 files changed

+65
-14
lines changed

4 files changed

+65
-14
lines changed

articles/data-factory/.openpublishing.redirection.data-factory.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,11 +1081,6 @@
10811081
"redirect_url": "/azure/data-factory/monitor-data-factory",
10821082
"redirect_document_id": false
10831083
},
1084-
{
1085-
"source_path_from_root": "/articles/data-factory/monitor-configure-diagnostics.md",
1086-
"redirect_url": "/azure/data-factory/monitor-data-factory",
1087-
"redirect_document_id": false
1088-
},
10891084
{
10901085
"source_path_from_root": "/articles/data-factory/connector-troubleshoot-google-adwords.md",
10911086
"redirect_url": "/azure/data-factory/connector-troubleshoot-google-ads",

articles/data-factory/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,8 @@ items:
900900
items:
901901
- name: Monitor
902902
href: monitor-data-factory.md
903+
- name: Configure diagnostics settings and workspace
904+
href: monitor-configure-diagnostics.md
903905
- name: Set up diagnostics logs via the Azure Monitor REST API
904906
href: monitor-logs-rest.md
905907
- name: Monitor SSIS operations with Azure Monitor
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
title: Configure diagnostic settings and a workspace
3+
description: Learn how to configure diagnostic settings and a Log Analytics workspace to monitor Azure Data Factory.
4+
author: ukchrist
5+
ms.author: ulrichchrist
6+
ms.reviewer: jburchel
7+
ms.service: data-factory
8+
ms.subservice: monitoring
9+
ms.topic: conceptual
10+
ms.date: 07/20/2023
11+
---
12+
13+
# Configure diagnostic settings and a workspace
14+
15+
Create or add diagnostic settings for your data factory.
16+
17+
1. In the Azure portal, navigate to your data factory and select **Diagnostics** on the left navigation pane to see the diagnostics settings. If there are existing settings on the data factory, you see a list of settings already configured. Select **Add diagnostic setting**.
18+
19+
:::image type="content" source="media/data-factory-monitor-oms/add-diagnostic-setting.png" alt-text="Screenshot that shows adding a diagnostic setting if settings exist.":::
20+
21+
1. Give your setting a name, select **Send to Log Analytics**, and then select a workspace from **Log Analytics workspace**.
22+
23+
* In _Azure-Diagnostics_ mode, diagnostic logs flow into the _AzureDiagnostics_ table.
24+
* In _Resource-Specific_ mode, diagnostic logs from Azure Data Factory flow into the following tables:
25+
- _ADFActivityRun_
26+
- _ADFPipelineRun_
27+
- _ADFTriggerRun_
28+
- _ADFSSISIntegrationRuntimeLogs_
29+
- _ADFSSISPackageEventMessageContext_
30+
- _ADFSSISPackageEventMessages_
31+
- _ADFSSISPackageExecutableStatistics_
32+
- _ADFSSISPackageExecutionComponentPhases_
33+
- _ADFSSISPackageExecutionDataStatistics_
34+
35+
You can select various logs relevant to your workloads to send to Log Analytics tables. For example:
36+
- If you don't use SQL Server Integration Services (SSIS) at all, you don't need to select any SSIS logs.
37+
- If you want to log SSIS integration runtime (IR) start, stop, or maintenance operations, select SSIS IR logs.
38+
- If you invoke SSIS package executions via T-SQL on SQL Server Management Studio, SQL Server Agent, or other designated tools, select SSIS package logs.
39+
- If you invoke SSIS package executions via Execute SSIS Package activities in Data Factory pipelines, select all logs.
40+
41+
* If you select _AllMetrics_, various Data Factory metrics are made available for you to monitor or raise alerts on. These metrics include the metrics for Data Factory activity, pipeline, and trigger runs, and for SSIS IR operations and SSIS package executions.
42+
43+
:::image type="content" source="media/data-factory-monitor-oms/monitor-oms-image2.png" alt-text="Screenshot that shows naming your settings and selecting a Log Analytics workspace.":::
44+
45+
> [!NOTE]
46+
> Because an Azure log table can't have more than 500 columns, we *highly recommend* that you select _Resource-Specific mode_. For more information, see [Azure diagnostics logs reference](/azure/azure-monitor/reference/tables/azurediagnostics).
47+
48+
1. Select **Save**.
49+
50+
After a few moments, the new setting appears in your list of settings for this data factory. Diagnostic logs are streamed to that workspace as soon as new event data is generated. Up to 15 minutes might elapse between when an event is emitted and when it appears in Log Analytics.
51+
52+
## Related content
53+
54+
[Set up diagnostics logs via the Azure Monitor REST API](monitor-logs-rest.md)

articles/data-factory/monitor-data-factory.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Monitor Azure Data Factory
33
description: Start here to learn how to monitor Azure Data Factory.
4-
ms.date: 02/26/2024
4+
ms.date: 02/28/2024
55
ms.custom: horz-monitor
66
ms.topic: conceptual
77
author: jonburchel
@@ -44,22 +44,22 @@ For more information about the resource types for Azure Data Factory, see [Data
4444

4545
[!INCLUDE [horz-monitor-data-storage](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-data-storage.md)]
4646

47-
### Store Data Factory metrics and pipeline run data
47+
### Store Data Factory pipeline run data
4848

49-
Data Factory stores pipeline run data for only 45 days. Use Azure Monitor to route diagnostic logs if you want to keep the data for a longer time.
49+
Data Factory stores pipeline run data for only 45 days. Use Azure Monitor to route diagnostic logs if you want to keep the data longer.
5050

51-
- **Storage account**: Save your diagnostic logs to a storage account for auditing or manual inspection. You can use diagnostic settings to specify the retention time in days.
52-
- **Event hub**: Stream the logs to Azure Event Hubs to become input to a partner service or custom analytics solution like Power BI.
53-
- **Log Analytics**: Analyze the logs with Log Analytics if you want to write complex queries, create custom alerts, or monitor across data factories.
54-
- **Partner solutions:** Send diagnostic logs to partner solutions through integration.
51+
Route data to Log Analytics if you want to analyze it with complex queries, create custom alerts, or monitor across data factories. You can route data from multiple data factories to a single Log Analytics workspace.
5552

56-
You can route data from multiple data factories to a single Log Analytics workspace. You can also use a storage account or event hub namespace that isn't in the subscription of the resource that emits logs. The user who configures the setting must have appropriate Azure role-based access control (Azure RBAC) access to both subscriptions.
53+
You can use a storage account or event hub namespace that isn't in the subscription of the resource that emits logs. The user who configures the setting must have appropriate Azure role-based access control (Azure RBAC) access to both subscriptions.
5754

5855
[!INCLUDE [horz-monitor-platform-metrics](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-platform-metrics.md)]
5956
For a list of available metrics for Data Factory, see [Data Factory monitoring data reference](monitor-data-factory-reference.md#metrics).
6057

6158
[!INCLUDE [horz-monitor-resource-logs](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-resource-logs.md)]
62-
For the available resource log categories, their associated Log Analytics tables, and the logs schemas for Data Factory, see [Data Factory monitoring data reference](monitor-data-factory-reference.md#resource-logs).
59+
60+
- For the available Data Factory resource log categories, their associated Log Analytics tables, and the logs schemas, see [Data Factory monitoring data reference](monitor-data-factory-reference.md#resource-logs).
61+
62+
- To configure diagnostic settings and a Log Analytics workspace to monitor Data Factory, see [Configure diagnostic settings and a workspace](monitor-configure-diagnostics.md).
6363

6464
[!INCLUDE [horz-monitor-activity-log](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-activity-log.md)]
6565

0 commit comments

Comments
 (0)