Splunk Cloud Platform

Splunk Cloud Search Head API access

ashrafsj2612
New Member

Hi All,

 

We are migrating from Splunk On-prem to Splunk Cloud, as part of it we want to have the SH API access. I have got the IP's that needs to be whitelisted from dev and have added them to SH API allow list. They are using service accounts to make changes to their alerts/dashboards etc. 

 

Does service account if migrated to Splunk cloud and maintained as local account work with Splunk Cloud SH API access? I read in docs it said I need to create authentication token after whitelisting IP's? is that the case, any one else has had same issues. 

Dev also mentioned while using Splunk On-prem they whitelisted 10.0.0.0/8 on port 8089. I dont think that will work, should they whitelist public IP's corresponding to the splunk cloud URL?

Thanks in advance!

Labels (2)
0 Karma

ww9rivers
Contributor

Local accounts in Splunk Cloud with tokens work for search head API access. With "service account", I guess you mean to run unattended API actions. Token is the way to go for authentication.

Not sure why you would need to white-list the Splunk Cloud IPs on-prem. You would initiate connection from on-prem server(s) to search heads in the Splunk Cloud. Right? I think you would only need white-list your corporate public IPs in the Splunk Cloud.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...