All Apps and Add-ons

About Stream

beginne_Splunk
Explorer

The following procedures are used to build the system.
https://docs.splunk.com/Documentation/Splunk/latest/Data/FormateventsforHTTPEventCollector

I am trying the following command listed in Raw event parsing, but it returns "curl: (3) URL using bad/illegal format or missing URL".
In the "http-inputs-<customer>" section I have put "http-inputs-localhost:8088", is this wrong?
I know this is a rudimentary question, but please help.

curl https://http-inputs-<customer>.splunkcloud.com/services/collector/raw -H "X-Splunk-Request-Channel: FE0ECFAD-13D5-401B-847D-77833BD77131" -H "Authorization: Splunk BD274822-96AA-4DA6-90EC-18940FB2414C" -d '<raw data string>' -v

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

"localhost" is not the name of your Splunk Cloud stack so that cannot be used to send HEC events to it.  If you connect to Splunk Cloud using the example URL of "example.splunkcloud.com" then your HEC URL is "https://http-inputs-example.splunkcloud.com:8088".  If you do not have a Splunk Cloud account then you cannot send HEC events to Splunk Cloud.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

"localhost" is not the name of your Splunk Cloud stack so that cannot be used to send HEC events to it.  If you connect to Splunk Cloud using the example URL of "example.splunkcloud.com" then your HEC URL is "https://http-inputs-example.splunkcloud.com:8088".  If you do not have a Splunk Cloud account then you cannot send HEC events to Splunk Cloud.

---
If this reply helps you, Karma would be appreciated.
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!

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 ...

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 ...