diff options
| author | Roy Ben Shabat <roy.mail.net@gmail.com> | 2025-08-22 17:05:23 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <roy.mail.net@gmail.com> | 2025-08-22 17:05:23 +0300 |
| commit | b09f463df418b2acaac65c725be33b242a3db2c5 (patch) | |
| tree | 50c3dbf57ee217ddd40f883dd9c711aab9983cfb /Software/Visual_Studio/Tango.Telemetry/Kusto Scripts/Logs Table Update Policy.kql | |
| parent | 27581825838039ef77ba1c6466f044b61eb8a009 (diff) | |
| download | Tango-b09f463df418b2acaac65c725be33b242a3db2c5.tar.gz Tango-b09f463df418b2acaac65c725be33b242a3db2c5.zip | |
Kusto Scripts.
Diffstat (limited to 'Software/Visual_Studio/Tango.Telemetry/Kusto Scripts/Logs Table Update Policy.kql')
| -rw-r--r-- | Software/Visual_Studio/Tango.Telemetry/Kusto Scripts/Logs Table Update Policy.kql | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Telemetry/Kusto Scripts/Logs Table Update Policy.kql b/Software/Visual_Studio/Tango.Telemetry/Kusto Scripts/Logs Table Update Policy.kql new file mode 100644 index 000000000..bec79d4a1 --- /dev/null +++ b/Software/Visual_Studio/Tango.Telemetry/Kusto Scripts/Logs Table Update Policy.kql @@ -0,0 +1 @@ +.alter table LogsTable policy update @'[{"IsEnabled": true,"Source": "TelemetryTable","Query": "let raw = materialize(TelemetryTable | where Type == \"Log\" | extend payload = Telemetry | project SerialNumber, MachineType, Environment, Organization, Site, CreatedTime, UploadTime, Source = tostring(payload.Source), Category = tostring(payload.Category), Class = tostring(payload.Class), Method = tostring(payload.Method), Line = toint(payload.Line), Message = tostring(payload.Message)); raw","IsTransactional": false,"PropagateIngestionProperties": true}]' |
