Fleet indexing - Amazon IoT Core
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Fleet indexing

Note

The fleet indexing feature to support indexing named shadows and Amazon IoT Device Defender violations data is in preview release for Amazon IoT Device Management and is subject to change.

You can use fleet indexing to index, search, and aggregate your devices' data from the following sources: Amazon IoT registry, Amazon IoT Device Shadow, Amazon IoT connectivity, and Amazon IoT Device Defender violations. You can query a group of devices, and aggregate statistics on device records that are based on different combinations of device attributes, including state, connectivity, and device violations. With fleet indexing, you can organize, investigate, and troubleshoot your fleet of devices.

Fleet indexing provides the following capabilities.

  • Managing index updates

You can set up a fleet index so that it indexes updates for your thing groups, thing registries, device shadows, device connectivity, and device violations. When you enable fleet indexing, Amazon IoT creates an index for your things or thing groups. AWS_Things is the index created for all of your things. AWS_ThingGroups is the index that contains all of your thing groups. After fleet indexing is active, you can run queries on your index, such as finding all devices that are handheld and have more than 70-percent battery life. Amazon IoT keeps the index continually updated with your latest data. For more information, see Managing fleet indexing.

  • Searching across data sources

You can create a query string based on a simple query language and use it to search across the data sources you configure in the fleet indexing setting. The query string describes the things that you want to find. For more information about data sources that support fleet indexing, see Managing thing indexing.

  • Querying for aggregate data

You can search your devices for aggregate data and return statistics, percentile, cardinality, or a list of things with search queries pertaining to particular fields. For more information about aggregation query, see Querying for aggregate data.

  • Monitoring aggregate data by using fleet metrics

You can use fleet metrics to automatically send aggregate data to CloudWatch, analyzing trends and creating alarms to monitor the aggregate state of your fleet. For more information about fleet metrics, see Fleet metrics.

To use fleet indexing, you must set up your fleet indexing configuration. To set up fleet indexing configuration, you can use the Amazon IoT console, or if you prefer programmatic access, you can use the Amazon SDKs, or the Amazon Command Line Interface (Amazon CLI).

For information about pricing this and other services, see Amazon IoT Device Management Pricing.