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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...