Created
April 4, 2014 20:04
-
-
Save dky/9982144 to your computer and use it in GitHub Desktop.
List all non Splunk indexes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /opt/splunk/var/lib/splunk && for i in `ls -1 -d */| less |egrep -iv "summary|audit|authDb|blockSignature|defaultdb|hashDb|fishbucket|_internaldb|notable|notabledb|persistentstorage|session_*|appserver|historydb"`; do du -sh $i; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment