Create dynamic tag rules to tag your Azure instances based on Azure metadata as collected by the Azure Connector. For each tag rule you’ll provide a search query with Azure instance information.
It's easy to get started! 1) Click New Tag, 2) choose the Cloud Asset Search tag rule, 3) select the cloud provider, and 4) enter your query. Just start typing in the Query field and we’ll show you the Azure attributes you can search.
The syntax is different when writing queries for tag rules than when searching assets in the Assets list. Be sure to follow the syntax tips in the drop-down when writing your query.
Find Azure instances located in East US region:
Find Azure instances with specific group name:
Find Azure instances of standard size:
Find Azure instances based on IPs (comma-separated list or range):
azure.vm.privateIpAddress: [10.95.0.0... 10.95.0.255]
Find Azure instances for specific subscription ID:
Find Azure instances for specific tags:
azure.tags: (name: owner and value:amy)