Skip to content

Commit 356c04c

Browse files
authored
Merge pull request #51252 from kerend/patch-7
Update mapping
2 parents 947b028 + b50d866 commit 356c04c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/data-explorer/ingest-data-event-hub.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Now you create a table in Azure Data Explorer, to which Event Hubs will send dat
8989
1. Copy the following command into the window and select **Run** to map the incoming JSON data to the column names and data types of the table (TestTable).
9090
9191
```Kusto
92-
.create table TestTable ingestion json mapping 'TestMapping' '[{"column":"TimeStamp","path":"$.timeStamp","datatype":"datetime"},{"column":"Name","path":"$.name","datatype":"string"},{"column":"Metric","path":"$.metric","datatype":"int"},{"column":"Source","path":"$.source","datatype":"string"}]'
92+
.create table TestTable ingestion json mapping 'TestMapping' '[{"column":"TimeStamp", "Properties": {"Path": "$.timeStamp"}},{"column":"Name", "Properties": {"Path":"$.name"}} ,{"column":"Metric", "Properties": {"Path":"$.metric"}}, {"column":"Source", "Properties": {"Path":"$.source"}}]'
9393
```
9494
9595
## Connect to the event hub

0 commit comments

Comments
 (0)