Splunk Dev

How to use REST API and get auth via Okta app ?

RayJacobs
New Member

Hi all,

I am trying to find a way to use Rest API like search endpoint for splunk but my problem is my company use Okta application to login to splunk. So I can't have username or password for splunk so is there any ways to bypass this auth ?

Labels (2)
Tags (1)
0 Karma

PaulPanther
Builder

Hello @RayJacobs 

you have to two options:

1. Create and use a local user

2. Create and use an authentication token (preferred solution)

 https://docs.splunk.com/Documentation/Splunk/9.0.3/Security/CreateAuthTok

0 Karma

RayJacobs
New Member

Hi @PaulPanther ,
1. How can I do this ? 
2. The page does not exist 

RayJacobs_0-1673395692567.png

 

0 Karma

PaulPanther
Builder

@RayJacobs 

Oh, yes the link is broken.

Regarding the local user check out Create and manage users with Splunk Web - Splunk Documentation but as I already mentioned you should prefer that way Create authentication tokens - Splunk Documentation

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...