Skip to content

Instantly share code, notes, and snippets.

@donjohnson
Created November 9, 2011 01:22
Show Gist options
  • Save donjohnson/1350003 to your computer and use it in GitHub Desktop.
Save donjohnson/1350003 to your computer and use it in GitHub Desktop.
splunk :(
[root@vm-splunk01.sf ~]# export SPLUNK_HOME="/opt/splunk"
[root@vm-splunk01.sf ~]# $SPLUNK_HOME/bin/splunk help commands
ERROR: pid 24401 terminated with signal 6
Splunk is not running, and it must be for this operation. To start splunk, run "splunk start".
[root@vm-splunk01.sf ~]# $SPLUNK_HOME/bin/splunk help
ERROR: pid 24411 terminated with signal 6
Splunk is not running, and it must be for this operation. To start splunk, run "splunk start".
[root@vm-splunk01.sf ~]# $SPLUNK_HOME/bin/splunk
Not enough arguments. Please specify a valid command from this list:
Welcome to Splunk's Command Line Interface (CLI).
Type these commands for more help:
help simple, cheatsheet display a list of common commands with syntax
help commands display a full list of CLI commands
help [command] type a command name to access its help page
help control, controls tools to start, stop, manage Splunk processes
help [object] type an object name to access its help page
help [topic] type a topic keyword to get help on a topic
help datastore manage Splunk's local filesystem use
help distributed manage distributed configurations such as
data cloning, routing, and distributed search
help forwarding manage deployments
help input, inputs manage data inputs
help licensing manage licenses for your Splunk server
help settings manage settings for your Splunk server
help tools tools to help your Splunk server
help training train Splunk to recognize dates, source
types, or fields
help search help with Splunk searches
Universal Parameters:
The following parameters are usable by any command. For more details on each
parameter, type "help [parameter]".
Parameter syntax:
[command] [object] [-parameter <value> | <value>]... [-uri][-auth]
app specify the app or namespace to run the command; for search,
defaults to the Search app
auth specify login credentials to execute commands that require
you to be logged in
owner specify the owner/user context associated with an object;
if not specified, defaults to the currently logged in user
uri execute a command on any specified Splunk server, use the
format: <ip>:<port>
TYpe "help [object|topic]" to get help on a specific object or topic.
Complete documentation is available online at: http://www.splunk.com/base/Documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment