Install Splunk on AWS EC2 Instance

Let's install Splunk on AWS EC2 Instance.

  1. First visit the Splunk link:

  • Register for free trial. (Usually I use temp mails for such kinda account, even you can also use that)

  1. Verify and login now.

  2. Let's download

Download via Command Line (wget)

wget -O splunk-9.3.2-d8bb32809498-linux-2.6-amd64.deb "https://download.splunk.com/products/splunk/releases/9.3.2/linux/splunk-9.3.2-d8bb32809498-linux-2.6-amd64.deb"

Launch the instance for Splunk

Connect now with pem files for the instance

Use the given commands

sudo apt update -y
wget -O splunk-9.3.2-d8bb32809498-linux-2.6-amd64.deb "https://download.splunk.com/products/splunk/releases/9.3.2/linux/splunk-9.3.2-d8bb32809498-linux-2.6-amd64.deb"
sudo dpkg -i splunk-9.3.2-d8bb32809498-linux-2.6-amd64.deb

First, switch to the Splunk directory:

cd /opt/splunk

Then, start Splunk:

sudo ./bin/splunk start

Then just press enter till the _

Give desire credentials

The Splunk web interface is at http://ip-172-31-21-144:8000

Lets access the Splunk Web Interface.

Now signin with your credentials.

# Some Useful Commands
cd /opt/splunk #directory
sudo ./bin/splunk start #start splunk
sudo ./bin/splunk stop #stop splunk
sudo ./bin/splunk restart #restart splunk
sudo ./bin/splunk status #status splunk

Last updated