Security

Can I authenticate with the "splunk" CLI tool to a remote Splunk server that uses Okta for authentication?

msabramo
New Member

splunk login wants a username and password:

$ ./splunk login
Splunk username: user
Password:
Moved Temporarily
Login Failed

but since my Splunk server uses Okta for auth, there is no password to give it.

0 Karma

davidpaper
Contributor

Greetings,

Splunk's CLI calls do not work with SSO. If you want to use your SSO-enabled splunk instance with ./splunk calls, you will need to add a local user to the splunk instance and authenticate via that user ID.

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 ...