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

Geolocation Information

rb0c70091
Inactive

I noticed the "isSiteOf" JSON parameter on the Infrastructure API giving results like "GEOLOC_SITE-C9B2D39AD8A7FA9A". Where are we getting this information from and what would we need to do to get the actual location from here.

4 REPLIES 4

raffaele_talari
Inactive

Hi Ray,
could you please provide an example of the API you queried? (including endpoint)

Thanks,

Raff

It was https://rebusdt.northeurope.cloudapp.azure.com/e/ea29c7dc-3693-41a8-b5e3-f6a88da01909/api/v1/entity/infrastructure/hosts.

With host response giving

"toRelationships":{


"isSiteOf":[


"GEOLOC_SITE-C9B2D39AD8A7FA9A"

],

raffaele_talari
Inactive

Hi Ray,
I made the same request on my personal environment. I found out that my AWS EC2 machines (in the same AWS availability region and DC) are reporting the same info in the "isSiteOf" field:

 "isSiteOf": [ 
"AWS_AVAILABILITY_ZONE-BA734CACA276B570",
"GEOLOC_SITE-C9B2D39AD8A7FA9A"
],

Then my feeling is that the GEOLOC_SITE is a unique identifier for the Data Center (since you can also freely modify the hostname, so the IsSiteOf I guess it's also a way of uniquely identifying an host). When I take a look at my windows host (not an AWS EC2) this is what I see

 "isSiteOf": [ 
"GEOLOC_SITE-F9A6CB2B7E82DA37"
],

And the geolocation of the data center is correctly reporting the area where I'm located (based on IP address):

Hope this sheds a light on what is the GEOLOC_SITE..if you need further information I guess we should involve DEV.

Ciao,

Raff

lucas_hocker
Dynatrace Advisor
Dynatrace Advisor

@Raffaele T., How do we resolve these types of entities? I can't find an endpoint that will resolve things like GEOLOC_SITE, AWS_AVAILABILTY_ZONE, etc. Clearly SmartScape can do it, but it doesn't look like the datacenter layer is exported via the REST API.

Featured Posts