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/essentials/data-collection-rule-transformations.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,9 +59,7 @@ Transformations don't currently support [has](/azure/data-explorer/kusto/query/h
59
59
60
60
61
61
### Handling dynamic data
62
-
Since the properties of type [dynamic](/azure/data-explorer/kusto/query/scalar-data-types/dynamic) aren't supported in the input stream schema, you need alternate methods for strings containing JSON.
63
-
64
-
Consider the following input:
62
+
Consider the following input with [dynamic data](/azure/data-explorer/kusto/query/scalar-data-types/dynamic):
65
63
66
64
```json
67
65
{
@@ -74,7 +72,7 @@ Consider the following input:
74
72
}
75
73
```
76
74
77
-
In order to access the properties in *AdditionalContext*, define it as string-typed column in the input stream:
75
+
In order to access the properties in *AdditionalContext*, define it as dynamic-typed column in the input stream:
78
76
79
77
```json
80
78
"columns": [
@@ -88,7 +86,7 @@ In order to access the properties in *AdditionalContext*, define it as string-ty
88
86
},
89
87
{
90
88
"name": "AdditionalContext",
91
-
"type": "string"
89
+
"type": "dynamic"
92
90
}
93
91
]
94
92
```
@@ -103,15 +101,13 @@ source
103
101
```
104
102
105
103
### Dynamic literals
106
-
[Dynamic literals](/azure/data-explorer/kusto/query/scalar-data-types/dynamic#dynamic-literals) aren't supported, but you can use the [parse_json function](/azure/data-explorer/kusto/query/parsejsonfunction) as a workaround.
104
+
Use the [parse_json function](/azure/data-explorer/kusto/query/parsejsonfunction) to handle [dynamic literals](/azure/data-explorer/kusto/query/scalar-data-types/dynamic#dynamic-literals).
107
105
108
-
For example, the following query isn't supported:
106
+
For example, the following queries provide the same functionality:
0 commit comments