Created
October 3, 2017 23:37
-
-
Save xoff00/fc8e074985e48287e31742730d8a3e8b to your computer and use it in GitHub Desktop.
Splunk cluster bundle status on a single line
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
splunk show cluster-bundle-status | grep -A5 site1 | paste -d " " - - - - - - - | sed -r -e 's/\t/ /g' -e 's/(.uto)?.asu.edu//g' -e 's/[[:alnum:]]\{8\}(-[[:alnum:]]\{4\}){3}-[[:alnum:]]\{12\}//g' -e 's/[[:blank:]]*site1[[:blank:]]*/ /g' -e 's/_bundle//g' -e 's/_validat(ed|ion_)//g' -e 's/_required_apply//g' -e 's/--//g' | sort -V | column -t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment