Install Splunk Enterprise Security on an on-prem search head
Install Splunk Enterprise Security on an on-premises search head. Splunk Cloud Platform customers must work with Splunk Support to coordinate access to the Splunk Enterprise Security search head.
Install Splunk Enterprise Security
The installer dynamically detects if you're installing in a single search head environment or search head cluster environment. The installer is also bigger than the default upload limit for Splunk Web.
Follow these steps to start installing Splunk Enterprise Security:
- Increase the Splunk Web upload limit to at least 2 GB by creating a file called
$SPLUNK_HOME/etc/system/local/web.conf
with the following stanza.[settings]
max_upload_size = 2048 - To restart Splunk from the Splunk toolbar, select Settings.
- Select Server controls and then select Restart Splunk.
- On the Splunk toolbar, select Apps.
- Select Manage apps and then sleect Install app from file.
- Select Choose file and select the Splunk Enterprise Security product file.
- Select Upload to begin the installation.
- Select Set up now to start setting up Splunk Enterprise Security
Set up Splunk Enterprise Security in a single search head environment
Follow these steps to set up Splunk Enterprise Security in a single search head environment:
- Select Start.
- If you are not using Secure Sockets Layer (SSL) in your environment, do one of the following steps when you see the SSL Warning message:
- Select Enable SSL to turn on SSL and start using
https://
for encrypted data transfer. - Select Do Not Enable SSL to keep SSL turned off and continue using
http://
for data transfer.
- Select Enable SSL to turn on SSL and start using
The '''Splunk Enterprise Security Post-Install Configuration''' page indicates the status as it moves through the stages of installation.
- Choose to exclude selected add-ons from being installed, or install and disable them. When the setup is done, the page prompts you to restart Splunk platform services.
- If prompted to do so, select Restart Splunk to finish the installation.
If you enable SSL, you must change the Splunk Web URL to use https
to access the search head after installing Splunk Enterprise Security.
After the installation completes, review the installation log in: $SPLUNK_HOME/var/log/splunk/essinstaller2.log
.
Configure Splunk Enterprise Security
To continue configuring Splunk Enterprise Security, see the following:
- Deploy add-ons included with Splunk Enterprise Security
- Configure and deploy Indexes in Splunk Enterprise Security
- Configure users and roles in Splunk Enterprise Security
- Configure data models in Splunk Enterprise Security
For an overview of the data sources and collection considerations for Enterprise Security, see Data source planning.
Install Splunk Enterprise Security from the command line
Install Splunk Enterprise Security using the Splunk software command line. See About the CLI for more about the Splunk software command line.
- Follow the steps in Download Splunk Enterprise Security to download Splunk Enterprise Security and place it on the search head.
- Start the installation process on the search head. Install with the
./splunk install app <filename>
command or perform a REST call to start the installation from the server command line.
For example:curl -k -u admin:password https://localhost:8089/services/apps/local -d filename="true" -d name="<file name and directory>" -d update="true" -v
Using the
-d
option in the command might cause errors in case of a new installation of Splunk Enterprise Security.For information on upgrading Splunk Enterprise Security, see Upgrade Splunk Enterprise Security. You can upgrade the Splunk Enterprise Security app on the CLI using the same process as other Splunk apps or add-ons. For information on upgrading Splunk platform apps, see Manage apps and add-ons. After Splunk Enterprise Security is installed, run the
essinstall
command with the appropriate flags as shown in the next step. - On the search head, use the Splunk software command line to run the following command:
splunk search '| essinstall' -auth admin:password
You can also run this search command from Splunk Web and view the installation progress as search results.| essinstall
When installing from the command line,
If you run the search command to install Splunk Enterprise Security in Splunk Web, you can review the progress of the installation as search results. If you run the search command from the command line, you can review the installation log in:ssl_enablement
defaults to "strict." If you don't have SSL enabled, the installer exits with an error.$SPLUNK_HOME/var/log/splunk/essinstaller2.log
.
Test installation and setup of Splunk Enterprise Security
Follow these steps to test the installation and setup of Splunk Enterprise Security:
- Follow the steps in Download Splunk Enterprise Security to download Splunk Enterprise Security and place it on the search head.
- Start the installation process on the search head. Install with the
./splunk install app <filename>
command or perform a REST call to start the installation from the server command line.
For example:curl -k -u admin:password https://localhost:8089/services/apps/local -d filename="true" -d name="<file name and directory>" -d update="true" -v
- From Splunk Web, open the Search and Reporting app.
- Enter the following search to perform a dry run of the installation and setup.
|essinstall --dry-run
Uninstall Splunk Enterprise Security
You can uninstall Splunk Enterprise Security by removing the Splunk Enterprise Security Suite from the $SPLUNK_HOME/etc/apps folder by recursively deleting the directory or moving it to $SPLUNK_HOME/etc/disabled-apps and restarting Splunk. When you restart Splunk, the KV Store data is also removed. You can temporarily test the uninstallation of Splunk Enterprise Security by moving the Splunk Enterprise Security Suite to the disabled-apps folder and then move it back.
Splunk Enterprise Security is a collection of apps, so removing a single app folder will not uninstall it. You need to remove or move all applicable apps in the Splunk Enterprise Security Suite.
See also
For more information on installing Splunk Enterprise Security in a search head cluster environment, see the product documentation:
Installing Splunk Enterprise Security in a search head cluster environment
Data source planning for Splunk Enterprise Security | Install Splunk Enterprise Security in a search head cluster environment |
This documentation applies to the following versions of Splunk® Enterprise Security: 8.0.0
Feedback submitted, thanks!