Splunk Cloud Platform

Unable to push data to Splunk Cloud trial "HTTP/1.1 503 Service Unavailable"

Saran
Explorer

I am trying to push the data to Splunk cloud trial instance, but it returns "HTTP/1.1 503 Service Unavailable".
Am I missing something or is my cloud trial instance down?

The host url I am using is "https://<my-instance>.splunkcloud.com:<port>/services/collector"
 The request format is given below:

curl -k https://<my-instance>.splunkcloud.com:<port>/services/collector -H "Authorization: Splunk <cloud-instance-token>"  -H "Content-Type: application/json" -d '{ "event": {payload}'

 

Labels (1)
0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @Saran 

You need to prefix the stack name with "http-inputs-" to send to HEC, you should be able to see a healthcheck by visiting:

https://http-inputs-<stackName>.splunkcloud.com/services/collector/health?token=<yourToken>

Or remove the ?token=<yourToken> to get a generic health check.

If this works then HEC should be active and accessible. It looks like the main issue here is the missing http-inputs- prefix.

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

Saran
Explorer

Hi @livehybrid , this is still not working

curl -k "https://http-inputs-<instance>.splunkcloud.com/services/collector/health"

curl: (56) CONNECT tunnel failed, response 503


0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @Saran 

Just to confirm - are you behind a proxy or firewall that could be intercepting traffic?

Splunk Cloud Trial instances are slightly different in configuration to production instances and have various restrictions, please could you try https://<stack>.splunkcloud.com:8088/services/collector/health

If you are still getting the error with the above endpoint I think you will need to raise a support ticket via https://www.splunk.com/support - If you do not have any support entitlement with it being a trial then you might be able to reach out via sales and ask that they help you look into this (as potentially impacting sale and successful PoC).

Fingers crossed!

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

Saran
Explorer

It was a Proxy issue, I have resolved it.

But I don't understand when to add "http-input" as the prefix to the instance. Could you please explain the difference between the Splunk Cloud trial instance and production instance?

Thank you


0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @Saran 

Great, Im glad you solved it 🙂 

Regarding the http-input prefix, I believe this connects to a loadbalancer for a production instances (which would general comprise of multiple indexers) whereas a trial instance is likely a single all-in-one Splunk Cloud deployment and therefore doesnt require a loadbalancer for the HEC traffic.

In a production environment you would add the http-input- prefix and drop the 8088 port (and use 443).

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

0 Karma
Get Updates on the Splunk Community!

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...