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

Taking Report from Dynatrace console for oneagent versions

sundarv1
Organizer

How to take excel report from dynatrace console which shows host and oneagent version installed in the host

18 REPLIES 18

Hello @sundarv1 

If you have access to env API v2 

  • use the attached API

Peter_Youssef_0-1729692372552.png

  • Required scope: entities.read
  • then save the JSon and extract it through excel as simple as that.

BR, 

Peter.

 

I do not have access to API. How to take it from console?

Hi @sundarv1 

Peter_Youssef_0-1729693369820.png

From Data explorer and Metrics, both are accessible you can filter and split by and the data will be displayed in Tabular format then save it and extract it in Excel.

KR,

Peter.

 

 

Thanks Peter

How to add oneagent version and OS Version to the tabular format so that we can extract this fields

Peter

How to enter the criteria - to get the output for which agent version is less than equal to 1.291.

Hi @sundarv1 

You can follow the attached example 
2024-10-23_18h52_36.png

you can specify installer version if you need and re-formulate the advanced formula as per your requirements.

KR,

Peter.

How to display installer version in the result?. We want the installer version to be extracted in an excel sheet

Hi @sundarv1 

It's easy, as follows

2024-10-23_19h49_31.png

2024-10-23_19h51_03.png

In Excel

2024-10-23_19h52_36.png

Hoping it adds value

BR, 

Peter

Thanks. Does this query will bring host installer version in the output and also to excel. Can we add the tag field to this output?

1. How to write an query which will extract all the hosts and its version. Currently we need to specificy the version in the query

2. Additionally in the output it is displaying - Host and Availability. it is not displaying oneagent version.

Hi @sundarv1 , if you are fine with DQL , below query will get you the version 

fetch dt.entity.host
| fieldsAdd installerVersion
Phani Devulapalli

How do i use DQL?  I have access only to Dynatrace console.

Hi @sundarv1 , I understand you are on managed, so DQL/Notebooks may not be available to you , will see if there is a alternate way to get this data 

Phani Devulapalli

Thanks. Does this query will bring host installer version in the output and also to excel. Can we add the tag field to this output?

Appreciate your support

Here you have a screenshot on how to download the output.

PacoPorro_0-1729781671499.png

 

And regarding how to obtain tags with dql, please check:
https://community.dynatrace.com/t5/DQL/Extract-TAG-values-from-hosts-tags-in-DQL/m-p/216140

But if you want something simply , you can try

fetch dt.entity.host
| fieldsAdd installerVersion, tags



We are using managed instance, not the saas to use dql

we are using managed inztance not the saas instance to use the DQL

Featured Posts