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/azure-monitor/agents/data-collection-log-json.md
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -145,36 +145,37 @@ Use the following ARM template to create a DCR for collecting text log files. In
145
145
"dataCollectionRuleName": {
146
146
"type": "string",
147
147
"metadata": {
148
-
"description": "Unique name for the DCR. "
148
+
"description": "Unique name for the DCR. "
149
149
}
150
150
},
151
151
"location": {
152
152
"type": "string",
153
153
"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. "
155
155
}
156
156
},
157
157
"filePatterns": {
158
158
"type": "string",
159
159
"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)."
161
161
}
162
162
},
163
163
"tableName": {
164
164
"type": "string",
165
165
"metadata": {
166
-
"description": "Name of destination table in your Log Analytics workspace. "
166
+
"description": "Name of destination table in your Log Analytics workspace. "
167
167
}
168
168
},
169
169
"workspaceResourceId": {
170
170
"type": "string",
171
171
"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."
173
173
}
174
174
},
175
175
"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."
178
179
}
179
180
}
180
181
},
@@ -189,7 +190,7 @@ Use the following ARM template to create a DCR for collecting text log files. In
189
190
"apiVersion": "2022-06-01",
190
191
"properties": {
191
192
"streamDeclarations": {
192
-
"Custom-JSONLog-stream": {
193
+
"Custom-Json-stream": {
193
194
"columns": [
194
195
{
195
196
"name": "TimeGenerated",
@@ -243,16 +244,16 @@ Use the following ARM template to create a DCR for collecting text log files. In
0 commit comments