# Data extraction for a specific host

**URL:** <https://community.dynatrace.com/t/data-extraction-for-a-specific-host/35258>\
**Category:** Open Q&A\
**Tags:** dynatrace-managed, hosts-classic, dashboards-classic, dynatrace-api\
**Created:** [May 24, 2022, 8:10am UTC](https://community.dynatrace.com/t/data-extraction-for-a-specific-host/35258 "2022-05-24T08:10:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sohaib](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@Sohaib](https://community.dynatrace.com/u/Sohaib)\
**Post date:** [May 24, 2022, 8:10am UTC](https://community.dynatrace.com/t/data-extraction-for-a-specific-host/35258/1 "2022-05-24T08:10:24Z")

</div>

Hello,

I wanted to know if there is a way to extract data for a specific host.

What i want is =\> For a specific host =\> List all processes and services.

Something like the smartscape view.

If there is a way to clone the smartscape view into a dashboard that would be even better.

Thanks

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [May 24, 2022, 10:42am UTC](https://community.dynatrace.com/t/data-extraction-for-a-specific-host/35258/2 "2022-05-24T10:42:52Z")

</div>

For data export it’s recommended to access the data using&nbsp;[Monitored Entities v2 API.](https://www.dynatrace.com/support/help/dynatrace-api/environment-api/entity-v2)

For putting a list of processes from a single HOST (or many hosts) on a dashboard you need to query a metric and use the Data Explorer for that. You can for example use the following query to display the memory of all processes running on a host with the given HOST ID.&nbsp; Then you can display it in a table to get a list.

```markup
builtin:tech.generic.mem.usage
:filter(
  in("dt.entity.process_group_instance", 
      entitySelector("type(PROCESS_GROUP_INSTANCE),fromRelationships.isProcessOf(entityId(HOST-3800BB31B525FC56))"
  )))
:splitBy("dt.entity.process_group_instance")
:avg:auto:sort(value(avg,descending)):limit(100)

```

---

<div class="post-metadata">

**Author:** ![techean](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/techean/32/227_2.png) [@techean](https://community.dynatrace.com/u/techean)\
**Post date:** [May 27, 2022, 10:49am UTC](https://community.dynatrace.com/t/data-extraction-for-a-specific-host/35258/3 "2022-05-27T10:49:31Z")

</div>

[@Sohaib](https://community.dynatrace.com/user/48891)&nbsp;Right now we dont have a View where you can pull out the data against host. Try posting this as product idea justifying the business case and importance, if voted can be taken for development as a feature. Did you also explore multidimensional analysis for fine tuning service view?

---

<div class="post-metadata">

**Author:** ![funkymike7](https://avatars.discourse-cdn.com/v4/letter/f/8e7dd6/32.png) [@funkymike7](https://community.dynatrace.com/u/funkymike7)\
**Post date:** [January 16, 2024, 9:32pm UTC](https://community.dynatrace.com/t/data-extraction-for-a-specific-host/35258/4 "2024-01-16T21:32:21Z")

</div>

Would there be an equivalent for using the API to perform an extract as well to Excel?

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [January 17, 2024, 7:01am UTC](https://community.dynatrace.com/t/data-extraction-for-a-specific-host/35258/5 "2024-01-17T07:01:51Z")

</div>

[@funkymike7](https://community.dynatrace.com/user/66274)&nbsp;yes, you can access the Dynatrace API from Excel too, see some hints and examples [here](https://community.dynatrace.com/post/111843).
