要创建自定义组,请在 XML 文件中复制以下语法:
<groups>
<group name=" " type=" ">
<instances type=" ">
<instance>
<attribute name=" " value=" " operator=" " relation=" " />
</instance>
</instances>
</group>
</groups>
备注:复制要为自定义组定义的每个实体类型的属性标记。
下表提供了对上述示例中所使用的标记的描述。
字段 | 描述 |
---|---|
group name | 新建自定义组的名称。 |
type | 组类型。 |
instances type | 与 K_CI 表一致的维度表。 |
attribute name | 维度表中列的名称,在 <instance type> 标记中定义。将基于此列中的值来完成分组。 |
value |
维度表中要为其创建自定义组的节点名称。 |
operator |
用于搜索节点名称值的运算符。运算符的值可能为“LIKE”或者“EQUALS”。 备注: 如果没有定义运算符值,则 (Undefined variable: MyVariables.productname_short) 将认为默认值为“EQUALS”。 |
relation |
确定属性名称和值之间的关系。关系的值可能为“AND”或者“OR”。 备注:如果没有定义关系值,则 (Undefined variable: MyVariables.productname_short) 将认为默认值为“AND”。 |
有关自定义语法的示例,请参阅: