Skip to content

Commit 7f3f0a5

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into us300011-content-curation
2 parents c68d1a3 + 8ad1a17 commit 7f3f0a5

39 files changed

+215
-374
lines changed

articles/azure-monitor/agents/azure-monitor-agent-migration.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ Migration is a complex task. Start planning your migration to Azure Monitor Agen
2525
> - **Installation:** The ability to install the legacy agents will be removed from the Azure Portal and installation policies for legacy agents will be removed. You can still install the MMA agents extension as well as perform offline installations.
2626
> - **Customer Support:** You will not be able to get support for legacy agent issues.
2727
> - **OS Support:** Support for new Linux or Windows distros, including service packs, won't be added after the deprecation of the legacy agents.
28-
> - Log Analytics Agent will continue to function but not be able to connect Log Analytics workspaces.
2928
> - Log Analytics Agent can coexist with Azure Monitor Agent. Expect to see duplicate data if both agents are collecting the same data.
3029
3130

articles/azure-monitor/agents/data-collection-log-json.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Collect logs from a JSON file with Azure Monitor Agent
33
description: Configure a data collection rule to collect log data from a JSON file on a virtual machine using Azure Monitor Agent.
44
ms.topic: conceptual
5-
ms.date: 08/23/2024
5+
ms.date: 08/28/2024
66
author: guywi-ms
77
ms.author: guywild
88
ms.reviewer: jeffwo
@@ -16,7 +16,7 @@ Many applications and services will log information to a JSON files instead of s
1616
## Prerequisites
1717

1818
- Log Analytics workspace where you have at least [contributor rights](../logs/manage-access.md#azure-rbac).
19-
- A data collection endpoint (DCE) if you plan to use Azure Monitor Private Links. The data collection endpoint must be in the same region as the Log Analytics workspace. See [How to set up data collection endpoints based on your deployment](../essentials/data-collection-endpoint-overview.md#how-to-set-up-data-collection-endpoints-based-on-your-deployment) for details.
19+
- A data collection endpoint (DCE) in the same region as the Log Analytics workspace. See [How to set up data collection endpoints based on your deployment](../essentials/data-collection-endpoint-overview.md#how-to-set-up-data-collection-endpoints-based-on-your-deployment) for details.
2020
- Either a new or existing DCR described in [Collect data with Azure Monitor Agent](./azure-monitor-agent-data-collection.md).
2121

2222
## Basic operation
@@ -133,6 +133,7 @@ Use the following ARM template to create a DCR for collecting text log files, ma
133133
| Setting | Description |
134134
|:---|:---|
135135
| Data collection rule name | Unique name for the DCR. |
136+
| Data collection endpoint resource ID | Resource ID of the data collection endpoint (DCE). |
136137
| Location | Region for the DCR. Must be the same location as the Log Analytics workspace. |
137138
| File patterns | Identifies the location and name of log files on the local disk. Use a wildcard for filenames that vary, for example when a new file is created each day with a new name. You can enter multiple file patterns separated by commas (AMA version 1.26 or higher required for multiple file patterns on Linux).<br><br>Examples:<br>- C:\Logs\MyLog.json<br>- C:\Logs\MyLog*.json<br>- C:\App01\AppLog.json, C:\App02\AppLog.json<br>- /var/mylog.json<br>- /var/mylog*.json |
138139
| Table name | Name of the destination table in your Log Analytics Workspace. |
@@ -152,6 +153,12 @@ Use the following ARM template to create a DCR for collecting text log files, ma
152153
"description": "Unique name for the DCR. "
153154
}
154155
},
156+
"dataCollectionEndpointResourceId": {
157+
"type": "string",
158+
"metadata": {
159+
"description": "Resource ID of the data collection endpoint (DCE)."
160+
}
161+
},
155162
"location": {
156163
"type": "string",
157164
"metadata": {
@@ -175,12 +182,6 @@ Use the following ARM template to create a DCR for collecting text log files, ma
175182
"metadata": {
176183
"description": "Resource ID of the Log Analytics workspace with the target table."
177184
}
178-
},
179-
"dataCollectionEndpointResourceId": {
180-
"type": "string",
181-
"metadata": {
182-
"description": "Resource ID of the Data Collection Endpoint to be used with this rule."
183-
}
184185
}
185186
},
186187
"variables": {
@@ -193,6 +194,7 @@ Use the following ARM template to create a DCR for collecting text log files, ma
193194
"name": "[parameters('dataCollectionRuleName')]",
194195
"location": "[parameters('location')]",
195196
"properties": {
197+
"dataCollectionEndpointId": "[parameters('dataCollectionEndpointResourceId')]",
196198
"streamDeclarations": {
197199
"Custom-Json-stream": {
198200
"columns": [
@@ -256,8 +258,7 @@ Use the following ARM template to create a DCR for collecting text log files, ma
256258
"transformKql": "source",
257259
"outputStream": "[variables('tableOutputStream')]"
258260
}
259-
],
260-
"dataCollectionEndpointId": "[parameters('dataCollectionEndpointResourceId')]"
261+
]
261262
}
262263
}
263264
]

articles/azure-monitor/agents/data-collection-log-text.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Collect logs from a text file with Azure Monitor Agent
33
description: Configure a data collection rule to collect log data from a text file on a virtual machine using Azure Monitor Agent.
44
ms.topic: conceptual
5-
ms.date: 08/23/2024
5+
ms.date: 08/28/2024
66
author: guywi-ms
77
ms.author: guywild
88
ms.reviewer: jeffwo
@@ -16,7 +16,7 @@ Many applications and services will log information to text files instead of sta
1616
## Prerequisites
1717

1818
- Log Analytics workspace where you have at least [contributor rights](../logs/manage-access.md#azure-rbac).
19-
- A data collection endpoint (DCE) if you plan to use Azure Monitor Private Links. The data collection endpoint must be in the same region as the Log Analytics workspace. See [How to set up data collection endpoints based on your deployment](../essentials/data-collection-endpoint-overview.md#how-to-set-up-data-collection-endpoints-based-on-your-deployment) for details.
19+
- A data collection endpoint (DCE) in the same region as the Log Analytics workspace. See [How to set up data collection endpoints based on your deployment](../essentials/data-collection-endpoint-overview.md#how-to-set-up-data-collection-endpoints-based-on-your-deployment) for details.
2020
- Either a new or existing DCR described in [Collect data with Azure Monitor Agent](./azure-monitor-agent-data-collection.md).
2121

2222
## Basic operation
@@ -143,6 +143,12 @@ Use the following ARM template to create or modify a DCR for collecting text log
143143
"description": "Unique name for the DCR. "
144144
}
145145
},
146+
"dataCollectionEndpointResourceId": {
147+
"type": "string",
148+
"metadata": {
149+
"description": "Resource ID of the data collection endpoint (DCE)."
150+
}
151+
},
146152
"location": {
147153
"type": "string",
148154
"metadata": {
@@ -178,6 +184,7 @@ Use the following ARM template to create or modify a DCR for collecting text log
178184
"location": "[parameters('location')]",
179185
"apiVersion": "2022-06-01",
180186
"properties": {
187+
"dataCollectionEndpointId": "[parameters('dataCollectionEndpointResourceId')]",
181188
"streamDeclarations": {
182189
"Custom-Text-stream": {
183190
"columns": [

0 commit comments

Comments
 (0)