Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

Matched New Relic Application and AWS Instance


#1

Hi. Application Hosts returns only the host name, I need to know the real host id/guid/uuid. How can I find out which virtual machine my application is installed on? For example, New Relic Application ID -> AWS Instance ID.
Thanks


#2

Hey @apugin how’s it going?

This is currently under API, so I assume you’re querying one of our APIs to get host information. Are you listing hosts, like:

https://docs.newrelic.com/docs/apis/rest-api-v2/requirements/list-application-id-host-id-instance-id#locating_host_id

Meaning, you are explicitly querying against APM data via API?

Or, do you happen to be using our Infrastructure product as well? If you’re only using APM, then AWS metadata won’t be available. If you’re using Infrastructure, then those IDs will be available and you could use our Insights Query QPI:

https://docs.newrelic.com/docs/insights/insights-api/get-data/query-insights-event-data-api

…to pull the data, as long as it’s present in Insights.

Hope that helps, but let us know!


#3

Thanks, Insight will help me