Splunk Basics

Introduction

Installation

Documentation if you need it
  1. Create an account

  2. Go to downloads - Since I'm doing this on Debian, I'll get the .deb file

  3. wget the URL (or download normally) then

  4. sudo apt-get install curl (Curl is important)

  5. install it using sudo dpkg -i splunk_package_name.deb

Confirm the installation using root@IDS-SIEM:~/Splunk# dpkg --status splunk

Confirming Installation

Setting Up

Now that we have Splunk installed, let's set up our credentials and take a look at the basic functionalities. To run the web server, go to /opt/splunk/bin and run ./splunk start

You can now access the web server from your device - I'll make a DNS pointer to it so I don't have to memorise the IP.

You should be met with this dashboard if you've followed the steps correctly.

Make sure to assign enough disk space to the container - you may need more or less depending on your traffic/activity.

Splunk Dashboard

Running Splunk on Reboot

If you are doing this on Proxmox, you might have a situation where you have to restart your cluster or server. To factor for this, I'll be using Cron to start up Splunk whenever the container is launched. You can also set up the containers to run when the cluster is up which will be shown below

Container > Summary > Start on Boot > Check the box

Spelunking with Splunk

Interface

Drawing

Applications Directory

Configure or use your installed applications. We will be using this in the next chapter.

Product Tours

This is where you can go through a short tutorial on how to use Splunk, upload data, and sort out tables etc. Very useful when starting out.

Splunk Apps

This is where you can view the Splunk marketplace for applications.

Dashboard

This is where you can add important monitors that you might want to see when you start up Splunk.

Using Splunk

Loading Data

Filtering Logs

687KB
Open
Taken from THM

Last updated

Was this helpful?