Splunk Search

How to write admin credentials within the command

splunk_user_99
Engager

Hello guys,

Is there any possibility to execute a CLI command within the credentials (username and password)?

Like, for the password it would be "--seed-passwd password123".
Is there anything like that for the username?

Thank you for your time.

0 Karma
1 Solution

woodcock
Esteemed Legend

Add this to any passworded CLI command:

-auth admin:changeme

View solution in original post

0 Karma

woodcock
Esteemed Legend

Add this to any passworded CLI command:

-auth admin:changeme
0 Karma

to4kawa
Ultra Champion

Configure users with the CLI
Hi, how about this?

0 Karma

splunk_user_99
Engager

To be more specific, I wanted to add a licenser-localslave to a master through a command. When i execute the command, i was asked for my admin credentials of the splunk instance. But I want to automize this whole process through scripting and thats why i need a command where I could execute the command within the credentials.

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