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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...