Skip to content

garutilorenzo/ansible-collection-elk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub issues GitHub GitHub forks GitHub stars

elk-logo

Install and configure the ELK stack

Install and configure the ELK stack:

Elastic Beats:

Requirements

Install ansible, ipaddr and netaddr:

pip install -r requirements.txt

Roles documentation

You can refer to the README.md file in each role directory:

you can also explore all roles variables here

Using this collection

Install from GitHub

ansible-galaxy collection install git+https://github.com/garutilorenzo/ansible-collection-elk

Examples

How to use this Ansible collection

Vagrant

To test this collection you can use Vagrant and Virtualbox to bring up a example infrastructure. Once you have downloaded this repo use Vagrant to start the virtual machines:

vagrant up

In the Vagrantfile you can inject your public ssh key directly in the authorized_keys of the vagrant user. You have to change the CHANGE_ME placeholder in the Vagrantfile. You can also adjust the number of the vm deployed by changing the NNODES variable (Default: 6)

Tutorial

Full tutorial available here

TODO

  • Add cleanup step
  • Add upgrade step