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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

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