How to access and troubleshoot connectivity issues to the Splunk Cloud Platform REST API
1. Identify the public IP address and CIDR block :
a. Determine what public IP address the user is coming from that will be connecting to the Splunk Search head API:
curl checkip.amazonaws.com
Example and result
$ curl checkip.amazonaws.com52.38.30.34
b. Use the whois command on the public IP address to see the CIDR block reserved for that IP. This will be the subnet entered into the search head api allow list.
note: installing the whois package is needed:
yum install whois
whois 52.38.30.34 | grep CIDRCIDR: 52.64.0.0/12, 52.0.0.0/10
2. Once you have the subnet identified, create an IP allow list entry in the search head to allow traffic from your public subnet
Detailed Instructions for Using Splunk Web UI
To add a subnet to an IP allow list:
Add IP subnet
3. How to find Splunk Cloud Search Head public IP address
a. Perform nslookup on the Splunk Cloud search head fqdn:
nslookup <stack>.splunkcloud.com
b. Ensure these public IP addresses are allowed in your corporate firewall rules to allow traffic into your network.
4. Test connectivity
a. Have the user initiate a curl command to the search head to generate traffic and see if a response is received
curl -k -u admin:pass https://<stack>.splunkcloud.com:8089/servicesNS/admin/search/data/props/extractions
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |