# Show host name instead of host ID in the metric

**URL:** <https://community.dynatrace.com/t/show-host-name-instead-of-host-id-in-the-metric/40937>\
**Category:** Open Q&A\
**Tags:** dynatrace-managed, hosts-classic\
**Created:** [July 31, 2023, 9:16am UTC](https://community.dynatrace.com/t/show-host-name-instead-of-host-id-in-the-metric/40937 "2023-07-31T09:16:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ishwar\_Jadhav](https://avatars.discourse-cdn.com/v4/letter/i/278dde/32.png) [@Ishwar\_Jadhav](https://community.dynatrace.com/u/Ishwar_Jadhav)\
**Post date:** [July 31, 2023, 9:16am UTC](https://community.dynatrace.com/t/show-host-name-instead-of-host-id-in-the-metric/40937/1 "2023-07-31T09:16:19Z")

</div>

“(builtin:billing.ddu.includedMetricPerHost:splitBy(“dt.entity.host”):avg:auto:sort(value(avg,descending)):limit(100))/(1000)”

This metrics shows the host unit but i cannot visualise the host name of that host id shown in the metrics please tell me how to show the host name not the ID of the host

---

<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:** [July 31, 2023, 9:23am UTC](https://community.dynatrace.com/t/show-host-name-instead-of-host-id-in-the-metric/40937/2 "2023-07-31T09:23:56Z")

</div>

Hi,

I can see host names:

```markup
builtin:billing.ddu.includedMetricPerHost:splitBy("dt.entity.host"):avg:auto:sort(value(avg,descending))

```

Best regards
