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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...