Login | Resource Management System



Demo for Real Time Analytics using Machine Temperature ApplicationRequirements:-Machine Temperature Application.Visual Studio Community Edition to run application.Azure Subscription.Steps :-Create Event Hub namespace named as “machineappehn”.Open Event Hub Namespace from All Resources ,click on event hub namespace and click +Event Hub to create an Event Hub named as “machineeh”.Open Event hub and create a shared access policy using Shared Access Keys option from left side with manage permissions.Create a Stream Analytics Job from + Create Resource option and click on Analytics section. Click on job you have created and Configure Input Alias, Output Alias and Query for streak analytics job.Input Alias: - InputStream Output Alias: - PowerBIOutput Select Power BI as an Output and Give credentials of account by clicking on Authorize and give dataset and tablename for realtime data.Login with account credentials.Now Click on Save.Configure Query Section: -Now Replace Existing Query with query given below and Save Query: -SELECT max(temperatureReadTimestamp) as WindowEnd, avg(temperature) as averageTemperature, stdevp(temperature) as stdeviationTemperature, max(temperature) as maxTemperature, min(temperature) as minTemperature, machineNameInto PowerBIOutputFROM InputStream TIMESTAMP BY temperatureReadTimestamp GROUP BY TUMBLINGWINDOW(s, 1), machineNameOpen Machine Temperature Application on visual studio.Right Click on EventHubDemo and go to properties.Replace connectionstring with the connection string of event hub.Click on All Resources, go to event hub namespace, select the event hub and go to shared access policy of Event hub and copy connection string.Paste it in connection string area of machine temperature application.Now click on save all and build application and click on start.Enter number of Machines as 6 and type status. Now Type m2 increase and then type status.Go to Azure Portal and start stream analytics job.Open and sign in with your account.Go to My WorkSpace and select Datasets.You can see a RealtimeDataStream dataset is created.Go to Dashboard and Create a new dashboard and add a new tile of type custom stream tile.Select the RealTimeDataStream Dataset and create a live report by selecting line chart and values for axis,legend,values and tumbling window of 10 sec and click on NEXT.Give the name to the report as “Live Temperature Data Report”.Now you can change value for temperature via application and see the live changes occur on power BI reports. ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download