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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...