This topic provides common methods for starting and stopping Splunk Enterprise.
Start Splunk Enterprise on Windows
Splunk Enterprise installations are placed into the path
C:\Program Files\Splunk
by default. The documentation will refer to this default path as
%SPLUNK_HOME%
.
Splunk Enterprise installs one service named
splunkd
. In normal operation, only the
splunkd
service runs and handles all Splunk Enterprise operations, including the Splunk Web interface.
You can start and stop Splunk Enterprise on Windows in one of the following ways:
Use the Windows Services control panel.
Click the Start Button and type "services."
Select the Services control panel option.
In the Services control panel, find the
Splunkd Service
service.
Start or stop the service.
Use the
NET START
or
NET STOP
commands.
Open an administrative command prompt.
Type:
NET START splunkd
or
NET STOP splunkd
.
Use the Splunk Enterprise executable.
Open an administrative command prompt.
Change the path to
%SPLUNK_HOME%\bin
.
Type:
splunk [start|stop|restart]
.
Start Splunk Enterprise on *nix
Splunk Enterprise installations using a package (.rpm or .deb) will install into the path
/opt/splunk
by default. The documentation will refer to this default path as
$SPLUNK_HOME
.
Splunk Enterprise installs one process named
splunkd
. In normal operation, only the
splunkd
process runs and handles all Splunk Enterprise operations, including the Splunk Web interface.
You can start and stop Splunk Enterprise on *nix in one of the following ways:
Use the Splunk Enterprise process.
Log in as the user account running Splunk Enterprise processes.
Open a shell prompt.
Change the path to
$SPLUNK_HOME/bin
Type:
splunk [start|stop|restart]
.
Use a service command.
If you configured Splunk Enterprise to start at boot time, you will interact with the process using the service command. Using the service command ensures that the user configured in the init.d script starts the process. See
Enable boot-start on *nix platforms
.
Open a shell prompt.
Type:
splunkd service [start|stop|restart]
.
Use systemd commands.
If you configured Splunk Enterprise to use systemd, you will interact with the process using the systemctl command. See
Configure systemd using enable boot-start
.
Please try to keep this discussion focused on the content covered in this documentation topic.
If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk,
consider posting a question to
Splunkbase Answers
.
out of 1000 Characters
Submit Comment
We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website.
Learn more (including how to update your settings) here »
Closing this box indicates that you accept our Cookie Policy.