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!

Think Like an Architect: Introducing the Splunk Certified Cybersecurity Defense ...

In cybersecurity, defenders respond to threats. Architects design the systems that stop them.    As ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...