Given a query that looks like this:
SELECT
EventDate,
system.Timestamp as test
INTO
[azuretableoutput]
FROM
[csvdata] TIMESTAMP BY EventDate
According to documentation, EventDate should now be used as timestamp.
However, when…
I've got a ASA output which sends the GPS coordinates of some devices devices to a Power BI Live datastream.
Data from ASA to Power BI looks something like this:
Device Lat Lon Time
1 1,12345 2,34567 19-1-2018…
So I got a bit of a problem.
I retrieve some weatherdata from an external API. This is returned as JSON and send to an Azure IoT hub. Stream analytics processes the json into a proper format, but I got a problem here.
The element: Current_Condition,…
I have the following SELECT clause in my Azure Stream Analytics Query:
SELECT DateAdd(mi, DateDiff(mi, 0, DateAdd(s, 30, Max(timecreated))), 0) as 'timestamp'
Which is giving the following error:
Second parameter of 'DateDiff' in expression…
I am running a set up, where Stream Analytics job is reading from Azure Event Hub. Event Hub is contained within a namespace and there is consumer group created for SA specifically.
Recently I noticed User Error on Event Hub metrics.
Event Hub…
I want to monitor some events coming from my application.
One option is to send data to Azure Event Hub and use stream analytics to do some post-processing and enter the data into cosmos db.
Another option is to store to cosmos db from application…
I have enriched the IoT Hub message based on Microsoft documentation and routing it to the built-in endpoint, and then having Stream Analytics access the messages by providing IoT Hub as the input to it.
IoT Hub message enrichment adds the…
In my Azure Stream Analytics Job, I want to create a window for each device (When data received for device). I'm using session window to maintain a separate window for each device. I want temperature threshold breach alert in every 5 minutes but…
Can I have multiple queries in the same output in Azure Stream Analytics Job?
For example
SELECT property1, property2 INTO Output1 WHERE Property3 ='Answer'
SELECT property4, property5 INTO Output1 WHERE Property3 ='Question'
In our IoT Solution that utilizes Azure IoT Hub on server side and Azure IoT Client SDK on Device side, we are seeing intermittent delay in time between device sent a status message over MQTT and message was received by IoT Hub.
In some cases, we…
I am using Azure Stream Analytics. I have data coming into event hubs. The data coming in looks as below:
[
{
"id": "a2b8bcd8-ff79-4bb7-a86f-615556104c1f",
"mechanism": "geo",
"datetimereporting": "2017-07-23…
I have a stream analytics application where events are JSON encoded and look like this
{customerID: 45, state:"S2" , timestamp:"2017-06-06 14:19:21.77"}
{customerID: 74, state:"S2" , timestamp:"2017-06-06 14:19:26.61"}
{customerID: 79, state:"S2" ,…
I'm trying to write a powershell script that creates a new streamAnalytics job in my azure portal account, with input source as iot-hub and output source as blob storage account.
To do so, I'm using AzureRM command new-streamAnalyticsJob, and json…
I'm trying to create a Stream Analytics blob storage output using powershell.
This is the command I'm using:
New-AzureRMStreamAnalyticsOutput -ResourceGroupName $ResourceGroupName -JobName $JobName –File soutput.json" -Force
and the output.json…
I have an EventHub stream as input and a Service Bus Queue as output.
My query uses TUMBLINGWINDOW to aggregate events to output to the queue from the stream.
If I have to pause the Stream Analytics and resume it later from the point it stopped,…