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.
Get Updates on the Splunk Community!

Explore the Latest Educational Offerings from Splunk [January 2025 Updates]

At Splunk Education, we are committed to providing a robust learning experience for all users, regardless of ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...