Skip to content

Commit 4889c2d

Browse files
Merge pull request #253459 from RepinStyle/docs-editor/data-collection-transformation-1696261435
Explain schema expectations for sending records to a custom table
2 parents 086b398 + 86a7849 commit 4889c2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-monitor/essentials/data-collection-transformations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ author: bwren
66
ms.author: bwren
77
ms.date: 07/17/2023
88
ms.reviwer: nikeist
9-
109
---
1110

1211
# Data collection transformations in Azure Monitor
@@ -236,7 +235,7 @@ The following example is a DCR for data from the Logs Ingestion API that sends d
236235

237236
### Combination of Azure and custom tables
238237

239-
The following example is a DCR for data from the Logs Ingestion API that sends data to both the `Syslog` table and a custom table with the data in a different format. This DCR requires a separate `dataFlow` for each with a different `transformKql` and `OutputStream` for each.
238+
The following example is a DCR for data from the Logs Ingestion API that sends data to both the `Syslog` table and a custom table with the data in a different format. This DCR requires a separate `dataFlow` for each with a different `transformKql` and `OutputStream` for each. When using custom tables, it is important to ensure that the schema of the destination (your custom table) contains the custom columns ([how-to add or delete custom columns](../logs/create-custom-table.md#add-or-delete-a-custom-column)) that match the schema of the records you are sending. For instance, if your record has a field called SyslogMessage, but the destination custom table only has TimeGenerated and RawData, you’ll receive an event in the custom table with only the TimeGenerated field populated and the RawData field will be empty. The SyslogMessage field will be dropped because the schema of the destination table doesn’t contain a string field called SyslogMessage.
240239

241240
```json
242241
{
@@ -307,3 +306,4 @@ The following example is a DCR for data from the Logs Ingestion API that sends d
307306
## Next steps
308307

309308
[Create a data collection rule](../agents/data-collection-rule-azure-monitor-agent.md) and an association to it from a virtual machine by using Azure Monitor Agent.
309+

0 commit comments

Comments
 (0)