-
-
Save nicksan2c/944e8081e00ec591dfac6e238af7b25e 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