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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...