- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I send a GET request to Postman as follows -
curl -u <username> -k https://<url>.net:8089/services/jobs/export -d search="<query>"
Why does it fail? "Cloud Agent Error: Couldn't resolve host. Make sure the domain is publicly accessible or select a different agent."
And a variation passes but while I add "-d output_mode csv" at the end, I do not get any csv. Where can I see the same result as I see inside Splunk (enterprise) i.e tabular output?
Thanks
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Couldn't resolve host means precisely that - your system is unable to find IP for the name you've given in the request. Either you're providing curl with wrong hostname in the request URI or you're having DNS problems in your infrastructure.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Couldn't resolve host means precisely that - your system is unable to find IP for the name you've given in the request. Either you're providing curl with wrong hostname in the request URI or you're having DNS problems in your infrastructure.
