|
| 1 | +--- |
| 2 | +title: Visualize device simulation telemetry with Azure Time Series Insights | Microsoft Docs |
| 3 | +description: Learn how to configure your Time Series Insights environment to explore and analyze telemetry generated by the Device Simulation solution accelerator. |
| 4 | +author: dominicbetts |
| 5 | +manager: timlt |
| 6 | +ms.author: dobett |
| 7 | +ms.date: 08/20/2018 |
| 8 | +ms.topic: conceptual |
| 9 | +ms.service: iot-accelerators |
| 10 | +services: iot-accelerators |
| 11 | +--- |
| 12 | + |
| 13 | +# Use Time Series Insights to visualize telemetry sent from the Device Simulation solution accelerator |
| 14 | + |
| 15 | +The Device Simulation solution accelerator lets you generate telemetry from simulated devices to test your IoT solutions. This how-to guide shows you how to visualize and analyze the simulated telemetry using a Time Series Insights environment. |
| 16 | + |
| 17 | +## Prerequisites |
| 18 | + |
| 19 | +To follow the steps in this how-to guide, you need an active Azure subscription. If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin. |
| 20 | + |
| 21 | +The steps in this how-to guide assume you've deployed the Device Simulation solution accelerator to your Azure subscription. If you haven't deployed the solution accelerator, follow the steps in the [Deploy and run a cloud-based device simulation solution](quickstart-device-simulation-deploy.md) quickstart. |
| 22 | + |
| 23 | +This article assumes the name of your solution accelerator is **contoso-simulation**. Replace **contoso-simulation** with the name of your solution accelerator as you complete the following steps. |
| 24 | + |
| 25 | +[!INCLUDE [cloud-shell-try-it.md](../../includes/cloud-shell-try-it.md)] |
| 26 | + |
| 27 | +[!INCLUDE [iot-accelerators-create-tsi.md](../../includes/iot-accelerators-create-tsi.md)] |
| 28 | + |
| 29 | +## Start a simulation |
| 30 | + |
| 31 | +Before you use Time Series Insights explorer, configure the Device Simulation solution accelerator to generate some telemetry. The following screenshot, shows a running simulation with 10 chiller devices: |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | +## Time Series Insights explorer |
| 36 | + |
| 37 | +The Time Series Insights explorer is a web app you can use to visualize your telemetry. |
| 38 | + |
| 39 | +1. In the Azure portal, select the Time Series Insights **Overview** tab. |
| 40 | + |
| 41 | +1. To open the Time Series Insights explorer web app, click **Go to Environment**: |
| 42 | + |
| 43 | +  |
| 44 | + |
| 45 | +1. In the time selection panel, select **Last 30 minutes** from the quick times menu and click **Search**: |
| 46 | + |
| 47 | +  |
| 48 | + |
| 49 | +1. In the terms panel on the left, select **temperature** as the **Measure** and **iothub-connection-device-id** as the **Split By** value: |
| 50 | + |
| 51 | +  |
| 52 | + |
| 53 | +1. Right-click on the chart and select **Explore events**: |
| 54 | + |
| 55 | +  |
| 56 | + |
| 57 | +1. The event data shows in a grid: |
| 58 | + |
| 59 | +  |
| 60 | + |
| 61 | +1. Click the perspective view button: |
| 62 | + |
| 63 | +  |
| 64 | + |
| 65 | +1. Click **+** to add a new query to the perspective: |
| 66 | + |
| 67 | +  |
| 68 | + |
| 69 | +1. Select **Last 30 minutes** as the time span, **Humidity** as the **Measure**, and **iothub-connection-device-id** as the **Split By** value: |
| 70 | + |
| 71 | +  |
| 72 | + |
| 73 | +1. Click the perspective view button to view your device telemetry dashboard: |
| 74 | + |
| 75 | +  |
| 76 | + |
| 77 | +[!INCLUDE [iot-accelerators-cleanup-tsi.md](../../includes/iot-accelerators-cleanup-tsi.md)] |
| 78 | + |
| 79 | +## Next Steps |
| 80 | + |
| 81 | +To learn more about how to explore and query data in the Time Series Insights explorer, see [Azure Time Series Insights explorer](../time-series-insights/time-series-insights-explorer.md). |
0 commit comments