Skip to main content
Version: 1.x

Type Filter Configuration

Overview

Type filter is a feature in queries that controls whether to include subtypes of CI types. CI types in CMDB typically have inheritance relationships. For example, Computer is the parent type of Windows and Linux. Type filter determines whether query results include only the parent type's instances or also include all or some subtypes' instances.

What this feature can do for you:

  • Precisely control the CI type scope of queries
  • Flexibly handle queries involving parent-child type relationships
  • Implement fine-grained type filtering strategies

Main Features

  • Include Subtypes: Include all subtypes' instances
  • Include Self Only: Include only the root CI type's own CI data
  • Customize Types: Set inclusion or exclusion rules for each subtype individually

Filter Option Description

OptionDescriptionUse Case
Include SubtypesQuery results include instances of this type and all its subtypesNeed to query the complete type hierarchy and get all related instances
Include Self OnlyQuery results include only this type's instances, excluding subtypesOnly need exact type matching, excluding all subtypes
Customize TypesSet inclusion or exclusion rules for specific subtypesNeed fine-grained control over inclusion or exclusion of certain subtypes

Customize Types

For complex query needs, you can use the Customize Types option to include only specific CI types.

Interface Layout

Customize Types

After selecting a CI category on the left, the right conditions have the following configuration options:

Dropdown List:

  • Include: Query results include CI instances of the specified type
  • Exclude: Query results exclude CI instances of the specified type

Apply to All Subclasses Checkbox:

  • Checked: Apply the above include or exclude condition to the selected CI type itself and all its subtypes
  • Unchecked: Apply the above include or exclude condition only to the type itself

Configuration Examples

Scenario 1: Query All Computers

SettingValueDescription
TypeComputerCI type
Filter ModeInclude SubtypesInclude all computer subtypes

Scenario 2: Query Only Open Source Web Servers

SettingValueDescription
TypeWeb ServerCI type
Filter ModeCustomize TypesUse fine-grained control
Apache Web ServerIncludeInclude Apache Web Server
Nginx Web ServerIncludeInclude Nginx Web Server