Add regex support for text-based Custom Host Attributes in WATO host search

12 votes

Currently, when filtering hosts in WATO using text-based fields such as Custom Host Attributes, the search only supports exact string matching. This significantly limits the ability to perform flexible and efficient host searches based on partial patterns or naming conventions.

I propose to add support for regular expression (regex) filtering in the WATO host search for text-based Custom Host Attributes.

This enhancement would:

Eliminate the current limitation of exact-only matching

Enable advanced pattern-based searches (e.g., starts with, ends with, structured formats)

Reduce the need to use external scripts or REST API queries for complex filtering tasks

Example use case: Search for hosts with a custom attribute that starts with "web-" and ends with a digit, using a pattern like ^web-.*[0-9]$.

Adding regex support would provide much-needed flexibility for administrators working with large and diverse infrastructures.

Thank you for considering this feature!

Under consideration Usability Suggested by: Luigi D'Acunto Upvoted: 22 May Comments: 1

Comments: 1
OldestNewestMost likesFewest likes