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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...