ID: 15088
Title: Views: Regex in 'Joined column' is now possible
Component: Multisite
Level: 1
Class: New feature
Version: 2.2.0i1
Now you can use regexes in {{Joined column}}s. If multiple entries are found
the first one of the sorted entries will be used.
These regexes can be combined with macros in inventory based views and are
evaluated {{AFTER}} the macro replacements. These macros don't need to be
escaped, all other special characters have to be escaped:
{{ORA $SID$\.SYSTEM Tablespace}}
Example:
<ul>
<li>Choose {{Oracle instances}} as the data source</li>
<li>Choose {{SID}} with {{$SID$}} below macros</li>
<li>Now you can connect {{Services: Summary}} of the services
{{ORA $SID$.(SYSAUX|TEMP) Tablespace}} below {{Joined column}}</li>
</ul>
Note:
These regexes are basically case sensitive. If you need case insensitive
regexes you have to add the global flag {{(?i)}} at the beginning of this
regex.
Example:
<ul>
<li>From the data source {{Oracle instances}} we get the SIDs in upper case
format</li>
<li>Items in filesystem service description are in lower case format</li>
<li>Use the regex {{(?i)Filesystem /path/to/$SID$}} below {{Joined services}}
in order to join the related service column</li>
</ul>