#KQL Question

1 messages · Page 1 of 1 (latest)

uneven reef
#

I'm trying to query virtual machines and extend their network properties such as tehir ipv4, subnet, etc..

i started with this query but its not working
Resources
| where type =~ 'Microsoft.Compute/virtualMachines'
| extend os = properties.storageProfile.osDisk.osType
| join kind=lefouter (Resource
| where type =~ 'Microsoft.Network/networkinterfaces'
| project ipconfig.properties.privateIPAddress

long gyro
#

not sure I'm 100% following what you're doing, but you have too many typos in your query.

Here's a working IP query:

resources
    | where type =~ 'Microsoft.Network/networkinterfaces'
    | mv-expand properties.ipConfigurations```
uneven reef
long gyro
#

What part of the disk info, there's a ton.

#

OS disk, data disks, etc

uneven reef