- HX Club
- September 20, 2021
How to Install & Configure Splunk Monitoring Tool on Ubuntu
Splunk is a powerful log analysis tool used for searching, monitoring, and analyzing machine-generated big data from a web browser. It helps you simplify log data from servers and networking devices into a simple format that you can easily read and digest. It supports all major operating systems including Windows, Linux, and Mac OS. It is easily scalable, fully integrated, and supports both local and remote data sources.
Installation
- Update the system.
apt-get update -y
- Install Splunk.
wget https://download.splunk.com/products/splunk/releases/8.0.5/linux/splunk-8.0.5-a1a6394cc5ae-linux-2.6-amd64.deb
- Download is completed now install the downloaded file with the following command:
dpkg -i splunk-8.0.5-a1a6394cc5ae-linux-2.6-amd64.deb
- Enable the Splunk service at system boot.
/opt/splunk/bin/splunk enable boot-start
- Press Enter & accept the license agreement as shown below:
- Type y & press enter.
- Provide the splunk username.
- Then provide the password.
- Start Splunk Service
service splunk start
- Now access Splunk Web Interface.
- Open web browser & access the Splunk interface using the URL http://your-server-ip:8000
- Click on Add Data.
- Click on Monitor.
- Click on Files & Directories.
- Click on Next.
- Click on Browser & set the target folder.
- Click on Next.
- Select the target folder.
- Save the Source type.
- Click on Next.
- Check the host field value.
- Click on Review.
- Review all the configuration.
- Click on Submit.
- Click on Start Searching.
- We can search the log and can set the alert on logs.