To Improve performance, remove the corrupted buckets from the vRealize Log Insight inventory.
To identifying and remove corrupted buckets from the inventory, use one of these options:
Option 1
- Analyze /storage/var/loginsight/runtime.log and compile a list of bucket UUIDs to remove.
- Stop the Log Insight service by running the following command:
service loginsight stop
- Run the following command to remove a bucket:
/usr/lib/loginsight/application/sbin/bucket-index UUID delete
Note: Replace UUID with the UUID of a bucket found in step 1.
- Repeat step 3 for all UUIDs in your list.
- Start the Log Insight service by running the following command:
service loginsight start
Option 2
- Change to the /usr/lib/loginsight/application/sbin/ Directory:
cd /usr/lib/loginsight/application/sbin/
- Run the bucket validator to determine the UUIDs of the corrupted buckets
./validate-bucket -Vv
- Stop the Log Insight service by running the following command:
service loginsight stop
- Run the following command to remove a bucket:
./bucket-index UUID delete
Note: Replace UUID with the UUID of a bucket found in step 1.
- Repeat step 4 for all UUIDs in your list.
- Start the Log Insight service by running the following command:
service loginsight start