As root execute the following to download and install some basic linux apps:
sudo su -
yum install git wget vim htop lsof iftop -y
Download the Installer
Now we will download the appropriate linux installer for Splunk
wget -O splunk-6.1.1-207789-linux-2.6-x86_64.rpm 'http://www.splunk.com/page/download_track?file=6.1.1/splunk/linux/splunk-6.1.1-207789-linux-2.6-x86_64.rpm&ac=&wget=true&name=wget&platform=Linux&architecture=x86_64&version=6.1.1&product=splunk&typed=release';
New or additional downloads are available at http://www.splunk.com/download?r=header
Run the installer
rpm -i splunk-6.1.1-207789-linux-2.6-x86_64.rpm
Start the Splunk daemon and application
Using –accept-license allows for a silent startup with no user intervention required
./opt/splunk/bin/splunk start --accept-license
Schedule Splunk to start whenever the server is rebooted.
./opt/splunk/bin/splunk enable boot-start -user root
Access the UI
You will now be able to access the UI by navigating to:
From a browser:
Configure Splunk Listenter
To configure Splunk to listen on TCP 514 so that logs can be sent to the server
While still logged into the UI, navigate to Settings > Data Inputs > TCP > New
- Under "TCP port" enter "514"
- Under "Set Sourcetype" select "Manual"
- In "Source type" enter "syslog"
Then click "Save", Splunk should now be listening on port 514
If this server is remote to you you may need to open the firewall for TCP 8000, for simple proof of life you can disable the firewall by executing
Install Boundary Plugin
Now, to install the Boundary plugin for Splunk, clone the repo to a specific folder
git clone https://github.com/boundary/boundary_splunk_app.git
mv boundary_splunk_app/ boundary/
Now restart Splunk so the Boundary plugin is loaded.
Now for any servers which you want to install the Boundary Meter, log onto that server as root, download the script and add your credentials
curl -3 -s https://app.boundary.com/assets/downloads/setup_meter.sh > setup_meter.sh
chmod +x setup_meter.sh
./setup_meter.sh -d -i <organization>:<organization id>
To get you Boundary credentials for the previous step, log into Boundary:
- In the User drop down in the upper right corner select "User Settings" which should be at https://app.boundary.com/account
- Your organization keys should be listed on this screen.