# Entity Selector for Specific Process Group using Properties

**URL:** <https://community.dynatrace.com/t/entity-selector-for-specific-process-group-using-properties/36926>\
**Category:** Open Q&A\
**Tags:** tagging\
**Created:** [October 17, 2022, 8:41pm UTC](https://community.dynatrace.com/t/entity-selector-for-specific-process-group-using-properties/36926 "2022-10-17T20:41:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sivart\_89](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@sivart\_89](https://community.dynatrace.com/u/sivart_89)\
**Post date:** [October 17, 2022, 8:41pm UTC](https://community.dynatrace.com/t/entity-selector-for-specific-process-group-using-properties/36926/1 "2022-10-17T20:41:03Z")

</div>

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](https://global.discourse-cdn.com/dynatrace/original/3X/c/9/c9bd14673ba0dccfed46f0eff5f87368c6984b99.png)

---

<div class="post-metadata">

**Author:** ![riley\_mcclellan](https://avatars.discourse-cdn.com/v4/letter/r/91b2a8/32.png) [@riley\_mcclellan](https://community.dynatrace.com/u/riley_mcclellan)\
**Post date:** [November 17, 2022, 11:11pm UTC](https://community.dynatrace.com/t/entity-selector-for-specific-process-group-using-properties/36926/2 "2022-11-17T23:11:17Z")

</div>

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
