Install on Windows
|New for Splunk Enterprise version 6.2, the installation procedure has changed significantly. Read "Installation Options" in this topic before proceeding.|
This topic describes the procedure for installing Splunk Enterprise on Windows with the Graphical User Interface (GUI)-based installer. More options (such as silent installation) are available if you install from the command line.
Caution: You can no longer install or run the 32-bit version of Splunk Enterprise for Windows on a 64-bit Windows system. You also cannot install Splunk Enterprise on a machine that runs an unsupported OS (for example, on a machine that runs Windows Server 2003.) See "System requirements."
If you attempt to run the installer in such a way, it warns you and prevents the installation.
Install a universal forwarder
If you want to install the Splunk universal forwarder, see the Forwarding Data manual: "Universal forwarder deployment overview". Unlike Splunk Enterprise heavy and light forwarders, which are full Splunk Enterprise instances with some features changed or disabled, the universal forwarder is an entirely separate executable, with its own set of installation procedures. For an introduction to forwarders, see "About forwarding and receiving", also in the Forwarding Data Manual.
If you plan to upgrade Splunk Enterprise, see "How to upgrade Splunk" for instructions and migration considerations before proceeding.
Note that Splunk Enterprise does not support changing the management or HTTP ports during an upgrade.
Before you install
Choose the Windows user Splunk should run as
Before installing, see "Choose the Windows user Splunk Enterprise should run as" to determine the user account that the software should use, based on your specific needs. The user you choose has specific ramifications on what you must do prior to installing the software, and more details can be found there.
Splunk Enterprise for Windows and anti-virus software
The Splunk Enterprise indexing subsystem requires lots of disk throughput. Any software with a device driver that intermediates between Splunk Enterprise and the operating system can rob Splunk Enterprise of processing power, causing slowness and even an unresponsive system. This includes anti-virus software.
It's extremely important to configure such software to avoid on-access scanning of Splunk Enterprise installation directories and processes, before starting a Splunk installation.
Install Splunk Enterprise via the GUI installer
The Windows installer is an MSI file. You can get it from the Splunk software download page.
1. To start the installer, double-click the
The installer runs and displays the Splunk Enterprise Installer panel.
2. To continue the installation, check the "Check this box to accept the License Agreement" checkbox. This activates the "Customize Installation" and "Install" buttons.
Note: If you want to view the license agreement, click on the "View License Agreement" button.
New for Splunk Enterprise 6.2, the Windows installer gives you two choices: Install with the default installation settings, or configure all settings prior to installing.
The installer does the following by default:
- Installs Splunk Enterprise in
\Program Files\Splunkon the system drive (the drive that booted your Windows system.)
- Installs Splunk Enterprise with the default management and Web ports.
- Configures Splunk Enterprise to run as the Local System user. Read "Choose the user Splunk Enterprise should run as" in this manual to understand the ramifications.
- Creates a Start Menu shortcut for the software.
3a. If you want to change any of these default installation settings, click the "Customize Options" button and proceed with the instructions in "Customize Options" in this topic.
3b. Otherwise, click the "Install" button to install the software with the defaults. Then, continue with Step 8.
Note: On each panel, you can click Next to continue, Back to go back a step, or Cancel to cancel the installation and quit the installer.
The installer displays the "Install Splunk Enterprise to" panel.
Note: By default, the installer puts Splunk Enterprise into
\Program Files\Splunk on the system drive. This documentation set refers to the Splunk Enterprise installation directory as
4. Click "Change…" to specify a different location to install Splunk Enterprise, or click "Next" to accept the default value.
The installer displays the "Choose the user Splunk Enterprise should run as" panel.
Splunk Enterprise installs and runs two Windows services,
splunkweb. New for version 6.2, the
splunkd service handles all Splunk Enterprise operations, and the
splunkweb service installs to run only in legacy mode.
These services install and run as the user you specify on this panel. You can choose to run Splunk Enterprise as the Local System user, or another user.
Important: If you choose to run Splunk Enterprise as another user, that user must:
- Be a member of an Active Directory domain (you cannot install Splunk Enterprise as a local machine account other than the Local System account)
- Have local administrator privileges on the machine which you are performing the installation, and
- Have specific user rights, and other additional permissions, depending on the kinds of data you want to collect from remote machines.
See "Choose the Windows user Splunk Enterprise should run as" for additional information on these permissions and rights requirements.
If you have not read the above linked topic beforehand, then stop the installation now and read that topic first.
5. Select a user type and click Next.
If you selected the Local System user, proceed to Step 7. Otherwise, the installer displays the Logon Information: specify a username and password panel.
6. Specify a username and password to install and run Splunk Enterprise and click Next.
Important: You must specify the user name in
domain\username format. Failure to include the domain name when specifying the user will cause the installation to fail. This must be a valid user in your security context, and must be an active member of an Active Directory domain. Splunk Enterprise must run under either the Local System account or a valid user account with a valid password and local administrator privileges.
The installer displays the installation summary panel.
7. Click "Install" to proceed.
The installer runs and displays the Installation Complete panel.
Caution: If you specified the wrong user during the installation procedure, you will see two pop-up error windows explaining this. If this occurs, Splunk Enterprise installs itself as the Local System user by default. Splunk Enterprise does not start automatically in this situation. You can proceed through the final panel of the installation, but uncheck the "Launch browser with Splunk" checkbox to prevent your browser from launching. Then, use these instructions to switch to the correct user before starting Splunk.
8. If desired, check the boxes to Launch browser with Splunk and Create Start Menu Shortcut now. Click Finish.
The installation completes, Splunk Enterprise starts and launches in a supported browser if you checked the appropriate box.
Note: The first time you access Splunk Web after installation, login with the default username
admin and password
changeme. Do not use the username and password you provided during the installation process.
Launch Splunk in a Web browser
To access Splunk Enterprise after you start it on your machine, you can either:
- Click the Splunk icon in Start > Programs > Splunk
- Open a Web browser and navigate to
Log in using the default credentials: username:
admin and password:
The first time you log into Splunk Enterprise successfully, it prompts you right away to change your password. You can do so by entering a new password and clicking the Change password button, or you can do it later by clicking the Skip button.
Note: If you do not change your password, remember that anyone who has access to the machine and knows the default password can access your Splunk instance. Be sure to change the admin password as soon as possible and make a note of what you changed it to.
Avoid Internet Explorer Enhanced Security pop-ups
If you're using Internet Explorer to access Splunk Web, add the following URLs to the allowed Intranet group or fully trusted group to avoid getting "Enhanced Security" pop-ups:
- the URL of your Splunk Enterprise instance
Change the Splunk Web or splunkd service ports
If you want the Splunk Web service or the splunkd service to use a different port, you can change the defaults.
To change the Splunk Web service port:
- Open a command prompt.
- Change to the
- Type in
splunk set web-port ####and press Enter.
To change the splunkd port:
- Open a command prompt, if one isn't already.
- Change to the
- Type in
splunk set splunkd-port ####and press Enter.
Note: If you specify a port and that port is not available, or if the default port is unavailable, Splunk will automatically select the next available port.
Install or upgrade license
If you are performing a new installation of Splunk Enterprise or switching from one license type to another, you must install or update your license.
Now that you've installed Splunk Enterprise, you can find out what comes next, or you can review these topics in the Getting Data In Manual for information on adding Windows data:
Prepare your Windows network to run Splunk Enterprise as a network or domain user
Install on Windows using the command line
This documentation applies to the following versions of Splunk® Enterprise: 6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.2.4, 6.2.5, 6.2.6, 6.2.7, 6.2.8, 6.2.9, 6.2.10, 6.2.11, 6.2.12, 6.2.13, 6.2.14, 6.2.15