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!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...