Getting Data In

How to setup a channel to send raw data to HTTP event collector?

adityapavan18
Contributor

Hi, please let us know how to setup a channel GUID for HTTP event collector to send raw data

0 Karma

nickhills
Ultra Champion

You just need to genereate a GUID.
you can use any 'guid generator' tool to do so - an online version like this will do https://www.guidgenerator.com then you can just use that guid in your POST/GET:

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

Src: http://dev.splunk.com/view/event-collector/SP-CAAAE8Y#raw

If my comment helps, please give it a thumbs up!

mholme59
Explorer

Thanks for this! The documentation isn't clear that this can be ANY guid, and isn't something generated by Splunk. Further, do note that this must be a true GUID - you cannot use any arbitrary string or number.

0 Karma

watkinst
Engager
0 Karma

andrewjgriffin
Engager

Any programming language will have libraries for generating GUIDs as well

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...