AWS - Could not resolve host error

I'm a newbie to Elastic and myy APM version is 6.6.1. I'm trying to access some APM transaction data in the AWS cloud using curl. I used Dev Tools to get the curl command:

curl -XGET "http://XXNUMBERS.containerhost:9244/apm-6.6.1-transaction-2019.03.04/_search"

However, when I try to access this via curl, I get a Could not resolve host: XXNUMBERS.containerhost error. I tried to ping the url and am getting the same error.

Am I missing something? How can we get this data remotely via curl?

Duplicate of Access APM cloud remotely

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.