Getting Data In

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

gwriughfsi
Engager

I'm using Splunk Cloud Trial and wanna test HEC

I used below command and I received error message

 

1)

curl -H "Authorization: Splunk [HEC-Token]"   [URL : prd-mysplunkcloudurl-splunkcloou.com:8088/services/collector/event] -d '{"sourcetype": "my_sample_data", "event": "http auth ftw!"}'

curl: (60) SSL: certificate subject name 'SplunkServerDefaultCert' does not match target host name 'prd-mysplunkcloudurl-.splunkcloud.com'
More details here: https://curl.se/docs/sslcerts.html

 

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

tried url : https://http-inputs.prd-...-splunkcloou.com:8088/services/collector/event

curl: (6) Could not resolve host: http-inputs.prd-mysplunkcloudurl.splunkcloud.com

 

How can I use HEC?

Labels (1)
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...