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?
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.
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.
@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