This topic describes how to view the collected data of a configuration list in a refined manner.
After a configuration list is created, you can use the aggregate feature to view a summary of the collected data. For example, you collect the application information of 100 instances. You can use the aggregate feature to view the number of applications that are installed on each instance.
You can also specify application properties to filter the collected data. For example, if you set the Name property to curl, the instances that contain the application named curl are returned.
Limits
Before you use the aggregate or filter feature, make sure that a configuration list is created and the collected data is submitted. For more information, see Create a configuration list.
Supported properties and operators
The aggregate feature supports the following list types and properties. You can also call the GetInventorySchema operation to query the information.
[
{
"TypeName": "ACS:InstanceInformation",
"Version": "1.0",
"Attributes": [
{
"DataType": "STRING",
"Name": "PlatformName" // The name of the instance platform. Example: aliyun.
},
{
"DataType": "STRING",
"Name": "PlatformType" // The type of the instance platform. Example: linux.
},
{
"DataType": "STRING",
"Name": "PlatformVersion" // The version of the instance platform. Example: 2.19.
}
]
},
{
"TypeName": "ACS:Application",
"Version": "1.0",
"Attributes": [
{
"DataType": "STRING",
"Name": "Name" // The name of the application.
},
{
"DataType": "STRING",
"Name": "Version" // The version of the application.
}
]
}
]
The filter feature supports the following operators:
Equal: returns the results whose property value is equal to the specified value.
NotEqual: returns the results whose property value is not equal to the specified value.
BeginWith: returns the results whose property value begins with the specified value.
LessThan: returns the results whose property value is less than the specified value.
GreaterThan: returns the results whose property value is greater than the specified value.
Aggregate or filter the collected data
After a configuration list takes effect, view the collected data on the Inventory Details tab.
On the Inventory Overview tab, view the aggregate results. By default, this tab displays the statistics of supported list types. These list types include the application name, application version, operating system type, operating system name, and operating system version.
Specify a property to filter the results.
In the Property Name field, choose ACS:Application > Name.
In the Attribute Value field, enter curl. The statistics of the application named curl appear on the Inventory Overview tab.
In the Property Name field, choose ACS:InstanceInformation > PlatformName.
In the Attribute Value field, enter centos. The statistics of the CentOS operating system appear on the Inventory Overview tab.