Skip to content

Instantly share code, notes, and snippets.

@nicksan2c
Forked from dky/gist:9982144
Created April 16, 2017 20:36
Show Gist options
  • Save nicksan2c/944e8081e00ec591dfac6e238af7b25e to your computer and use it in GitHub Desktop.
Save nicksan2c/944e8081e00ec591dfac6e238af7b25e to your computer and use it in GitHub Desktop.
List all non Splunk indexes
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