Skip to content

robertdebock/ansible-playbook-elk

Repository files navigation

Elasticsearch Logstash Kibana

An ELK stack.

Overview

\O/    +--- kibana ---+     + --- elasticsearch ---+
 | --> |              | --> |                      |
/ \    +--------------+     +----------------------+

Prepare

Download or update the Ansible roles.

ansible-galaxy install -r roles/requirements.yml -f

The state of the used roles:

Role name GitHub Action GitLab CI Version
bootstrap github gitlab version
core_dependencies github gitlab version
elastic_repo github gitlab version
logstash github gitlab version
elasticsearch github gitlab version
kibana github gitlab version
metricbeat github gitlab version

Test

ansible-playbook playbook.yml

Troubleshoot

Login to individual hosts using this command:

ssh -i files/id_rsa root@{{ fqdn }}

Cleanup

Throw away the machines.

cd terraform
terraform destroy

About

An ELK stack.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages