splunk apply



  • Apply most recent configurations to the cluster
    Syntax:
    
    	apply [object] [--parameter]
    
    Objects:
    
    	apply cluster-bundle      		Make validated bundle active on 
    peers. In order to check the status of the bundle at the peers, use 'show 
    cluster-bundle-status' at the master.
    	apply shcluster-bundle    		 Deploy the bundle to all the 
    nodes in the search head cluster and restart them as needed.
    
    Required Parameters:
    
    	(For apply shcluster-bundle)
    		target              		Specify the  uri of one member 
    in the cluster.
    
    Optional Parameters:
    
    	(For apply cluster-bundle)
    		--skip-validation   		Pass this optional argument to 
    skip bundle validation on the master and peers
    
    	(For apply shcluster-bundle)
    		restart             		Specify if peers should be 
    automatically restarted if needed.
    
    		force               		Allow an empty bundle push to 
    clear all deployed apps in the search head cluster. WARNING: using this option 
    with an empty shcluster directory will delete all apps previously deployed to 
    the search head cluster; use with extreme caution!
    
    Examples:
    
    	'./splunk apply cluster-bundle'
    
    	'./splunk apply cluster-bundle --skip-validation'
    
    	'./splunk apply cluster-bundle --answer-yes'
    
    	'./splunk apply cluster-bundle --skip-validation --answer-yes'
    
    	'./splunk apply shcluster-bundle -target https://member_name:port
    
    Type "help [command]" to get help with parameters for a specific command.
    
    Complete documentation is available online at: 
    http://docs.splunk.com/Documentation
    

Log in to reply
 

© Lightnetics 2024