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!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...