Setting Up Splunk Enterprise and Adding a Forwarder
Introduction
As I dive deeper into the world of SOC tools like Wazuh, 微软 Sentinel, and LimaCharlie, I've realized the importance of staying up-to-date with the latest technologies. One tool that's been on my radar—and is practically a must-know for any serious SOC analyst—is Splunk . It's like the Swiss Army knife of SIEM platforms, known for its versatility and widespread use in the cybersecurity world.
Plus, I've got another reason to dive into Splunk: I'm gearing up to tackle the Splunk Core Certified User exam. So, not only do I get to expand my knowledge, but I also get to add a shiny new certification to my resume.
In this first part of the series, we'll start by setting up Splunk Enterprise and adding a forwarder. It's all about getting hands-on and practical, because that's where the real learning happens.
Step 1: Setting Up Ubuntu Servers in Oracle VirtualBox:
I have provided detailed instructions on setting up VirtualBox in the article linked above, please refer to it.
Step 2: Downloading and Installing Splunk Enterprise:
Now that I have my Ubuntu servers set up, it's time to bring Splunk Enterprise into the mix. Here's how I went about downloading and installing it:
dpkg -i splunk_package_name.deb
Replace 'splunk_package_name.deb' with the name of the downloaded installation file."
./splunk start --accept-license
You will be prompted to create a new username and password.
After obtaining the IP address, you can access the Splunk web interface by opening a web browser and entering the IP address followed by port 8000. For example, if the IP address is 192.168.1.100, you would enter https://192.168.1.100:8000 in the browser's address bar.
This should take you to the Splunk web interface where you can log in using the username and password you set up during the installation process.
Step 3: Configure Data Inputs:
Configuring data inputs in Splunk is essential for telling Splunk where to look for data to index. Splunk is a powerful platform for searching, analyzing, and visualizing machine-generated data. However, it doesn't automatically know where to find your data. Data inputs serve as the bridge between your data sources and Splunk.
Step 4: Install and Configure Universal Forwarder:
dpkg -i splunk_package_name.deb
Replace 'splunk_package_name.deb' with the name of the downloaded installation file."
./splunk start --accept-license
./splunk add forward-server 192.168.183.130:9997
./splunk add monitor -auth username:password /var/log/syslog
Replace 'username:password' with your credentials.
Step 6: Verify Forwarder Configuration:
That's all for this article. I'll be writing more articles that delve deeper into Splunk in the future. Thank you for taking the time to read it.
#Splunk #SOC #SIEM #Cybersecurity #InfoSec