I’ve a custom attribute having an array of app names defined in an host definition. All elements are necessary and pre-defined. I would like to search an element in the array starting with for e.g. tar: and exclude it and return only other elements in a function. The other elements don’t have any specific patterns.
Is this something possible in some way?