All Apps and Add-ons

How to use the Splunk REST API in a browser?

josefa123
Explorer

Hi,

I am trying to learn and use Splunk APIs, but I am not moving on at all. I am using Advance Rest Client (add-on from Chrome) to access the APIs from the documentation. For example I use this https://ubu-splunk:8089/services/saved/searches or https://ubu-splunk:8000/services/saved/searches (webport is 8000 but in documentation it is 8089 when they use the API and I dont really understand) but it returns error 303. Please see the picture for your reference.

alt text

Anyone suggest on how to test the Splunk REST API in browser? or there are no way to test it? Thanks

0 Karma

akanno
Communicator

You can use 「rest」 command.

| rest /services/saved/searches

try this command on splunk search form.

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...