mikecee / splunkbox

Automated Splunk install into a CentOS VM under Vagrant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CentOS 6 Vagrant Box with Splunk install via Ansible

Installs and sets running Splunk, on top of a @core CentOS Vagrant Box.

Tested with CentOS 7 64bit and Splunk 6.2.3-264376 as of November 2015.

You need to have Ansible installed prior to spinning this box up.

Look at playbook.yml to see what Ansible is doing to the base CentOS box.

You'll need to download the Splunk RPM and put it in a sw/ directory off of wherever you clone this to. Check it's the same version as mentioned in playbook.yml and adjust the filename accordingly if it's not.

The VM will boot and install Splunk and set it running on localhost. It will also install nginx from EPEL, set it listening on port 80, and proxy to Splunk. There are notes in the splunk.conf file about how to listen on https, and how to use basic authentication.

There are also a number of Splunk 'must have' apps that are installed. You'll need to download these from apps.splunk.com first - all the URLs are noted in the playbook. If you want to skip them, just set installapps to false (with extra-vars - see the Vagrantfile).

About

Automated Splunk install into a CentOS VM under Vagrant


Languages

Language:Shell 100.0%