oncloudtraining / elk-stack-installation

The Elastic stack (ELK) powered by Ansible

Home Page:https://garutilorenzo.github.io/ansible-collection-elk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

The Elastic stack (ELK) powered by Ansible

https://garutilorenzo.github.io/ansible-collection-elk/

License:GNU General Public License v3.0


Languages

Language:Jinja 97.9%Language:Shell 2.1%