Getting Data In

Splunk Cloud Trial HEC Not Working

Klaverblad
Explorer

Hi all,

I just started a trial for Splunk Cloud , my URL looks similar to this:

https://prd-p-s8qvw.splunkcloud.com/en-GB/app/launcher/home

 

I want to get data in with the HEC. I have read all the following documentation:

https://docs.splunk.com/Documentation/SplunkCloud/9.3.2408/Data/UsetheHTTPEventCollector#Configure_H...

According to the documentation, my URL should look like this:

https://http-inputs-prd-p-s8qvw.splunkcloud.com:8088/services/collector/event

However this does not work. It seems the DNS cannot be resolved. My NodeJS gives "ENOTFOUND"

I have tried different options (HHTP / HTTPS, host, port etc):

None of these work. All give one of the following errors:
  • Error: getaddrinfo ENOTFOUND http-inputs-prd-p-s8qvw.splunkcloud.com
  • Error: read ECONNRESET
  • HTTP 400 Sent HTTP to port 443
  • HTTP 404 Not Found

Can anybody help me get this working?

 

Regards,

 

Lawrence

Labels (1)
0 Karma
1 Solution

Klaverblad
Explorer

It seems the company firewall blocked outbound traffic to 8088. Issue explained

View solution in original post

0 Karma

Klaverblad
Explorer

It seems the company firewall blocked outbound traffic to 8088. Issue explained

0 Karma

Klaverblad
Explorer

Note:

  • I have an active token that looks similar to this: c0865140-53b4-4b53-a2d1-9571d39a5de8
  • My HTTP request has the following header:
    Authorization: Splunk c0865140-53b4-4b53-a2d1-9571d39a5de8
  • MY Splunk Cloud settings show HEC configuration to have SSL enabled and port 8088 (though these settings are grayed out and cannot be adjusted)
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...