Property reference

sa.map.auto_grouping_host_name_regex

Defines ordered regular expressions that identify common hostname parts for automatic CI grouping on maps. Capturing groups supply the hostname parts evaluated by the grouping algorithm, and the default pattern can omit a trailing number and optional letter from the captured prefix.

Default
/^([\w-]+?)(?:\d+[a-z]?)?$/
Type
string
Application
Global

Key questions about this property

The answers below summarize the purpose, scope, default effect, and review scenarios for this property.

What does it do? This property specifies a comma-separated list of regex patterns that determine how host names are analyzed for common parts in the auto-grouping process.
What area does it affect? Auto-grouping configuration
What does the default mean? The default value is "/^([\w-]+?)(?:\d+[a-z]?)?$/", which is the baseline setting used unless it is changed.
When should you review it? Review this property when adjusting host name patterns or troubleshooting grouping issues.

Out of the box property record

Raw metadata from the property record.

Property name sa.map.auto_grouping_host_name_regex
Sys ID b3179ff0c3313200b5be1962c1d3ae2d
Type string
Application Global
Default value /^([\w-]+?)(?:\d+[a-z]?)?$/
Description Comma separted list of RegEx that will be used to find common parts in host name when auto-grouping CIs on map. All capturing groups in regex define the common part of host name that will be evaluated in auto-grouping algorithm. RegEx on top of list has higher priority and executed before the following RegEx in the list. List format: /regex1/,/regex2/,/regex3/,... Default value: /^([\w-]+?)(?:\d+[a-z]?)?$/ Sometimes it's required to logically group elements in regex, but not to include the group in common part of host name. In such cases use non-capturing group. The syntax is: (?:<content of group>) Example in default value: (?:\d+[a-z]?)
Updated 2024-05-25 03:39:07

Sources

Official references and nearby text excerpts where this property appears.

More in sa

Other properties in the same namespace.

All 119 properties in sa →