This playbook is for setting up version 7.x of the ELK Stack on a remote server.
- The playbook was built and tested on Ubuntu 20 VMs, for ELK versions 7.x
- You will need Ansible installed and running
- Playbook is currently configured to set up the ELK stack together with Metricbeat for server perf monitoring. There is a role for Filebeat as well. You just need to add the Filebeat role to your [site.yml] file.
- Add your IP of the host name under elkserver group within hosts file
- Verify connectivity to the ELK server.
- clone the repo
- Cd into the directory, and run:
ansible-playbook site.yml
The plays in the playbook will run on the target server, installing ELK and the specified beats shippers.