Note: This post is Part 3 of the series on using Splunk in a Virtual Lab – The full series is Introduction, Part 1, Part 2, Part 3, and Part 4.
Install Splunk Universal Forwarder
Installation Site: LinkDownload Universal Forwarder: https://www.splunk.com/en_us/download/universal-forwarder.html
- Create a VM using Ubuntu
- Wget the Universal Forwarder application from Splunk
- Install tar on Ubuntu VM: sudo apt-get install tar
- Extract the forwarder: sudo tar -xvzf splunkforwarder[...].tgz -C /opt/ (Note: this command has -C flag enabled)
- Move into the
/opt/splunkforwarder/bin
directory - Run splunk start or splunk start --accept-license to start the Universal Forwarder
- [Optional] Create a login using the Splunk Web interface or using command line. I created a user, with username of "forwarder".
- Go to http://127.0.0.1:8000
- Login if not authenticated
- "Settings" (top right of screen
- Under "User and Authentication", click "Access controls"
- Under "Users" and Click "Add New"
- Username: forwarder
- Full Name: forwarder
- Role: Admin (removed user)
- Password: [create one]
- We need to add the Forwarder:
splunk add forward-server <host>:<port> -auth <username>:<password>
, default port number is 9997.
- splunk add forward-server 127.0.0.1:9997 -auth admin:<changeme> (forwarder login did not work)
Linux Note:
(Part of my Security Lab) Below, you will find the VM system requirements.
Name: | lab_ubuntu_splunk |
---|---|
Operating System: | Ubuntu 14.04.3 |
Base Memory (RAM): | 1000 MB or 1GB |
Storage: | 8.0 GB |
Network: | NAT |
- Web Interface
No comments :
Post a Comment