Is it possible to use wildcards in expressions such as:
CASE
WHEN CustomAttribute("Backup") = "Veeam Backup: Job name: [03c. UNI Monthly Active Directory Backup]*" THEN "03c. UNI Monthly Active Directory Backup"
etc, etc, etc for all relevant backup jobs
End
I am using veeam backup and replication to populate a custom attribute in VCenter named backup with backup info which changes, such as time and date stamp. Therefore I cannot look for a static string but I want to provide the backup info business view to others
-
- Influencer
- Posts: 10
- Liked: never
- Joined: Sep 17, 2013 1:48 pm
- Full Name: Jayme Williams
- Contact:
-
- VP, Product Management
- Posts: 27377
- Liked: 2802 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Wildcard in Expressions
Hi Jayme,
These kind of wildcards are not possible in the dynamic grouping expression, however you can try to use "left" method to parse VM custom attribute. Let me talk to the dev team tomorrow about possible ways to solve this.
Thanks!
These kind of wildcards are not possible in the dynamic grouping expression, however you can try to use "left" method to parse VM custom attribute. Let me talk to the dev team tomorrow about possible ways to solve this.
Thanks!
-
- Influencer
- Posts: 10
- Liked: never
- Joined: Sep 17, 2013 1:48 pm
- Full Name: Jayme Williams
- Contact:
Re: Wildcard in Expressions
Vitaliy S. wrote:Hi Jayme,
These kind of wildcards are not possible in the dynamic grouping expression, however you can try to use "left" method to parse VM custom attribute. Let me talk to the dev team tomorrow about possible ways to solve this.
Thanks!
Thank You
-
- VP, Product Management
- Posts: 27377
- Liked: 2802 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Wildcard in Expressions
You can try to create this expression that would parse the name of the attribute and categorize VMs accordingly. Here is an example of how can "left" method be used:
Code: Select all
CASE WHEN Left(CustomAttribute("CAName"),6) = "Backup" THEN "e2" ELSE "e4" END
Who is online
Users browsing this forum: No registered users and 4 guests