CLI for management
This documentation does not apply to the most recent version of Splunk. Click here for the latest version.
Contents
CLI for management
User Accounts
Splunk user accounts can be created and maintained through the CLI. An Enterprise license is required for user accounts.
Actions
- add
- edit
- list
- remove
Default Argument
- username
Parameters
- username
- full-name
- password
- role
- user
- power
- admin
Examples
splunk add user -username algore -full-name "Al Gore" -password pa55word splunk edit user algore -role user
Controls
Commands for sysadmins to start and stop Splunk Server processes, and to check the syntax of configuration files for errors.
Actions
- start
- stop
- restart
- status
- verifyconfig
Contexts
- splunkd (start/stop/restart)
- splunkweb (start/stop/restart)
Default Argument
- None
Parameters
- --nodaemon (start)
--nodaemon only starts splunkd, start the GUI manually with {start splunk splunkweb} in another shell.
Examples
splunk start
splunk start --nodaemon
splunk restart splunkd
splunk stop splunkweb
This documentation applies to the following versions of Splunk: 3.0 , 3.0.1 , 3.0.2 , 3.1 , 3.1.1 , 3.1.2 , 3.1.3 , 3.1.4 View the Article History for its revisions.