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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...