I am trying with a trial version of Splunk cloud. I created the HTTP Event Collector. Now I am trying to log into Splunk using the curl script available here http://dev.splunk.com/view/event-collector/SP-CAAAE7F. But I guess I am doing something wrong, as I am not able to hit the server.
What has to be the host name of Splunk that I have to use to save the logs?
This is my Splunk cloud instance https://xxxxx.cloud.splunk.com
I tried something like this, I guess which is wrong (replaced with tokenid which I got after creating the HTTP EC)
curl -k https://xxxxx.cloud.splunk.com/services/collector -H 'Authorization: Splunk tokenid' -d '{"event":"Hello, World!"}'
Please help.
Thanks
... View more