Sicurezza Informatica Cybersecurity

Building a SIEM with Elastic Stack (ELK): From Theory to Practice

Build a complete SIEM with Elastic Stack (ELK): log collection with Filebeat, KQL analysis on Kibana and Docker Compose.

Course description

Building a SIEM from scratch — with Elastic Stack

A SIEM (Security Information and Event Management) is the system that collects, analyzes and correlates security logs across the entire infrastructure. In this course we build a complete SIEM using Elastic Stack (ELK): Elasticsearch, Kibana, Logstash and Filebeat, orchestrated with Docker Compose.

What We Build Together

  • ELK Stack architecture: how the components integrate into a real SIEM system
  • Random log generation scripts to simulate real events (SSH, login, errors)
  • Configuring Filebeat for log collection and forwarding to Elasticsearch
  • Complete Docker Compose setup to launch the entire environment in containers
  • Kibana: visualizing and querying logs with KQL (Kibana Query Language)
  • Advanced KQL operators: AND, OR, NOT with real-time event simulation
  • Dissect processor in Filebeat to tokenize unstructured logs
  • Dashboards with Kibana Lens: smart visualizations for security monitoring

Who This Is For

Cybersecurity professionals, DevOps engineers and system administrators who want to build a real monitoring system. A basic knowledge of Linux and Docker is recommended before starting.

Why Elastic Stack

ELK is the de facto standard for log management and enterprise security. Learning it allows you to work on platforms used by thousands of companies worldwide, and the same architecture applies to commercial solutions like Elastic Security and OpenSearch.

Lessons list

Let's introduce the SIEM and Elastic Stack architecture: I'll explain what Elasticsearch, Kibana, Logstash and Filebeat are and how they integrate into a real Security Information and Event Management system.

Guarda lezione

Let's go deeper into the data flow in the Elastic Stack: how Filebeat collects logs, Logstash processes them, and Kibana visualises them — a complete overview of the SIEM pipeline we'll build.

Guarda lezione

I'll develop random log generation scripts to simulate real events such as SSH connections, logins and errors, then configure Filebeat to collect and forward them to Elasticsearch.

Guarda lezione

Let's build the docker-compose.yml file to start the entire Elastic Stack environment in containers, configuring Elasticsearch, Kibana, Logstash and Filebeat in a single working stack.

Guarda lezione

Let's configure Kibana to display the logs collected from Elasticsearch: from creating the data view to exploring the first events in our ELK SIEM running on Docker Compose.

Guarda lezione

Let's explore the log structure in our SIEM and learn to write KQL (Kibana Query Language) queries to filter specific events, search field values, and analyse security data.

Guarda lezione

Let's go deeper into KQL with AND, OR and NOT logical operators to build complex conditions, testing our queries in real time while the log generator simulates new SIEM events.

Guarda lezione

I'll show you how to use Filebeat's Dissect processor to tokenise unstructured logs: we'll transform raw text lines into structured fields ready for analysis in Kibana.

Guarda lezione

Let's customise Kibana visualisations to turn raw SIEM data into effective visual insights: I'll walk through techniques for creating security monitoring charts and panels.

Guarda lezione

Let's build a complete SIEM dashboard with Kibana Lens: we'll create interactive, intelligent visualisations on security logs for at-a-glance infrastructure monitoring.

Guarda lezione

Un generatore di log realistici per i tuoi lab SIEM: un'immagine Docker che simula SSH, firewall, web server, application server, DNS, VPN, endpoint e IDS, scrivendo eventi in syslog BSD, RFC 5424, JSON, ECS e CEF. In qu...

Guarda lezione
Giovanni Pace

Giovanni Pace

Ingegnere Informatico · Pratola Peligna

  • 107 Courses
About the teacher

Sono un ingegnere informatico con oltre 15 anni di esperienza nel settore ICT. Mi occupo di sviluppo software, cybersecurity, data science e intelligenza artificiale, con particolare attenzione all’innovazione e all’automazione dei processi aziendali. Da anni svolgo anche attività di docenza e formazione, creando percorsi pratici e coinvolgenti su programmazione, DevOps, AI e sicurezza informatica.

This course includes

  • Lessons 11
  • Duration 2h 11m
  • Difficulty advanced
  • Language it
  • Certificate No

Recently viewed