Splunk Search

Need help with REST API & SDK

splunkusr9
New Member

We are using Splunk Cloud. How can I access REST API? Do I need to request to enable REST API?

Tags (1)
0 Karma

harsmarvania57
Ultra Champion

HI @splunkusr9,

Have a look at these documents

http://docs.splunk.com/Documentation/SplunkCloud/7.2.0/User/WelcometoSplunkCloud

Splunk API  Disabled by default for managed Splunk Cloud deployments. Contact Splunk Support to enable access for managed Splunk Cloud deployments, Splunk Cloud trials, and sandboxes. 

http://docs.splunk.com/Documentation/Splunk/7.2.1/RESTTUT/RESTandCloud

To access your Splunk Cloud deployment using the Splunk REST API and SDKs, submit a support case requesting access on the Support Portal. For managed deployments, Splunk Support opens port 8089 for REST access. You can specify a range of IP addresses to control who can access the REST API. For self-service deployments, Splunk Support defines a dedicated user and sends you credentials that enable that user to access the REST API. 
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...