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
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...