Data Engineering for Cybersecurity
AdvancedDetectionToolingThreat Intelligence

Data Engineering for Cybersecurity

Build Secure Data Pipelines with Free and Open-Source Tools

4 / 5

A decade-plus threat analyst teaches how to collect, normalize, enrich, and secure the telemetry (logs, events, metrics) that security teams depend on, using open-source tools like Filebeat, Logstash, Redis, Kafka, and Elasticsearch.

Verdict

A hands-on build guide for the telemetry pipeline underneath detection and threat intel, using only free tools; excellent on the how, light on the why.

Buy on Amazon

As an Amazon Associate we earn from qualifying purchases. The links above are sponsored.

Published
2025
Publisher
No Starch Press
Pages
344
Language
English

Read this if

Detection engineers and SOC analysts who are tired of telemetry that doesn't organize itself and want to build the pipeline rather than just consume whatever the SIEM vendor provides. Covers collecting from Windows (Sysmon, PowerShell events), Linux (files, syslog), and network/security appliances, then transforming, securing, and automating with Ansible.

Skip this if

Readers looking for detection logic or threat hunting technique itself; this is the plumbing underneath those activities; not the analysis built on top of it. Also assumes comfort with Linux systems administration and basic scripting.

Key takeaways

  • Treats telemetry as an engineering problem with its own lifecycle (collect, normalize, enrich, secure) rather than something a SIEM magically handles.
  • Built entirely on free, open-source tooling (Filebeat, Logstash, Redis, Kafka, Elasticsearch), so the pipeline design is reproducible without a vendor contract.
  • Automating deployment with Ansible is treated as part of the job, not an afterthought — the pipeline has to be maintainable, not just functional once.

Strengths

  • Treats log and event flow as an engineering problem with a lifecycle (collect, normalise, enrich, secure) instead of something the SIEM magically handles.
  • Built entirely on free, open-source components (Filebeat, Logstash, Redis, Kafka, Elasticsearch), so every design is reproducible without a vendor contract.
  • Clear, step-by-step configuration with screenshots and snippets, readable by security people who are not full-time engineers.
  • Automating deployment with Ansible is part of the job, so the pipeline is maintainable, not a one-off.

Weaknesses

  • Spends little time on why particular data is worth collecting; it assumes you already know what your detections need.
  • Configuration walkthroughs are long and detailed, which can feel like reading documentation.
  • Tied to one stack; teams on a commercial SIEM or a different streaming platform must translate the patterns themselves.

Our review

Data Engineering for Cybersecurity is the book for the person who keeps getting asked why the SIEM is missing half the events. James Bonifield, a long-time threat analyst, walks through building a security telemetry pipeline end to end: collecting from Windows (Sysmon, PowerShell logs), Linux and network appliances, standardising and enriching events in Logstash, buffering through Redis and Kafka, landing in Elasticsearch, encrypting the links between components, and finally automating the whole deployment with Ansible.

It reads as a practical lab manual. The one substantial review we found praises the clear explanations, the screenshots and configuration snippets, and the decision to use tools any team can deploy without budget approval; the Logstash transformation chapters are singled out as the most useful. The same review notes the obvious trade-off: the book is all about how and spends little time on why, assuming you already know which data your detections depend on.

That makes it a complement rather than a starting point. Detection engineers and SOC analysts who own, or want to own, their log flow will get the most from it; readers looking for detection logic or hunting technique will not find it here. Published in 2025, it has not yet built up a body of reader discussion.

The infrastructure layer underneath this catalog's detection and threat-intelligence titles (Intelligence-Driven Incident Response, Applied Network Security Monitoring, Network Security Through Data Analysis): none of those books teach you to build the pipeline that feeds them, which is exactly this book's job. Pairs well with Malware Data Science for teams thinking about the full telemetry-to-detection-model pipeline.