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!

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

Register Join this Tech Talk to learn how unique features like Service Centric Views, Tag Spotlight, and ...