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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...