Skip to content

Commit 57f2b4b

Browse files
committed
Azure Monitor data collector API update
1 parent 67b9d09 commit 57f2b4b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/azure-monitor/platform/data-collector-api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.service: log-analytics
1111
ms.workload: na
1212
ms.tgt_pltfrm: na
1313
ms.topic: conceptual
14-
ms.date: 09/10/2019
14+
ms.date: 10/01/2019
1515
ms.author: bwren
1616
---
1717

@@ -227,21 +227,21 @@ $SharedKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
227227
$LogType = "MyRecordType"
228228
229229
# You can use an optional field to specify the timestamp from the data. If the time field is not specified, Azure Monitor assumes the time is the message ingestion time
230-
$TimeStampField = ""
230+
$TimeStampField = "DateValue"
231231
232232
233233
# Create two records with the same set of properties to create
234234
$json = @"
235235
[{ "StringValue": "MyString1",
236236
"NumberValue": 42,
237237
"BooleanValue": true,
238-
"DateValue": "2016-05-12T20:00:00.625Z",
238+
"DateValue": "2019-09-12T20:00:00.625Z",
239239
"GUIDValue": "9909ED01-A74C-4874-8ABF-D2678E3AE23D"
240240
},
241241
{ "StringValue": "MyString2",
242242
"NumberValue": 43,
243243
"BooleanValue": false,
244-
"DateValue": "2016-05-12T20:00:00.625Z",
244+
"DateValue": "2019-09-12T20:00:00.625Z",
245245
"GUIDValue": "8809ED01-A74C-4874-8ABF-D2678E3AE23D"
246246
}]
247247
"@

0 commit comments

Comments
 (0)