Knowledge Management

removing excess buckets without id pass

jiaqya
Builder

i am running cli command "splunk remove excess buckets" to remove excess buckets from cluster master.
it is asking for id and password.
i am looking to automate it, so i dont want it to ask the id and password.

is this a possibility to configure it that way or what needs to be done so that id/pass is not asked ...

Tags (1)
0 Karma

nickhills
Ultra Champion

No,

The rest API is always authenticated. You will need to find a way to pass valid credentials to the API before it will take any action.
You can however use a token instead of a username/password

https://docs.splunk.com/Documentation/Splunk/8.0.1/Security/UseAuthTokens

If my comment helps, please give it a thumbs up!
0 Karma

jiaqya
Builder

Hi Nick, is the token feature available with 7.2.6 version ? im running this version and cannot find the appropriate role for creating tokens...

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

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...