Linux Mint

How to Install Splunk on Linux Mint 21

You can use Splunk to search and index log files which can help you to derive insights from data. The main benefit of the Splunk is that it stores data in its indexes so it does not need any separate database to store the information. By following the guide given in the article below you can learn how to install Splunk on Linux Mint 21.

How to Install Splunk on Linux Mint 21

You can install Splunk application on your Linux Mint by using the step-by-step method given below:

Step 1: First of all to download the .deb file of Splunk package execute the wget command mentioned below:

wget https://download.splunk.com/products/splunk/releases/7.1.1/linux/splunk-7.1.1-8f0ead9ec3db-linux-2.6-amd64.deb

 

Step 2: After downloading the file execute the following command to install the Splunk package:

sudo apt install ./splunk-7.1.1-8f0ead9ec3db-linux-2.6-amd64.deb

 

Step 3: Run the Splunk executable by changing the Splunk directory and executing the command given below:

sudo /opt/splunk/bin/splunk enable boot-start

 

Step 4: You will be asked do you agree with the licence or not, enter ‘Y’:


Step 5: Start the Splunk by executing the command given below:

sudo systemctl start splunk

 
You can also check its status by executing the command given below:

sudo systemctl status splunk

 

Step 6: By running the command given below you can set your own host address:

sudo nano /etc/hosts

 

Step 7: Now go to the browser, type the host address “127.0.0.1:8000” in the address bar and you will be directed to the Splunk application where you can log into your account:

Conclusion

Splunk is an application which you can access through the server to manage the databases. To use the Splunk online you can download the .deb file, make it executable using the command line terminal then run it on your server using the method mentioned above.

About the author

Rafia Amjad

I have a degree in Electronics and love to write. My research and writing emphasize on the most recent innovations in gaming and technology.