# Process Group Name

**URL:** <https://community.dynatrace.com/t/process-group-name/42887>\
**Category:** DQL\
**Tags:** dql, entity-selector, notebooks\
**Created:** [November 28, 2023, 8:54pm UTC](https://community.dynatrace.com/t/process-group-name/42887 "2023-11-28T20:54:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![errolclements](https://avatars.discourse-cdn.com/v4/letter/e/ee59a6/32.png) [@errolclements](https://community.dynatrace.com/u/errolclements)\
**Post date:** [November 28, 2023, 8:54pm UTC](https://community.dynatrace.com/t/process-group-name/42887/1 "2023-11-28T20:54:51Z")

</div>

I am trying to put together a notebook to see network load by process, I am only seeing an option for seeing the process group and it is only giving it by ID. I would like to see the actual process group entity name on my chart but my lookup fails to provide it, and there is no name option for process group as a by: process option as where host.name exists for the same purpose for looking at your hosts without needing to use a lookup. Can any help me out.

Thanks!

---

<div class="post-metadata">

**Author:** ![sinisa\_zubic](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sinisa_zubic/32/32498_2.png) [@sinisa\_zubic](https://community.dynatrace.com/u/sinisa_zubic)\
**Post date:** [November 29, 2023, 6:44pm UTC](https://community.dynatrace.com/t/process-group-name/42887/2 "2023-11-29T18:44:27Z")

</div>

Hi&nbsp;[@errolclements](https://community.dynatrace.com/user/69316)

Is this the query you are looking for?

```markup
timeseries {trafficIn=avg(dt.process.network.traffic.traffic_in),trafficOut=avg(dt.process.network.traffic.traffic_out)},
  by: {dt.entity.process_group}
| fieldsAdd pgname = lookup([fetch dt.entity.process_group], lookupField:id, sourceField:dt.entity.process_group)[entity.name]

```

You can try it out in the [Discover Dynatrace environment](https://wkf10640.apps.dynatrace.com/ui/intent/dynatrace.notebooks/view-query#%7B%22dt.query%22%3A%22timeseries%20%7BtrafficIn%3Davg(dt.process.network.traffic.traffic_in)%2CtrafficOut%3Davg(dt.process.network.traffic.traffic_out)%7D%2C%5Cn%20%20by%3A%20%7Bdt.entity.process_group%7D%5Cn%7C%20fieldsAdd%20pgname%20%3D%20lookup(%5Bfetch%20dt.entity.process_group%5D%2C%20lookupField%3Aid%2C%20sourceField%3Adt.entity.process_group)%5Bentity.name%5D%22%2C%22dt.timeframe%22%3A%7B%22from%22%3A%22now-2h%22%2C%22to%22%3A%22now%22%7D%2C%22hideInput%22%3Afalse%2C%22sourceApplication%22%3A%22dynatrace.notebooks%22%2C%22visualization%22%3A%22lineChart%22%2C%22visualizationSettings%22%3A%7B%22thresholds%22%3A%5B%5D%2C%22chartSettings%22%3A%7B%22gapPolicy%22%3A%22connect%22%2C%22circleChartSettings%22%3A%7B%22groupingThresholdType%22%3A%22relative%22%2C%22groupingThresholdValue%22%3A0%2C%22valueType%22%3A%22relative%22%7D%2C%22categoryOverrides%22%3A%7B%7D%7D%2C%22singleValue%22%3A%7B%22showLabel%22%3Atrue%2C%22label%22%3A%22%22%2C%22prefixIcon%22%3A%22%22%2C%22autoscale%22%3Atrue%2C%22alignment%22%3A%22center%22%7D%2C%22table%22%3A%7B%22rowDensity%22%3A%22condensed%22%2C%22enableSparklines%22%3Afalse%2C%22hiddenColumns%22%3A%5B%5D%2C%22lineWrapIds%22%3A%5B%5D%2C%22firstVisibleRowIndex%22%3A0%2C%22columnWidths%22%3A%7B%7D%7D%7D%7D).

Best,  
Sini

---

<div class="post-metadata">

**Author:** ![errolclements](https://avatars.discourse-cdn.com/v4/letter/e/ee59a6/32.png) [@errolclements](https://community.dynatrace.com/u/errolclements)\
**Post date:** [November 30, 2023, 3:42pm UTC](https://community.dynatrace.com/t/process-group-name/42887/3 "2023-11-30T15:42:56Z")

</div>

Fantastic that worked!

---

<div class="post-metadata">

**Author:** ![pds\_sis](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@pds\_sis](https://community.dynatrace.com/u/pds_sis)\
**Post date:** [October 24, 2025, 11:31am UTC](https://community.dynatrace.com/t/process-group-name/42887/4 "2025-10-24T11:31:27Z")

</div>

Hi Sinisa

I am trying to use this query in DQL in my notepad but its not giving me any out output, I have multiple hosts in our environment. Any clue or suggestion please.

Thanks

 ![notepad.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/6/e66b64c2f30f43fcb0cd1870eb5373e82e7f8dc3.png)

---

<div class="post-metadata">

**Author:** ![Nick-Montana](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nick-montana/32/2051_2.png) [@Nick-Montana](https://community.dynatrace.com/u/Nick-Montana)\
**Post date:** [October 24, 2025, 1:54pm UTC](https://community.dynatrace.com/t/process-group-name/42887/5 "2025-10-24T13:54:00Z")

</div>

Hi,

In DQL the entityName() function will convert an entityId to its displayName in the results. Try

entityName(dt.entity.process\_group)

---

<div class="post-metadata">

**Author:** ![pds\_sis](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@pds\_sis](https://community.dynatrace.com/u/pds_sis)\
**Post date:** [October 24, 2025, 2:16pm UTC](https://community.dynatrace.com/t/process-group-name/42887/6 "2025-10-24T14:16:28Z")

</div>

Hi Nick

I understand what you mean however even if I am try to break the query to run the below, I get no output.

timeseries {trafficIn=avg(dt.process.network.traffic.traffic\_in),trafficOut=avg(dt.process.network.traffic.traffic\_out)}, by: {dt.entity.process\_group}
