splunk set



  • Set current values for settings of your Splunk installation.
    Syntax:
    
    	set [object][<value>]
    
    	set indexing-ready
    
    	set shcluster-indexing-ready
    
    Objects:
    
    	set web-port            		set the port that Splunk Web 
    listens on
    	set splunkd-port        		new port that splunkd should 
    listen on
    	set kvstore-port        		sets the port that the KV Store 
    uses
    	set appserver-ports     		new port that Splunk 
    application server should listen on
    	set default-hostname    		new host name to use
    	set minfreemb           		set the minimum free disk space 
    threshold
    	set servername          		set the servername used in a 
    distributed search
    	set datastore-dir       		path to new datastore directory
    	set log-level           		Change the logging level of a 
    Splunk component
    	set indexing-ready      		Set the force indexing ready 
    bit.
    	set shcluster-indexing-ready		Set the force indexing ready 
    bit.
    	set deploy-poll         		Sets deployment server to poll 
    updates from
    
    Required Parameters:
    
    	(For set kvstore-port)
    		port                		port value to be set
    
    	(For set deploy-poll)
    		hostport            		In the format <host>:<port> 
    where host and port are hostname or IP address of the deployment server to poll 
    updates from.
    
    Optional Parameters:
    
    	(For set deploy-poll)
    		pass4SymmKey        		Specifies the pass4SymmKey to 
    be used when communicating with the deployment server.
    
    Examples:
    
    	./splunk set log-level TailingProcessor -level DEBUG
    
    	./splunk set indexing-ready
    
    	./splunk set shcluster-indexing-ready
    
    	splunk set deploy-poll bologna:1234
    
    	splunk set deploy-poll bologna:1234 -pass4SymmKey changeme
    
    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