Skip to content

brunograsselli/ansible-logstash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-logstash

This repository contains an ansible playbook (logstash.yml) that installs Logstash to a server (together with Elasticsearch, Kibana and Nginx). It also contains a role that installs Filebeat to app servers in order to forward the logs to logstash (roles/filebeat).

Usage

Running the playbook:

ansible-playbook -i logstash -u vagrant logstash.yml

Example of how to add the filebeat role to your app server's playbooks:

- hosts: app-vagrant
  remote_user: vagrant
  become: yes
  vars:
    logs_path: "/home/vagrant/fakeapp/log/*.log"
  vars_files:
     - variables/logstash/vagrant
  roles:
     - filebeat

Versions

  • filebeat 1.2.1
  • java 1.7.0
  • kibana 4.5.0
  • logstash 2.3.1
  • nginx 1.4.6

Releases

No releases published

Packages

No packages published