# DQL - get the top 5 process of each host

**URL:** <https://community.dynatrace.com/t/dql-get-the-top-5-process-of-each-host/40034>\
**Category:** DQL\
**Tags:** dql\
**Created:** [June 1, 2023, 5:40pm UTC](https://community.dynatrace.com/t/dql-get-the-top-5-process-of-each-host/40034 "2023-06-01T17:40:13Z")\
**Posts on this page:** 1\
**Showing post:** 11

<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:** [June 16, 2023, 1:36pm UTC](https://community.dynatrace.com/t/dql-get-the-top-5-process-of-each-host/40034/11 "2023-06-16T13:36:13Z")

</div>

Thx for the insights. One way I can achieve this is with Dynatrace workflows. You could create a workflow that calculates the top5 processes for every host and ingest that information back into Dynatrace (e.g. as logs or biz events). The workflow can be scheduled to be executed every hour. Then you would have the data easy accessible with DQL.

Improvements on the DQL side are in the making, so that you don’t have to go that way through workflows. But I can’t give you any ETA on that.

Best,  
SIni

---

_[View the full topic](https://community.dynatrace.com/t/dql-get-the-top-5-process-of-each-host/40034)._
