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!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...