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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...