IoT Hub¶
Filters¶
- Standard Value Filter (see Generic Filters)
 Model: IotHubDescription
- ARM Resource Filters (see Generic Filters)
 MetricFilter - Filter on metrics from Azure Monitor - (see IoT Hub Supported Metrics)
Tag Filter - Filter on tags for actions previously applied to resource
Marked-For-Op Filter - Filter on tag that indicates a scheduled operation for a resource
Actions¶
ARM Resource Actions (see Generic Actions)
Example Policies¶
This policy will find all IoT Hubs with 1000 or more dropped messages over the last 72 hours
policies:
  - name: iothubs-dropping-messages
    resource: azure.iothub
    filters:
      - type: metric
        metric: d2c.telemetry.egress.dropped
        op: ge
        aggregation: total
        threshold: 1000
        timeframe: 72