Monitoring and reporting for Veeam Data Platform
Post Reply
JWilliams
Influencer
Posts: 10
Liked: never
Joined: Sep 17, 2013 1:48 pm
Full Name: Jayme Williams
Contact:

Wildcard in Expressions

Post by JWilliams »

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
Vitaliy S.
VP, Product Management
Posts: 27115
Liked: 2720 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Wildcard in Expressions

Post by Vitaliy S. »

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!
JWilliams
Influencer
Posts: 10
Liked: never
Joined: Sep 17, 2013 1:48 pm
Full Name: Jayme Williams
Contact:

Re: Wildcard in Expressions

Post by JWilliams »

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
Vitaliy S.
VP, Product Management
Posts: 27115
Liked: 2720 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Wildcard in Expressions

Post by Vitaliy S. »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests