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

Data extraction for a specific host

Sohaib
Observer

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

4 REPLIES 4

Julius_Loman
DynaMight Legend
DynaMight Legend

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

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

@funkymike7 yes, you can access the Dynatrace API from Excel too, see some hints and examples here.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

techean
Dynatrace Champion
Dynatrace Champion

@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

Featured Posts