Hi,
Why does solarwinds have multiple primary keys and how do I select distinct in SWQL?
Regards,
Rawwinton
Could you post the query you used to get that data?
SELECT SubnetId, ParentId, FriendlyName, URI
FROM IPAM.Subnet
Based on number of users created in Orion, IPAM will duplicate such number of subnets in IPAM.Subnet. You may use IPAM.GroupReport SWIS entity.
This SWIS entity is filtered with respective to SWQL studio login .That means if you have entered through 'admin' account then IPAM.GroupReport will give information related to admin account.
I have posted below Sample Query that will give exact information like IPAM.subnet
SELECT GroupId as subnetid, ParentId, FriendlyName,URI
FROM IPAM.GroupReport
i did try to run the query but it returned me an empty result set.