I am not able to access my HEC URL, can you please help me? I am using Free Splunk cloud and setup an HEC and enabled. but the URL is not working.
You need to pre-pend the hostname with input-.
curl -k https://input-xxxxx.cloud.splunk.com:8088/services/collector -H "Authorization: Splunk token" -d '{"event":{"laptop":"macbook","os":"freebsd","version":"11.3"}}'