Getting Data In

[SSL Error] How to use Splunk Cloud Trial HEC?

Loves-to-Learn Lots

I'm using Splunk Cloud Trial and wanna test HEC

I used below command and I received error message



curl -H "Authorization: Splunk [HEC-Token]"   [URL :] -d '{"sourcetype": "my_sample_data", "event": "http auth ftw!"}'

curl: (60) SSL: certificate subject name 'SplunkServerDefaultCert' does not match target host name ''
More details here:


2) Also I tried another url and received not host error message

tried url :

curl: (6) Could not resolve host:


How can I use HEC?

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...