Skip to content

Commit 8dc218a

Browse files
committed
change headers
1 parent 5776109 commit 8dc218a

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

articles/azure-monitor/essentials/data-collection-rule-create-edit.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ az rest --method put --url $ResourceId"?api-version=2022-06-01" --body @$FilePat
7575

7676
### [ARM](#tab/arm)
7777

78-
### DCR
79-
8078
See the follow references for defining DCRs and associations in a template.
8179
- [Data collection rules](/azure/templates/microsoft.insights/datacollectionrules)
8280
- [Data collection rule associations](/azure/templates/microsoft.insights/datacollectionruleassociations)
@@ -116,9 +114,10 @@ Use the following template to create a DCR using information from [Structure of
116114

117115
```
118116

119-
### DCR Association -Azure VM
117+
#### DCR Association -Azure VM
118+
The following sample creates an association between an Azure virtual machine and a data collection rule.
120119

121-
#### Bicep
120+
**Bicep template file**
122121

123122
```bicep
124123
@description('The name of the virtual machine.')
@@ -144,7 +143,7 @@ resource association 'Microsoft.Insights/dataCollectionRuleAssociations@2021-09-
144143
}
145144
```
146145

147-
#### ARM
146+
**ARM template file**
148147

149148
```json
150149
{
@@ -185,7 +184,7 @@ resource association 'Microsoft.Insights/dataCollectionRuleAssociations@2021-09-
185184
}
186185
```
187186

188-
#### Parameter file
187+
**Parameter file**
189188

190189
```json
191190
{
@@ -205,8 +204,9 @@ resource association 'Microsoft.Insights/dataCollectionRuleAssociations@2021-09-
205204
}
206205
```
207206
### DCR Association -Arc-enabled server
207+
The following sample creates an association between an Azure Arc-enabled server and a data collection rule.
208208

209-
#### Bicep
209+
**Bicep template file**
210210

211211
```bicep
212212
@description('The name of the virtual machine.')
@@ -232,7 +232,7 @@ resource association 'Microsoft.Insights/dataCollectionRuleAssociations@2021-09-
232232
}
233233
```
234234

235-
#### ARM
235+
**ARM template file**
236236

237237
```json
238238
{
@@ -273,7 +273,7 @@ resource association 'Microsoft.Insights/dataCollectionRuleAssociations@2021-09-
273273
}
274274
```
275275

276-
#### Parameter file
276+
**Parameter file**
277277

278278
```json
279279
{

articles/azure-monitor/logs/custom-fields-migrate.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.date: 03/31/2023
99

1010
# Tutorial: Replace custom fields in Log Analytics workspace with KQL-based custom columns
1111

12-
Custom fields is a feature of Azure Monitor that allows you to extract into a separate column data from a different text column of the same table. Creation of new custom fields will be disabled starting March 31st, 2023. Custom fields functionality will be deprecated and existing custom fields will stop functioning on March 31st, 2026.
12+
Custom fields is a feature of Azure Monitor that allows you to extract into a separate column data from a different text column of the same table. Creation of new custom fields will be disabled starting March 31, 2023. Custom fields functionality will be deprecated and existing custom fields will stop functioning on March 31, 2026.
1313

1414
There are several advantages to using DCR-based [ingestion-time transformations](../essentials/data-collection-transformations.md) to accomplish the same result:
1515

@@ -64,8 +64,8 @@ Since there is no way to examine the custom field definition directly, you need
6464

6565
1. Locate the columns noted in the previous step and examine their content.
6666
- If the column *is not empty* and *there are DCRs* associated with the table, then custom field logic has been already implemented with transformation. No action is required
67-
- If the column *is empty* (or not present in query results) and *there are DCRs* associated with the table, the custom field logic was not implemented with the DCR. Add a transformation to the dataflow in the existing DCR.
68-
- If the column *is not empty* and *there are no DCRs* associated with the table, the custom field logic needs to implemented as a transformation in the [workspace DCR](../essentials/data-collection-transformations-workspace.md).
67+
- If the column *is empty* (or not present in query results) and *there are DCRs* associated with the table, the custom field logic wasn't implemented with the DCR. Add a transformation to the dataflow in the existing DCR.
68+
- If the column *isn't empty* and *there are no DCRs* associated with the table, the custom field logic needs to implemented as a transformation in the [workspace DCR](../essentials/data-collection-transformations-workspace.md).
6969

7070
1. Examine the content of the custom field and determine the logic how it's being calculated. Custom fields usually calculate substrings of other columns in the same table. Determine which column the data comes from and the portion of the string it extracts.
7171

@@ -76,7 +76,7 @@ You're now ready to create the required KQL snippet and add it to a DCR. This lo
7676

7777
- Use [parse](/azure/data-explorer/kusto/query/parseoperator) operator for pattern-based search of a substring within a string.
7878
- Use [extract()](/azure/data-explorer/kusto/query/extractfunction) function for regex-based substring search.
79-
- String functions as [split()](/azure/data-explorer/kusto/query/splitfunction), [substring()](/azure/data-explorer/kusto/query/substringfunction) and [many others](/azure/data-explorer/kusto/query/scalarfunctions#string-functions) may also be useful.
79+
- String functions as [split()](/azure/data-explorer/kusto/query/splitfunction), [substring()](/azure/data-explorer/kusto/query/substringfunction), and [many others](/azure/data-explorer/kusto/query/scalarfunctions#string-functions) may also be useful.
8080

8181
:::image type="content" source="media/custom-fields-migrate/log-analytics-transformation-query.png" alt-text="Screenshot of Log Analytics with query returning data using transformation query" lightbox="media/custom-fields-migrate/log-analytics-transformation-query.png":::
8282

@@ -91,15 +91,15 @@ You're now ready to create the required KQL snippet and add it to a DCR. This lo
9191

9292
### How do I migrate custom fields for a text log collected with legacy Log Analytics agent (MMA)?
9393

94-
Consider migrating to Azure Monitor Agent (AMA). Log Analytics agent is approaching its end of support, and you should migrate to Azure Monitor Agent (AMA). [Text logs collected with AMA](../agents/data-collection-text-log.md) use log parsing logic defined in form of KQL transformations from the start. Custom fields are not required and not supported in text logs collected by Azure Monitor Agent.
94+
Consider migrating to Azure Monitor Agent (AMA). Log Analytics agent is approaching its end of support, and you should migrate to Azure Monitor Agent (AMA). [Text logs collected with AMA](../agents/data-collection-text-log.md) use log parsing logic defined in form of KQL transformations from the start. Custom fields aren't required and not supported in text logs collected by Azure Monitor Agent.
9595

9696
### Is migration of custom fields to KQL mandatory?
9797

98-
No. You need to migrate your custom fields only if you still want your custom columns populated. If you don't migrate your custom fields, corresponding columns will stop being populated when support of custom fields is ended. Data that has been already processed and stored in the table will not be affected and will remain usable.
98+
No, you need to migrate your custom fields only if you still want your custom columns populated. If you don't migrate your custom fields, corresponding columns will stop being populated when support of custom fields is ended. Data that has been already processed and stored in the table won't be affected and will remain usable.
9999

100100
### Will I lose my existing data in corresponding columns if I don't migrate my custom fields in time?
101101

102-
No. Custom fields are calculated at the time of data ingestion. Deleting the field definition or not migrating them in time will not affect any data previously ingested.
102+
No, custom fields are calculated at the time of data ingestion. Deleting the field definition or not migrating them in time won't affect any data previously ingested.
103103

104104
## Next steps
105105

0 commit comments

Comments
 (0)