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

entity selector with regex

David_Guillen
Visitor

Hi

I create automaticaly tags with entity selector and my question is if i can use the regex in the entity selector.

I have this type(CLOUD_APPLICATION_NAMESPACE),toRelationships.isClusterOfNamespace(type(KUBERNETES_CLUSTER),fromRelationships.isClusterOfHost(type(HOST),hostGroupName.exists()))

I would like change hostGroupName.exists() for something that hostGroupName.name(Contain regex)

is it possible?

Thanks a lot

2 REPLIES 2

ChadTurner
DynaMight Legend
DynaMight Legend

From my understanding, you cannot leverage regex in the entity selector from my understanding. You will be limited to the following documented rules. 

https://docs.dynatrace.com/docs/shortlink/api-entities-v2-selector#name

-Chad

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

Maybe, you can raise a product idea about it.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Featured Posts