03 Oct 2022
01:27 PM
- last edited on
04 Oct 2022
04:21 AM
by
Ana_Kuzmenchuk
Hello,
Does the DT GUI allow us to filter on regular expressions or wild cards for the data explorer and custom alerting profiles?
I have a use case of collecting ready message count in a number of queues all with names ending in "*_error" , when I try to put in a similar wildcard it fails to filter on it.
Help/Advice appreciated.
thanks
Ven
Solved! Go to Solution.
regex is really only applicable in certain subsets of Dynatrace for example Auto Tags, Request Attributes, Management Zones etc....
Not sure I got the precise use case, but did you try entityName("_error") that works as "contains" clause? Unfortunately there is startsWith but not endsWith.
@pvr do you still need help with your case?
Or have you already found a solution? If yes, feel free to share. Other Community members would be happy to know the answer. 🙂
Hi All,
I was stuck in the same issue. I wanted to filter out all the results that were ending with some xyz string. In code tab of data explorer, there was a option called 'prefix' in filter. As I want to detect xyz suffix, I just used suffix in filter and it worked for me.
Long story short, you can use suffix key word like this:
filter(suffix("Dimension","<your sub string that you want to search>"))
and it will filter out all the data that has your desired sub string at the end.
🙂
Let me know if this works for you as well.