aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Telemetry/Kusto Scripts/Event Table Policy Update.kql
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.Telemetry/Kusto Scripts/Event Table Policy Update.kql')
-rw-r--r--Software/Visual_Studio/Tango.Telemetry/Kusto Scripts/Event Table Policy Update.kql1
1 files changed, 1 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Telemetry/Kusto Scripts/Event Table Policy Update.kql b/Software/Visual_Studio/Tango.Telemetry/Kusto Scripts/Event Table Policy Update.kql
new file mode 100644
index 000000000..b416563ed
--- /dev/null
+++ b/Software/Visual_Studio/Tango.Telemetry/Kusto Scripts/Event Table Policy Update.kql
@@ -0,0 +1 @@
+.alter table EventsTable policy update @'[{"IsEnabled": true,"Source": "TelemetryTable","Query": "let raw = materialize(TelemetryTable | where Type == \"Event\" | extend payload = Telemetry | project SerialNumber, MachineType, Environment, Organization, Site, CreatedTime, UploadTime, ID = tostring(payload.ID), HostName = tostring(payload.HostName), EventTypeGuid = tostring(payload.EventTypeGuid), Description = tostring(payload.Description)); raw","IsTransactional": false,"PropagateIngestionProperties": true}]'