# Dashboard based on the host group names

**URL:** <https://community.dynatrace.com/t/dashboard-based-on-the-host-group-names/42333>\
**Category:** Dashboarding\
**Tags:** hosts-classic, dashboards-classic\
**Created:** [October 27, 2023, 12:04pm UTC](https://community.dynatrace.com/t/dashboard-based-on-the-host-group-names/42333 "2023-10-27T12:04:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bvypk](https://avatars.discourse-cdn.com/v4/letter/b/258eb7/32.png) [@bvypk](https://community.dynatrace.com/u/bvypk)\
**Post date:** [October 27, 2023, 12:04pm UTC](https://community.dynatrace.com/t/dashboard-based-on-the-host-group-names/42333/1 "2023-10-27T12:04:12Z")

</div>

Need to create a dashboard based on the host group names.

In dashboard host group name need to appear under the host group&nbsp; all host names need to appear and it need to be auto updated if any device is added or removed. As well as if any host group is added or removed those information need to update automatically.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [October 27, 2023, 1:28pm UTC](https://community.dynatrace.com/t/dashboard-based-on-the-host-group-names/42333/2 "2023-10-27T13:28:59Z")

</div>

Hi,

I think that is not possible in classic dashboards.

Do you know if you are using Grail enabled tenant? Maybe with DQL is possible.

Best regards

---

<div class="post-metadata">

**Author:** ![Ingrida](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ingrida/32/13926_2.png) [@Ingrida](https://community.dynatrace.com/u/Ingrida)\
**Post date:** [October 30, 2023, 3:21pm UTC](https://community.dynatrace.com/t/dashboard-based-on-the-host-group-names/42333/3 "2023-10-30T15:21:57Z")

</div>

Hi&nbsp;[@bvypk](https://community.dynatrace.com/user/65779)&nbsp;,

not sure what is expected by “In dashboard host group name need to appear under the host group&nbsp; all host names need to appear”&nbsp;(what appear? list? grapg?), but if you use Dynamic filter with custom dimention Host Group you will be able to filter your dashboards based on host group and display just hostgroup which you need to.

And you can filter any host metric by hardcoded hostgroup if needed by using filter like&nbsp;filter(in(“dt.entity.host”,entitySelector(“type(host),fromRelationship.isInstanceOf(type(HOST\_GROUP),entityName.equals(~“name of host group~”))”))) for tiles

BR,

Ingrida
