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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...