Skip to content

Commit 8ab3c26

Browse files
committed
fixes
1 parent bba0b22 commit 8ab3c26

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

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

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -145,36 +145,37 @@ Use the following ARM template to create a DCR for collecting text log files. In
145145
"dataCollectionRuleName": {
146146
"type": "string",
147147
"metadata": {
148-
"description": "Unique name for the DCR. "
148+
"description": "Unique name for the DCR. "
149149
}
150150
},
151151
"location": {
152152
"type": "string",
153153
"metadata": {
154-
"description": "Region for the DCR. Must be the same location as the Log Analytics workspace. "
154+
"description": "Region for the DCR. Must be the same location as the Log Analytics workspace. "
155155
}
156156
},
157157
"filePatterns": {
158158
"type": "string",
159159
"metadata": {
160-
"description": "Path on the local disk for the log file to collect. May include wildcards.Enter multiple file patterns separated by commas (AMA version 1.26 or higher required for multiple file patterns on Linux)."
160+
"description": "Path on the local disk for the log file to collect. May include wildcards.Enter multiple file patterns separated by commas (AMA version 1.26 or higher required for multiple file patterns on Linux)."
161161
}
162162
},
163163
"tableName": {
164164
"type": "string",
165165
"metadata": {
166-
"description": "Name of destination table in your Log Analytics workspace. "
166+
"description": "Name of destination table in your Log Analytics workspace. "
167167
}
168168
},
169169
"workspaceResourceId": {
170170
"type": "string",
171171
"metadata": {
172-
"description": "Resource ID of the Log Analytics workspace with the target table."
172+
"description": "Resource ID of the Log Analytics workspace with the target table."
173173
}
174174
},
175175
"dataCollectionEndpointResourceId": {
176-
"type": "string",
177-
"metadata": { "description": "Resource ID of the Data Collection Endpoint to be used with this rule."
176+
"type": "string",
177+
"metadata": {
178+
"description": "Resource ID of the Data Collection Endpoint to be used with this rule."
178179
}
179180
}
180181
},
@@ -189,7 +190,7 @@ Use the following ARM template to create a DCR for collecting text log files. In
189190
"apiVersion": "2022-06-01",
190191
"properties": {
191192
"streamDeclarations": {
192-
"Custom-JSONLog-stream": {
193+
"Custom-Json-stream": {
193194
"columns": [
194195
{
195196
"name": "TimeGenerated",
@@ -243,16 +244,16 @@ Use the following ARM template to create a DCR for collecting text log files. In
243244
"dataFlows": [
244245
{
245246
"streams": [
246-
"Custom-JSONLog-stream"
247+
"Custom-Json-stream"
247248
],
248249
"destinations": [
249250
"workspace"
250251
],
251252
"transformKql": "source",
252253
"outputStream": "[variables('tableOutputStream')]"
253254
}
254-
]
255-
"dataCollectionEndpointId" : "[parameters('dataCollectionEndpointResourceId')]"
255+
],
256+
"dataCollectionEndpointId": "[parameters('dataCollectionEndpointResourceId')]"
256257
}
257258
}
258259
]

0 commit comments

Comments
 (0)