Created
February 12, 2019 19:24
-
-
Save codingWithJimmy/61856bc188a6fd03c2b48287f25d95a5 to your computer and use it in GitHub Desktop.
Useful aliases when dealing with Splunk installations on the command line
This file contains hidden or 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
| # Core Splunk Commands | |
| alias splunk='/opt/splunk/bin/splunk' | |
| alias apps='cd /opt/splunk/etc/apps' | |
| alias splunk_log='tail -f /opt/splunk/var/log/splunk/splunkd.log' | |
| alias btool='/opt/splunk/bin/splunk btool' | |
| # Deployment server commands | |
| alias deploy_apps='cd /opt/splunk/etc/deployment-apps' | |
| alias deploy_reload='/opt/splunk/bin/splunk reload deploy-server' | |
| # Indexer cluster commands | |
| alias master_apps='cd /opt/splunk/etc/master-apps' | |
| alias validate_cluster_bundle='/opt/splunk/bin/splunk validate cluster-bundle' | |
| alias apply_cluster_bundle='/opt/splunk/bin/splunk apply cluster-bundle' | |
| # Search head cluster commands | |
| alias shcluster_apps='cd /opt/splunk/etc/shcluster/apps' | |
| alias apply_shcluster_bundle='/opt/splunk/bin/splunk apply shcluster-bundle --answer-yes -target' | |
| alias shcluster_restart='/opt/splunk/bin/splunk splunk rolling-restart shcluster-members' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment