Skip to content

Instantly share code, notes, and snippets.

@johnib
Created October 17, 2017 18:07
Show Gist options
  • Save johnib/b21dc71ceabf7089e638fe4102c8a92e to your computer and use it in GitHub Desktop.
Save johnib/b21dc71ceabf7089e638fe4102c8a92e to your computer and use it in GitHub Desktop.
//Script GUID:58510d92-ebdf-40e0-a6bf-edf02736c276
//Used for tracking history
MODULE @"/shares/AzureAnalytics.Prod/Sdk/AzureAnalytics1.3.module" AS AzureAnalytics;
AzureAnalytics.Initialize
(
entity = "Microsoft.Cloud.ailxbeft"
);
rs =
AzureAnalytics.LoadStream
(
entity = "Microsoft.Cloud.ailxbeft",
startDateTime = "2017-10-15 00:00",
endDateTime = "2017-10-18 00:00"
);
aggregatedData =
SELECT *
FROM rs;
processedData =
PROCESS aggregatedData
USING IngestionLatencyDataProcessor;
OUTPUT processedData
TO "/my/test2.txt";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment