cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using wildcart for create automatically TAG

Borisk
Observer
I try to create automatically TAG according to networkZone.
For this I use "Entity selector" like below : 
 
type(HOST),networkZone("myzone")
 
Unfortunately, I didn't find the correct syntax or regex for how I can use the operators  "like"  and "not equal" in this selector. 
 
My goal 
NetworkZone will be like "myzone*"
 
Thanks in advance.
3 REPLIES 3

Hi @Borisk ,

I think it's not possible tagging by network zones.

Anyway, you can know what hosts belong to each network zone from Deployment Status:

 

erh_inetum_0-1719293121352.png

Tagging by network zone could be useful, so you could create a product idea with it.

Hope it helps.

Regards,

Elena.

 

Hello Elena.

Many thanks for your answer.

I'm sorry if didn't clarify my quetion.

First of all, I have created and worked with  automatically TAG by network zone. It's working good.

My question was, what are correct syntax for using wildcards in "Entity selector" field.

For example, I have 2 network zone myzone_01 and myzone_02.

If I use type(HOST),networkZone("myzone_01") it gets all hosts that network zone equal myzone_01.

My Goal get all host from two network zone - type(HOST),networkZone("myzone_*")

Hey @Borisk ,
Something like this would help I guess, type(HOST),networkZone.in("myzone_1,"myzone_2").
I didn't test it but can you check and let me know? I did this for entityName used something like entityName.in and it worked so this should work too.
Regards,
@Maheedhar_T 

Maheedhar

Featured Posts