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

Entity Selector for Specific Process Group using Properties

sivart_89
Mentor

Hey everyone,

 

I'm trying to use the v2 monitored entities /entities to build out a query that will pull back the exact process groups I want. In order to do that I was looking towards using the metadata properties listed in the output below. Specifically I am hoping to have something to show me all process groups that have a key of 'key_1' and a value of 'value_1'. Anyone done something like this before? I've looked at the doc but struggling when it comes to pulling in properties

 

travis_anderson_2-1666038977921.png

 

 

 

1 REPLY 1

riley_mcclellan
Dynatrace Advocate
Dynatrace Advocate

Hi Travis,

An important thing to remember when using the entity selector with metadata is you need the entity type first.

here is an example of using the metadata 'JAVA_JAR_FILE'
type(process_group),metadata("JAVA_JAR_FILE:com.dynatrace.easytravel.customer.frontend.jar")

as you can see it follows this format
type(<entity_type>),metadata("<key_1>:<value_1>")

 

Hope this helps!

Riley

 

 

Featured Posts