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

Is there Any api for to get the HOSTID and TIMESERIESID??

naveena
Newcomer

14 REPLIES 14

Radoslaw_Szulgo
Dynatrace Guru
Dynatrace Guru

Timeseries ids are in the table here: https://help.dynatrace.com/dynatrace-api/timeserie...

Host ids can be found in the URL param when you navigate in UI to that particular host details page.

Senior Product Manager,
Dynatrace Managed expert

naveena
Newcomer

Rad,

Sorry , i didn't get your answer.

I want to run the below API in postman.

https://{id}.live.dynatrace.com/api/v1/timeseries?relativeTime=hour&entity=HOST-B64B6B9CB11E2244&aggregationType=AVG&timeseriesId=com.dynatrace.builtin:host.cpu.user

what shall i give as entity and timeseriesId ?

Radoslaw_Szulgo
Dynatrace Guru
Dynatrace Guru

Depends what metric you want to get use a timeserie Id from the table described here: https://help.dynatrace.com/dynatrace-api/timeserie...

Then to get entity Id - for instance host :

1. Go to Hosts page in UI

2. Select host that you want to use

3. Look at the page URL. There should be entity ID included in the parameters.

Better now ?

Senior Product Manager,
Dynatrace Managed expert

naveena
Newcomer

Thanks Radoslaw,

sorry for asking, if possible can you please attach the screenshot for entity ID.

Radoslaw_Szulgo
Dynatrace Guru
Dynatrace Guru

Entity ID is highlighted in the URL :

Senior Product Manager,
Dynatrace Managed expert

abhaynav
Newcomer

Hi Radoslaw,

I installed easyTravel and i ran that, but i couldn't find any host id. Please check attachement for reference.

Thanks,

Naveen

Radoslaw_Szulgo
Dynatrace Guru
Dynatrace Guru

ohh ... that is app mon. I was writing about Dynatrace Saas & Managed. The API also refers to that.

Senior Product Manager,
Dynatrace Managed expert

abhaynav
Newcomer

What is the difference between them and am i in correct track ?

abhaynav
Newcomer

Hi Radoslaw,

When iam adding tier iam getting above error. Can you please guide me.

Thanks,

Naveen Ambala

Radoslaw_Szulgo
Dynatrace Guru
Dynatrace Guru

Sorry, I'm a bit confused now. Do you have an issue with App mon (screenshot 1) or with Dynatrace SaaS (screenshot 2) ?

Both screenshots show that you should restart some java processes. You need to do it manually from the OS.

Senior Product Manager,
Dynatrace Managed expert

naveena
Newcomer

Dynatrace Saas URL is

https://xxxxxx.live.dynatrace.com/#deploymentstatus how can we execute that in our local machine to get the HOSTID.

Radoslaw_Szulgo
Dynatrace Guru
Dynatrace Guru

From the screenshot HOSTID = HOST-DEMO0000000001

but this is a demo host that is only to show you some data in UI. A dummy host.

You should try to find a real one.

Senior Product Manager,
Dynatrace Managed expert

naveena
Newcomer

Hi Radoslaw,

Acutally iam also asking the same , not able to get the real one, how to get the real HOST-ID . Can you please suggest some steps.

Thanks,

Naveen Ambala

Radoslaw_Szulgo
Dynatrace Guru
Dynatrace Guru

Naveen... you need to deploy an agent firstly on a host.

Senior Product Manager,
Dynatrace Managed expert

Featured Posts