Installing Splunk Enterprise on Ubuntu: Step-by-Step Guide

Daniel Opara
4 min readJun 6, 2023

--

Introduction:
Splunk Enterprise is a powerful platform for analyzing and visualizing machine-generated data. It offers real-time insights into your data, enabling you to make informed decisions. In this step-by-step guide, I will walk you through the process of installing Splunk Enterprise on Ubuntu, one of the most popular Linux distributions.

Let’s dive in!

Step 1: Prerequisites
Before we begin, ensure that your Ubuntu system meets the following requirements:
- A supported version of Ubuntu (e.g., Ubuntu 20.04 LTS).
- Sufficient disk space and system resources.
- Access to the internet for downloading the Splunk Enterprise package.

Step 2: Download Splunk Enterprise (SE)
1. Open a web browser and navigate to the Splunk website (https://www.splunk.com).

2. Create an account or login to your account.

3. Under Products, click on “Free Trials & Downloads”.

4. Scroll down, under Splunk Enterprise click-on “Get My Free Trial”

5. Select the appropriate version of Splunk Enterprise for Linux (64-bit) and choose the Debian package (`.deb`) format.

4. We will be downloading SE via CLI so go ahead and cancel the download process and click on “Download via Command Line (wget)”.

5. Click ‘here’ to copy the entire command.

Step 3: Install Splunk Enterprise
1. Open a terminal on your Ubuntu system.

2. Navigate to the Downloads directory where the Splunk Enterprise package is to be downloaded. (cd Downloads)

3. Paste and run the command gotten from the Splunk site to download Splunk Enterprise.

4. To view the downloaded file type:

ls

5. Next, run this command to install Splunk Enterprise:

sudo apt install ./splunk<version>.deb

Note: Replace `<version>` with the actual version number of the downloaded Splunk Enterprise package. (tip: copy and paste the splunk file)

4. After the installation completes, start Splunk Enterprise by running:

sudo /opt/splunk/bin/splunk start — accept-license

5. Type ‘y’ to agree with the license.

6. Splunk Enterprise will prompt you to create an administrator password. Follow the instructions to set a secure password.

Step 4: Access Splunk Enterprise Web Interface
1. Start up the Splunk web interface by running:

sudo /opt/splunk/bin/splunk start

2. After loading, right click on the link beside “The Splunk web interface is at” and click-on Open Link

3. The Splunk Enterprise login page should appear. Enter the username and password you set in the Step 3 (6).

4. Once logged in, you can start using Splunk Enterprise to ingest, search, and analyze your data.

Conclusion:
Congratulations! You have successfully installed Splunk Enterprise on Ubuntu. You can now leverage the power of Splunk to index, search, and analyze your machine-generated data. Explore the rich features and capabilities offered by Splunk to gain valuable insights into your data and drive informed decision-making.

--

--