Deployment Architecture

Is it possible to rebuild multiple buckets with this command in the thawed directory?

dantimola
Communicator

I have 1000+ buckets to rebuild. Is the command xargs -i /opt/splunk/bin/splunk rebuild {} effective for rebuilding multiple buckets while I'm on the thawed directory?

1 Solution

dantimola
Communicator

If you're wondering, the right way to rebuild multiple buckets is ls | xargs -i /opt/splunk/bin/splunk rebuild {} command while you are in thawedb directory.

View solution in original post

dantimola
Communicator

If you're wondering, the right way to rebuild multiple buckets is ls | xargs -i /opt/splunk/bin/splunk rebuild {} command while you are in thawedb directory.

arrangineni
Path Finder

@dantimola Thanks for above command, it works for me. Is there way we can modify the command to pick selective buckets out of the folder. I do have previously rebuild-ed buckets in this folder which I don't want to rebuild again

0 Karma
Get Updates on the Splunk Community!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...