Files
computer-playbook/roles/web-app-elk
Kevin Veen-Birkenbach 6ea8301364 Refactor: migrate cmp/* and srv/* roles into sys-stk/* and sys-svc/* namespaces
- Removed obsolete 'cmp' category, introduced 'stk' category (fa-bars-staggered icon).
- Renamed roles:
  * cmp-db-docker → sys-stk-back-stateful
  * cmp-docker-oauth2 → sys-stk-back-stateless
  * srv-domain-provision → sys-stk-front
  * cmp-db-docker-proxy → sys-stk-full-stateful
  * cmp-docker-proxy → sys-stk-full-stateless
  * cmp-rdbms → sys-svc-rdbms
- Updated all include_role references, vars, templates and README.md files.
- Adjusted run_once comments and variable paths accordingly.
- Updated all web-app roles to use new sys-stk/* and sys-svc/* roles.

Conversation: https://chatgpt.com/share/68b0ba66-09f8-800f-86fc-76c47009d431
2025-08-28 22:23:09 +02:00
..

ELK Stack

Warning

For security reasons, this role is not recommended. If you prefer to keep your logs safe without relying on external servers, consider using an alternative tool.

Overview

This Ansible role deploys and configures an ELK Stack (comprising Elasticsearch, Logstash, and Kibana) using Docker Compose. The ELK Stack is widely used for centralized log collection, analysis, and visualization of log and machine-generated data.

Description

This role performs the following tasks:

  • Setup & Configuration: Installs and configures the three main components—Elasticsearch, Logstash, and Kibana.
  • Template-Driven Adjustments: Adapts configuration files through templates and variables.
  • Docker Integration: Deploys the stack using Docker Compose, integrating it into your containerized environment.
  • Service Management: Handles service restarts and updates through Ansible handlers.

Purpose

The ELK Stack is primarily used for:

  • Centralized Log Management: Consolidating logs from various systems into one location.
  • Real-Time Troubleshooting: Quickly diagnosing issues through live log analysis.
  • Performance Monitoring: Tracking system performance and identifying anomalies.
  • Security Analysis: Detecting and investigating security incidents based on log data.

Features

  • Centralized Log Management: Collects and aggregates logs from disparate systems.
  • Real-Time Analysis: Leverages Elasticsearch for fast data search and analytics.
  • Flexible Data Pipelines: Processes and transforms log data with Logstash.
  • Interactive Visualization: Creates dashboards and visual reports with Kibana.
  • Scalable & Extensible: Easily integrates additional tools and custom configurations via templates.

Credits 📝

Developed and maintained by Kevin Veen-Birkenbach.
For more information, visit www.veen.world.
Part of the Infinito.Nexus Project.
License: Infinito.Nexus NonCommercial License