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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...