Client identification compacting patterns
Concept
Client identifications are extracted from basic auth, certificates or JWT tokens.
These labels may be very long:
- Emails
- FQDN
- LDAP pointers
- ...
The compacting patterns are used against client identification labels to compact them to reduce the visual footprint while still being identifiers.
This is purely for visual comfort 😊.
tip
Use this feature to reduce the visual footprint of clients on the map, the sequence diagram, the grid, the dashboard.
Configuration
Patterns are defined in the Main settings
and may be shared by the selected team.
How does it work?
- The patterns are matched in order against the identification label.
- They must include a capture group
- The capture groups are extracted of the label.
- The groups are concatenated by '.' to return the 'compacted name' of the client.
- First pattern to match wins.
- If no 'compacted name' is return, the full identification label is displayed.
Where is it used?
Client identification compacting
feature is available to compact the name of clients on:
- Dashboard
- Map
- Sequence diagram
- Stats
- Grid
- Details
Examples
Pattern: ^(.*?)@sample\.com(?:_\d+)?$
Identification | Result |
---|---|
eventcarrier_poller@sample.com_20190717 | eventcarrier_poller |
pollutiondays2sampleapp_job@sample.com_20240113 | pollutiondays2sampleapp_job |
Pattern: ^(.*?)-test-(\w+?)\d+
Identification | Result |
---|---|
user-test-readOnly21@sample.com | user.readOnly |
user-test-readWrite5@sample.com | user.readwrite |