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

un-anonymize (decode) values like service names, hostgroups etc in payload (json) response from REST API

rupesh_chamatk2
Newcomer

un-anonymize (decode) values like service names, hostgroups etc in payload (json) response from REST API

5 REPLIES 5

ChadTurner
DynaMight Legend
DynaMight Legend

@Rupesh C. This is possible via the API. I suggest you double check your token permission level so it reflects the following:


Then jump over to your Environment API, Click the "topology/Smartscape - Service" and toss in your token code, and run the command. I cannot show you my results but I can assure you we got the fully qualified name as seen in the Dynatrace UI

-Chad

@Chad T. - Thanks for comment. I am using the same as you suggested. I could see the display name values as plain text but you know most of the PGs, Services Names of dependent components are hashed/coded as below --

Any advice?

>>>>

"fromRelationships": {

"runsOnProcessGroupInstance": [

"PROCESS_GROUP_INSTANCE-0621A592576F0E22",

"PROCESS_GROUP_INSTANCE-28372716B568606B",

"PROCESS_GROUP_INSTANCE-EE8C85F0CBC171BF",

"PROCESS_GROUP_INSTANCE-5A723E7386E56527",

.

],

"runsOn": [

"PROCESS_GROUP-EF4CFAAF90C627E7"

],

"calls": [

"SERVICE-F1527CD5A03E71AE",

"SERVICE-1B277C7AC8311474",

"SERVICE-52AC624D70C377BC",

"SERVICE-70C56686E39D60B1",

"SERVICE-086673EFDB424FAB"

]

},

"toRelationships": {

"calls": [

"SERVICE-7A38D1BEA3C4459D",

"SERVICE-086673EFDB424FAB",

"SERVICE-B6DA0793FF217583"

]

},

<<<<

Ah yes, the relationships are set with the unique process/service ID. These are used to identify specific processes/services. As of now there is no way to actually change that to the A-Z name. If you go to a service in your dynatrace instance you will see the ID for it in the url too:

The ID is also used for other API parts as well:

I would recommend putting in a feature request if you need the actual names of these values and not their unique IDs

-Chad

@Chad T. - Sure Thanks!

@Rupesh C. Sorry I wasn't able to help you get eh desired results. If you feel to accept my answer as correct.

Thank you,

-Chad

-Chad

Featured Posts