# Dashboards - filter by a host property

**URL:** <https://community.dynatrace.com/t/dashboards-filter-by-a-host-property/44131>\
**Category:** Dashboarding\
**Tags:** dql, dynatrace-managed, data-explorer, dashboards, dashboards-classic\
**Created:** [February 14, 2024, 7:42pm UTC](https://community.dynatrace.com/t/dashboards-filter-by-a-host-property/44131 "2024-02-14T19:42:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![estrella86](https://avatars.discourse-cdn.com/v4/letter/e/e19b73/32.png) [@estrella86](https://community.dynatrace.com/u/estrella86)\
**Post date:** [February 14, 2024, 7:42pm UTC](https://community.dynatrace.com/t/dashboards-filter-by-a-host-property/44131/1 "2024-02-14T19:42:45Z")

</div>

Hello,

I am new to Dynatrace and am just learning about dashboards. I’ve tried to find this info but having no luck.&nbsp;If I add a graph from a host to a new dashboard and look at it in Data Explorer, I can see queries like this:

builtin:host.mem.total:filter(eq(“dt.entity.host”,_hostname_))

Can I instead of using a specific _hostname_, look at hosts that contain a specific property? For example if I click on the host and go to properties and tags I see all the discovered properties like IP addresses, OS version, instance type, security groups, a bunch of stuff. Can all of these properties be used in the query so that I can grab info on multiple hosts that for example have the same property?

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [February 14, 2024, 8:25pm UTC](https://community.dynatrace.com/t/dashboards-filter-by-a-host-property/44131/2 "2024-02-14T20:25:29Z")

</div>

Hi, [@estrella86](https://community.dynatrace.com/user/72241) , yes you can.

You should get these filters automatically when searching in UI (not advanced mode).

 ![image (16).png](https://global.discourse-cdn.com/dynatrace/original/2X/d/d92df2f25eb357d81d51d6ca664370654b0661ed.png)

If you do not see the property you need in the list, you can create a tag for it, using it as placeholder: [Define and apply tags — Dynatrace Docs](https://docs.dynatrace.com/docs/manage/tags-and-metadata/setup/how-to-define-tags#service-and-process-group-properties-available-for-tagging), and then, use the tag as filter.

And assuming you wants to use the DQL version, you could try something like this:

```markup
timeseries cpu=avg(dt.host.cpu.usage), by:{dt.entity.host}
| sort arrayAvg(cpu), direction:"descending"
| lookup [fetch dt.entity.host], fields:{entity.name, osType, tags}, sourceField:dt.entity.host, lookupField: id
//| expand tags
| filter contains(osType,"LINUX")
| fields entity.name, cpu, interval, timeframe, osType

```

Just replace the osType by the property you need.

---

<div class="post-metadata">

**Author:** ![MarwanC](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marwanc/32/34480_2.png) [@MarwanC](https://community.dynatrace.com/u/MarwanC)\
**Post date:** [July 16, 2025, 9:12am UTC](https://community.dynatrace.com/t/dashboards-filter-by-a-host-property/44131/3 "2025-07-16T09:12:14Z")

</div>

How to extract the properties on each host using DQL?
