Skip to content

Instantly share code, notes, and snippets.

@dky
Created April 4, 2014 20:04
Show Gist options
  • Save dky/9982144 to your computer and use it in GitHub Desktop.
Save dky/9982144 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