Deploys LogStash + ElasticSearch + Kibana3
Go to file
2013-07-06 20:21:12 -07:00
files initial commit 2013-07-06 20:21:12 -07:00
handlers initial commit 2013-07-06 20:21:12 -07:00
playbooks initial commit 2013-07-06 20:21:12 -07:00
tasks initial commit 2013-07-06 20:21:12 -07:00
vars initial commit 2013-07-06 20:21:12 -07:00
.gitignore initial commit 2013-07-06 20:21:12 -07:00
README.md initial commit 2013-07-06 20:21:12 -07:00

ansible-playbook-kibana

This repo is a set of playbooks which will deploy Logstash + ElasticSearch + Kibana all on a single server.

Setup

To get started you will need to setup ./vars/global_vars.yml. To do this I recommend just copying ./vars/global_vars.yml.sample and filling in the variables to whatever you want.

cp ./vars/global_vars.yml.sample ./vars/global_vars.yml
vi ./vars/global_vars.yml

You'll also need to setup ansible's inventory to define the central-logging host.

sudo vi /etc/ansible/hosts

and add

[central-logging]
foo.com

Running Ansible

There are a few ways to use this set of playbooks -- you can either run the deployment of each service individually, or you can run them all in one go.

All Services
ansible-playbook playbooks/all.yml
Just ElasticSearch
ansible-playbook playbooks/elasticsearch.yml
Just LogStash
ansible-playbook playbooks/logstash.yml
Just Kibana3
ansible-playbook playbooks/kibana.yml