22 Aug 2024 07:30 PM - last edited on 23 Aug 2024 12:13 PM by MaciejNeumann
Hi All,
I'm trying to auto tag my custom device based on naming pattern. The pattern is as below,
23 Aug 2024 08:20 AM
Hello Susmita,
The regex to perform this action should look like:
-(CIT|UAT)-
This will cover the three different scenarios that you presented.
Hope you a good monitoring!
23 Aug 2024 09:49 PM
Thanks for your response. However, I need to pick up that CIT or UAT and i want to use them to tag as environment. I can always use contains, but then i have to create many rules for each environment. So I was looking for a solution where I can just use the regex pattern and pick that part of the string as environment and use it dynamically for all lower environments. For production, I have separate rule, as there is no way to identify the environment for the custom device name.