Plugins 〉AWS IoT SiteWise

Grafana Labs

Sign up to receive occasional product news and updates:

Data Source

AWS IoT SiteWise

  • Overview
  • Installation
  • Change log
  • Related content

AWS IoT SiteWise Datasource

This datasource supports reading data from AWS IoT SiteWise and showing it in a Grafana dashboard.

Add the data source

  1. In the side menu under the Configuration link, click on Data Sources.
  2. Click the Add data source button.
  3. Select IoT sitewise in the Industrial & IoT section.


The IoT SiteWise plugin authentication matches the standard Cloudwatch plugin system. See the grafana cloudwatch documentation for authentication options and setup.

Once authentication is configured, click "Save and Test" to verify the service is working. Once this is configured, you can specify default values for the configuration.

Query editor

Use the "query type" selector to pick an appropriate query. query-editor

Click on the "Explore" button to open an asset/model navigation interface: query-editor

Multiple aggregations can be shown for a single property: query-editor


Standard grafana alerting is support with this plugin, however note that alert queries may not include template variables. See the Alerting documentation for more on Grafana alerts.

Configure the data source with provisioning

You can configure data sources using config files with Grafana's provisioning system. You can read more about how it works and all the settings you can set for data sources on the provisioning docs page.

Here are some provisioning examples for this data source.

Using a credentials file

If you are using Credentials file authentication type, then you should use a credentials file with a config like this.

apiVersion: 1


  • name: IoT Sitewise type: grafana-iot-sitewise-datasource jsonData: authType: credentials defaultRegion: us-east-1

Using accessKey and secretKey

apiVersion: 1


  • name: IoT Sitewise type: grafana-iot-sitewise-datasource jsonData: authType: keys defaultRegion: us-east-1 secureJsonData: accessKey: ‘<your access key>’ secretKey: ‘<your secret key>’

Installing AWS IoT SiteWise on Grafana Cloud:

For more information, visit the docs on plugin installation.

Change Log

All notable changes to this project will be documented in this file.


  • Upgrade aws-sdk-go to v1.49.6 to have access to the ExecuteQuery API (#266)
  • Fix: Infer data type for disassociated streams for property value queries by alias (#275)


  • Use query region to get client for queries (#258)
  • Feat: implement an "all" option for list associated assets query (#261)


  • Support multiple assets for interpolated queries in (#256)[]


  • Query and Config editors: Migrate to new form styling under feature toggle in (#244)[]


  • Update dependencies and create-plugin configuration by @idastambuk in
  • Property aggregate processing: Move out ErrorEntries processing from SuccessEntries block by @idastambuk in
  • Bump from 0.37.0 to 0.44.0 by @dependabot in
  • Bump @babel/traverse from 7.17.10 to 7.23.2 by @dependabot in
  • Bump loader-utils from 2.0.2 to 2.0.4 by @dependabot in
  • Bump semver from 5.7.1 to 5.7.2 by @dependabot in
  • Bump from 1.58.2 to 1.58.3 by @dependabot in
  • Upgrade yaml package by @fridgepoet in
  • Upgrade underscore, debug dependencies by @fridgepoet in
  • Bump yaml from 2.2.1 to 2.3.4 by @dependabot in
  • Bump json5 from 2.2.1 to 2.2.3 by @dependabot in

Full Changelog:


  • Disassociated streams: Hash entryId to fix bug with property aliases longer than 64 characters in #239


  • Query by property alias: Add support for unassociated streams in #231


  • Revert "Replace deprecated setVariableQueryEditor with CustomVariableSupport" in #229


  • Update backend grafana-aws-sdk to v0.19.1 to add il-central-1 to the opt-in region list
  • Update frontend grafana/aws-sdk to v0.1.2 to limit grafana_assume_role only to enabled datasources


  • Update grafana/aws-sdk-react dependency


  • Fix: Fix scoped variables replacement in assetids such as repeat panels by @ahom


  • Fix: Property aggregate queries returning duplicated data
  • Fix: Query with expression only returns partial data


  • Include propertyName in data frame name for 'raw' queries


  • Fetch asset property info if asset id and property id are available
  • Handle expression queries with more than 250 data points


  • Replace deprecated setVariableQueryEditor with CustomVariableSupport in


  • Add ability to perform property queries by only specifying a property alias (#179)


  • Update grafana-aws-sdk version to include new region in opt-in region list
  • Security: Upgrade Go in build process to 1.20.4
  • Update grafana-plugin-sdk-go version to 0.161.0 to avoid a potential http header problem.


  • Update backend dependencies


  • Variables: Fix assetId field variable replacement (#172)
  • Bump coverage to version 0.1.19 (#173)
  • Update aws-sdk-go for the opt-in region list (#168)
  • Modify templates and add workflows for AWS Datasources squad (#163)
  • Migrate to create-plugin (#159) (#159)


  • Add Batch API support


  • Add response format selection to time series queries


  • Renamed last observed value feature to 'Expand Time Range'
  • The expand time range toggle now queries for the previous known value before the start of the current time range, and the next known value after the current time range.


  • Update Grafana AWS SDK dependencies to the latest versions
  • Update Grafana dependencies to 8.5.0


  • Add support for interpolated property value queries
  • Add support for last observed value in property value queries
  • Switch from long to wide series to support alerting


  • Add support to define template variables using iot-sitewise datasource queries
  • Add dashboard variable support in query editor


  • Make asset/model descriptions optional.


  • Fixes issue with asset explorer.
  • Adds support for query by property alias.


  • Add linux/LDAP based authentication for Edge region.


  • Update AUTO aggregation to better select the resolution, and switch to the raw asset property value data when higher than 1m resolution is needed.


  • Adds resource cache for describe calls in the plugin back-end


  • Updates shared aws configuration library
  • Bumps min version to 7.5


  • Shares auth configuration with cloudwatch
  • Bumps min version to 7.4


  • Allowing 'Edge' region
  • Support nil values in response #82
  • Update aws libraries


  • Initial Release