cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Data extraction for a specific host

Sohaib
Frequent Guest

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

2 REPLIES 2

Julius_Loman
DynaMight Guru
DynaMight Guru

For data export it's recommended to access the data using Monitored Entities v2 API. 

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.  Then you can display it in a table to get a list.


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)
Certified Dynatrace Master | TEMPEST a.s., Slovakia, Dynatrace Master Partner

techean
Dynatrace Pro
Dynatrace Pro

@Sohaib 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?

KG