cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Esben_D
Lansweeper Employee
Lansweeper Employee
The report below gives back a list of AWS Instances and their network interfaces.

The report will only list assets when the following criteria are met:
  • You have Lansweeper 7.1 or higher.
  • There is AWS Instance data scanned.
  • The asset has the active state.

Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tsysIPLocations.IPLocation,
tblAssetCustom.Manufacturer,
tblAWSInstance.InstanceId,
tblAWSInstance.InstanceType,
tblAWSInstance.Platform,
tblAWSInstance.Region,
tblAWSInstance.State,
tblAWSNetworkInterface.NetworkInterfaceId,
tblAWSNetworkInterface.PrivateIPAddress,
tblAWSNetworkInterface.PrivateDNSName,
tblAWSNetworkInterface.MacAddress,
tblAWSNetworkInterface.Status,
tblAWSNetworkInterface.InterfaceType,
tblAWSIpAddress.IpAddress As InterfaceIpAddress,
tblAWSIpAddress.Type
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tsysIPLocations On tsysIPLocations.LocationID =
tblAssets.LocationID
Inner Join tblState On tblState.State = tblAssetCustom.State
Inner Join tblAWSInstance On tblAWSInstance.AssetId = tblAssets.AssetID
Inner Join tblAWSNetworkInterface On tblAWSNetworkInterface.AWSInstanceId =
tblAWSInstance.AWSInstanceId
Inner Join tblAWSIpAddress On tblAWSIpAddress.AWSNetworkInterfaceId =
tblAWSNetworkInterface.AWSNetworkInterfaceId
Where tblState.Statename = 'Active'
Order By tblAWSInstance.Region,
tblAssets.IPNumeric,
tblAssets.AssetName,
tblAWSNetworkInterface.NetworkInterfaceId,
InterfaceIpAddress
0 REPLIES 0

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now