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!

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

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...