This document describes the methodology of troubleshooting Splunk SC4S with network proxy.
When facing any issues when connecting sc4s using proxy to the Splunk Cloud environment, there are multiple steps to check on the networking layer and OS layer.
Note: Traceroute/Ping is not a good troubleshooting tools in the SplunkCloud environment, as security policies do not allow allow icmp packets by default. Also many enterprise organisations have their firewall blocking outbound trace route.
Sometimes multiple proxy level configured such as OS level proxy and docker level proxy.
As most of the currently supported sc4s deployments are based on container/docker environment with host networking mode, troubleshooting firstly from the underlying host would be a good option. However, changed the networking option himself by passing through modified docker parameters, please check with docker container <container-id> inspect command.
Curl from the host with the command below
curl -k http(s)://http-inputs-<stack-id>.splunkcloud.com:<TCP-port>/services/collector -http(s)://<user:password>@<proxyhost[:port]> -H 'Authorization: Splunk <your HEC token>' \
-d '{"index": "test","sourcetype": "mysourcetype", "event":"Hello, World!"}'
For example
curl -k https://http-inputs-test.splunkcloud.com:443/services/collector -https://admin:changemeplease@x.x.x.x:8080 -H 'Authorization: Splunk c4b91eac-5c65-4f7c-98a1-900bb8d2e3a5'\
-d '{"index": "test","sourcetype": "mysourcetype", "event":"Hello, World!"}'
If this is successful, with the text below returned, then please proceed to Option 2 directly since the the host has no problem with connecting to the Splunk cloud. Similar concepts applies to sc4s to any on-prem deployment.
{"text":"Success","code":0}%
Alternative troubleshooting option is Netcat/telnet, (working with proxy on telnet can be cumbersome). Firstly, fire up netcat with proxy on background and also netstat with the parameters below.
# netcat -x x.x.x.x:8080 http-inputs-test.splunkcloud.com 443 & [1] 1314[root@frank's machine /]# netstat -tcpn | grep netcat | grep 8080 tcp 0 0 x.x.x.xx:50092 x.x.x.x:8080 ESTABLISHED 1511/netcat tcp 0 0 x.x.x.xx:50092 x.x.x.x:8080 ESTABLISHED 1511/netcat tcp 0 0 x.x.x.xx:50092 x.x.x.x:8080 ESTABLISHED 1511/netcat tcp 0 0 x.x.x.xx:50092 x.x.x.x:8080 ESTABLISHED 1511/netcat tcp 0 0 x.x.x.xx:50092 x.x.x.x:8080 ESTABLISHED 1511/netcat tcp 0 0 x.x.x.xx:50092 x.x.x.x:8080 ESTABLISHED 1511/netcat tcp 0 0 x.x.x.xx:50092 x.x.x.x:8080 ESTABLISHED 1511/netcat
Note: This method will only test the basic connection from OSI layer 4, and an ESTABLISHED output from netstat only means successfully established TCP connection from the host to the proxy, which is from x.x.x.xx to x.x.x.x. Whether the upper layer packets can make way through proxy to the Splunk HEC receiver, that's unknown from the results of netcat. This can also be used to double check the result from curl.
After this, please remember to bring netcat to the foreground, and exit it from ctrl+c
# fg netcat -x x.x.x.x:8080 http-inputs-test.splunkcloud.com 443 ^C
Option 3: Verifying from the docker interactive bash
To get into the interactive bash
docker exec -it <container-id> bash
Note: Splunk official document has also mentioned how to get into interactive bash from podman (See section “exec” into the container (advanced)); Some of the docker image are super lightweight so there might not be a lot of dependent commands available here.
Then the same commands used from option 2 (curl and netcat) can be used here as well.
Please note that due to the crypto library issue of this trimmed down Linux kernel that this SC4S has, curl with TLS/SSL can return with the error below even on a completely working sc4s container instance.
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number
HTTP proxy, particularly HTTPS proxy, works very differently from a direct HTTP(S) connection. Issues can be easily identified if tcpdump from host can be provided.

tcpdump on host/client level is able to see cleartext HTTP traffic till the TLS client hello kicks in. One would be able to see sc4s talking to the your Splunk HTTP Endpoint below via proxy from tcpdump result.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |