Queries for the ContainerImageInventory table

For information on using these queries in the Azure portal, see Log Analytics tutorial. For the REST API, see Query.

Image inventory

Lists all the container image with their status.

ContainerImageInventory
| summarize AggregatedValue = count() by Image, ImageTag, Running, _ResourceId

Find In ContainerImageInventory

Find in ContainerImageInventory to search for a specific value in the ContainerImageInventory table./nNote that this query requires updating the <SeachValue> parameter to produce results

// This query requires a parameter to run. Enter value in SearchValue to find in table.
let SearchValue =  "<SearchValue>";//Please update term you would like to find in the table.
ContainerImageInventory
| where * contains tostring(SearchValue)
| take 1000