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!

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

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

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Stay Connected: Your Guide to April Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...