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!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...