
You can add ML on top of an existing SIEM without rewriting its pipeline: run the model next to it as a separate service and widen its permissions one stage at a time. That is how we designed Monolith IAIR (Information Analysis and Incident Resolution) in 2019. There were four stages, and each gave the model more authority than the one before. It never became a product. There was a test bench and trials of several training schemes, and no results were ever published. The order of the stages outlived the project, though, and by 2026 almost every step has become its own product category.
Below I walk through the design using the original 2019 to 2020 documents: the grant application to Russia’s Foundation for Assistance to Innovations, our answers to the expert reviewers and the working draft. I do not name the company that filed the application or the prospective customers who sent letters of support: they are third-party legal entities, while the design and the team were mine. You will find what each stage breaks, where our sizing went wrong, what became standard by 2026, and a checklist for the order in which to add machine learning to your own SIEM today.
- The 2019 problem: analysts drowning in data preparation
- The classic SIEM pipeline, from sources to archive
- ML on top of an existing SIEM as a separate service
- Four stages and what each one breaks
- Stage 1. Two-way exchange with the SIEM database
- Stage 2. Feedback into collection, normalisation and indexing
- Stage 3. Network traffic and TLS
- Stage 4. Applying fixes
- Log sources: what we planned to read
- Two sizing tables: the 2019 draft and the 2020 answers to reviewers
- Plan versus reality: what was actually done
- 2026: what from the design became standard
- Checklist: the order for adding ML to your SIEM
- Frequently Asked Questions
- Can you add ML to a SIEM without changing the SIEM?
- Why do the stages come in this order?
- Did Monolith IAIR become a product?
- Do you need traffic analysis if the SIEM already collects logs?
- How do you size a SIEM with machine learning?
- Do LLM assistants replace an ML layer on top of a SIEM?
- Sources
- Need a consultation?
The 2019 problem: analysts drowning in data preparation
The application of 8 September 2019 described the pain like this. The data needed to investigate an incident sits on different parts of the infrastructure in different formats; it has to be gathered and reconciled, and that eats most of a specialist’s time. The second part was false alerts: teams raise thresholds to avoid drowning in noise and lose important signals along with the noise. The third was people. The (ISC)² 2018 workforce study put the global cybersecurity skills gap at almost 3 million, about 500,000 of them in North America. We quoted that figure in the application, and it matches the original study.
I am not repeating two other figures from the same section. The share of time spent on data preparation and the share of teams that ignore some of their alerts were quoted without a reference to any study, and I will not repeat a figure without its original source. The lesson is simple: industry statistics in a grant application or a presales deck need a citation, otherwise a year later nobody can check or defend them.
We framed the product more broadly than pure security. Collect events, recognise a known incident in them, immediately offer several fixes from our own knowledge base (most common first), and, where the access level allows, apply the fix automatically after a specialist approves it. The draft’s examples put a recommendation to lock down a new service against outside threats and install patches next to very ordinary outages: mail piling up in the queue because the sending service keeps restarting, or some desk phones going dead because their telephony server is unreachable.
The classic SIEM pipeline, from sources to archive
The left half of our diagram is an ordinary SIEM as most customers had it. It is worth spelling out, because each of the four stages attaches to a specific point in this pipeline.
- Sources: routers, firewalls, switches, Linux and Windows servers, hypervisors, applications, user activity, DLP, antivirus, physical access control, VPN.
- Collection: ingesting logs from every source.
- Normalisation: bringing records from different vendors into one format.
- Indexing: assigning identifiers and preparing records for search.
- Database: storing everything received.
- Modules on top of the database: rule-based alerting, reporting, ticket queues ordered by incident severity, an archive module that offloads to offline storage, and client interfaces.
On the right of the diagram Monolith IAIR is a separate block: the model, Python, Keras and TensorFlow, its own database, a REST API facing outwards and feeds from public and private vulnerability sources. The application also named Julia for the algorithm and PHP, Perl, Ruby, Java and Python for the web application’s server side; the diagram kept Python, Keras and TensorFlow. Red arrows mark the four stages. What a SIEM looks like when you build it on an open core today is covered in SIEM on an open core: what is ours and what is not.
ML on top of an existing SIEM as a separate service
The key architectural decision was not to embed the model inside the SIEM. There were three reasons, and all three still hold.
- The customer already has a SIEM. In the draft we planned to read Fortinet, Palo Alto, Checkpoint and Juniper firewalls, and some of the VPNs, “via Splunk”, that is, from the system the customer already runs. A product that requires ripping out a working SIEM does not sell.
- Different life cycles. A SIEM pipeline changes rarely and under change control; a model retrains all the time. We planned incremental learning, with retraining triggered as new events arrive. A model built into the pipeline would drag that rhythm into the whole SIEM.
- Isolating failures and permissions. A separate service with its own database can be stopped, rolled back or cut off from writing without touching log collection. That matters for evidence: a log the model can rewrite is no longer evidence.
We planned two deployment options. In the cloud, collection ran over encrypted VPN links with redundancy across several data centres; on premises, inside a separate closed VLAN. The application called the training method “shadow learning”: an expert first labels and describes the domain data, and only then does the system start learning on its own. Today I would put it more plainly: expert features plus online retraining. The term sounded scientific; the substance was engineering.
Four stages and what each one breaks
The logic of the order: every stage widens the model’s authority. First it only reads; then it influences what the SIEM sees; then it gets a new and much heavier data source; and only at the end does it change anything in the infrastructure. Trust in the model is earned at the previous stage.
Stage 1. Two-way exchange with the SIEM database
The model reads stored events from the SIEM database and, by design, writes its conclusions back: a label, a score, a suggested fix. On the diagram this is the red two-way arrow between the SIEM database and the Monolith IAIR block.
What breaks: a direct database connection ties you to the vendor’s internal schema, which changes on upgrade; heavy training queries load the production database; and writing into it puts the integrity of the original events in doubt. Today I would read events through an API or a stream (a replica, a message bus) and write the model’s output into a separate enrichment index that points to the original event, never modifying the event itself.
Stage 2. Feedback into collection, normalisation and indexing
The model starts to influence the pipeline itself: what to collect in more detail, how to parse a new record format, what counts as a duplicate. The closest the application comes to this is its description of the algorithm: processing on both client and server side that removes duplication and merges similar records, while keeping the ability to fully reconstruct what happened.
What breaks: reproducibility. If a normalisation rule or a filter was changed by the model, six months later nobody can explain why an event never reached the database. Model drift quietly becomes a blind spot. Hence a requirement that back then existed only as the caveat “with full reconstruction” and today should be a rule: anything the model changes in the pipeline goes in as a versioned, reviewed change, and a new filter first runs in shadow mode, tagging events instead of dropping them.
Stage 3. Network traffic and TLS
This was the first competitive advantage listed in the application: working at the transaction level, not only with logs. DNS query analysis, tunnelled traffic, spotting attempts to move sensitive data outside the perimeter, packet entropy analytics, HTTPS header inspection and cloud application activity. The draft listed NetFlow v5, v7 and v9 and Bro connection logs as traffic sources (Bro has been called Zeek since 2018).
What breaks: volume and legality. Traffic is orders of magnitude larger than logs, and sizing done for logs stops working here. Decrypting TLS needs a separate legal and organisational decision; without decryption you are left with metadata: who talked to whom, how much, and which client fingerprint. We put this stage third on purpose: it is the most expensive and the least dependent on the SIEM, so it can be postponed without breaking the first two.
Stage 4. Applying fixes
The final stage: the model not only suggests a fix, it applies it. The documents set two limits: the requirements allow automatic remediation at a permitted access level, and the application’s novelty section adds “after approval by IT specialists”. Yet the same application lists “automatically resolving incidents without IT specialists” among its competitive advantages, so the documents contradicted each other here too. The simplest form of such a fix already existed in the Monolith Plus infrastructure: Fail2Ban blocks an address after a run of failed logins, and ModSecurity drops a request at the web application layer.
What breaks: a false positive with write access becomes an outage you caused yourself. Every automatic action therefore needs three things: a defined blast radius (what exactly can be blocked), a rollback, and a record of who approved it. In 2019 “after a specialist approves” was more caution than method. Today it is the standard human-in-the-loop pattern for every action except the safest ones.
Log sources: what we planned to read
The list from the draft is a useful starting inventory for any project that adds analytics to a SIEM. It is grouped by event type rather than by vendor:
- directory: MS Active Directory security logs (users, groups, membership), LDAP logs;
- DHCP and DNS: MS DHCP and MS DNS, Infoblox, dnsmasq, BIND;
- firewalls: Cisco ASA over syslog, the rest through the Splunk already in place;
- proxies: Bluecoat, McAfee, ForcePoint;
- alerts from other systems: FireEye, MS ATA;
- VPN: Cisco AnyConnect, Juniper, Fortinet, Checkpoint, Palo Alto;
- flows: NetFlow v5, v7, v9; mail: Ironport ESA; network connections: Bro.
Note the “alerts from other systems” group: the ML layer consumes not only raw logs but also the verdicts of other security tools. That is what later became known as correlation on top of detections. For my own machines I now collect logs with a lightweight agent, described in the article on fb-agent, built on Fluent Bit.
Two sizing tables: the 2019 draft and the 2020 answers to reviewers
The project documents contain two server sizing tables: one in the 2019 application draft and one in the 2020 answers to reviewers. The second refines the first, and comparing them shows how sizing works.
| Class | Application draft, 2019 | Answers to reviewers, 2020 |
|---|---|---|
| Small | 20 nodes, virtual machine, MySQL InnoDB | up to 100 nodes, 2 cores, 2 GB |
| Medium | 500 nodes, 2 cores, 2 GB | up to 500 nodes, 2 cores, 4 GB |
| Large | over 1,000 nodes, 4 cores, 8 GB, RAID10 | up to 1,000 nodes, 4 cores, 8 GB |
| Very large | over 10,000 nodes, 8 cores, 16 GB, fast RAID10 | over 1,000 nodes, 8+ cores, 16+ GB, SSD |
The prototype had its own requirement: an Intel Xeon with at least 4 cores, at least 16 GB of memory and an SSD of 480 GB or more. Now, where the first table came from. Its columns and three of its four rows match the example hardware configurations in the Zabbix documentation: 500 hosts on 2 cores and 2 GB, over 1,000 on 4 cores and 8 GB, over 10,000 on 8 cores and 16 GB. Only the small configuration differs: 100 hosts in Zabbix, 20 in our draft. Next to it the draft carries a sentence about a serial port and a GSM modem for SMS alerts, also from the Zabbix requirements. For a draft that is a reasonable starting point: a monitoring system’s sizing as a reference until you have measured your own load.
Three lessons follow. First: size in events per second and storage volume over a retention period, not in nodes, because one domain controller produces more events than a hundred workstations. Second: the ML layer needs its own sizing, since training and inference load CPU and memory differently from log ingestion. Third: a specification should separate “measured by us” from “taken from the vendor”, so that every refinement of the table shows what changed and why.
Plan versus reality: what was actually done
The first application to the Start programme was filed on 8 September 2019, asking for a 3 million rouble grant for the first year. It laid out three years of R&D: a prototype, a working version with client apps, and a multilingual version. In the 2020 resubmission the end of development moved from Q4 2020 to Q3 2021, and market entry from Q4 2021 to Q4 2022.
What happened between the two applications, according to our own answer to the reviewers: servers for a test bench were ordered and set up, and shadow learning, supervised and unsupervised learning were tried on it. The applicant company’s average headcount, which reviewers read as the team size, grew from one person in the 2019 application to six for 2019, as reported on 1 January 2020. The documents contain no measurement protocols, and no results were published. The first-year prototype we promised the reviewers was to be a bench with a minimal fix database, possibly without automatic remediation, that collects and analyses logs, returns a fix for known incidents and for everything else simply reports that an incident occurred. There were no patents or publications on Monolith, then or later, even though they were in the plan.
The resubmission was turned down because the programme’s budget had run out. Monolith IAIR never shipped as a product. The detection metrics we quoted to the reviewers came without any measurement method, and the next article in this series is a post-mortem of that mistake.
The idea of a separate analytics layer lived on. In 2021, in another prototype of ours, a bank-matching platform for small businesses, the security block followed the same logic: ELK collected logs from hypervisors, HAProxy, pfSense, DNS and the hosting provider’s telemetry, and Apache Metron sat next to it for normalisation, correlation and ML-based anomaly detection. There is one more instructive detail: the Apache Software Foundation retired Metron in December 2020 (the move to the Apache Attic was completed in April 2021), so by the time the report was submitted in summer 2021 the component was already in the Attic. When you pick an open-source component, check that the project is alive, not only what it does.
2026: what from the design became standard
A separate analytics layer next to the SIEM was not our invention in 2019. The IATI Israeli ICT Industry Review 2015 already describes IBM buying Trusteer for an estimated 800 million dollars in 2013, partly to feed its threat intelligence into the QRadar SIEM, alongside Israeli start-ups applying big data analytics to security: Seculert, ThetaRay, FortScale, LightCyber. What was ours was the rollout order. Here is what the stages look like now.
- Stage 1 became UEBA and built-in anomaly detection. User and entity behaviour models ship as a platform module or run on its data. OpenSearch, on which the Wazuh indexer is built, has an anomaly detection plugin. Reading the data and writing conclusions to a separate index is the standard pattern now.
- Stage 2 became detection as code. Rules live in a repository, are written in the open Sigma format, are mapped to MITRE ATT&CK and go through review. A model can propose a rule or a filter, but it enters the pipeline as a code change.
- Stage 3 became its own category, NDR. Traffic analysis without decryption, using metadata and TLS client fingerprints (the JA4+ family), with Zeek as the standard sensor. The SIEM receives verdicts rather than raw traffic, which solves the volume problem.
- Stage 4 became SOAR and active response. Playbooks with approval steps, rollback and an action log. In Wazuh this is active response: a blocking script runs when a rule fires.
Our dream of a self-growing fix database that tells the on-call engineer what to do came true in a way we did not expect. LLM assistants in security consoles, such as Microsoft Security Copilot, together with search over your own runbooks and incident reviews, now do that job. We tried to solve it with a classifier trained on labelled incidents; it turned out that a language model with access to your documents gives better advice. A second mistake from 2019 is also only visible now: we mixed security and operations in one product. A stuck mail queue and an unreachable telephony server are a job for monitoring and AIOps; an attack is a job for the SIEM. In 2026 these are different systems with different owners, and my own AI-assisted log monitoring is a separate setup, see OpenClaw Logs.
The order of the stages still holds. A model’s authority should grow from reading to writing, and traffic should come in once the log side already delivers value. None of today’s products has overturned that order; it simply ships as ready-made modules. What our own setup looks like today, with the SIEM as only one part, is described in Zero Trust in practice.
Checklist: the order for adding ML to your SIEM
- Size the load in events per second and storage over the retention period, not in nodes. Mark which figures you measured and which came from a vendor.
- Check source coverage by type: directory, DHCP and DNS, firewalls, proxies, VPN, mail, flows, alerts from other tools.
- Connect ML read-only, through an API or a copy of the stream, and write its output to a separate index that references the original event.
- Agree on how to measure value: the share of alerts that turn into real incidents, and time to response. Without that you cannot decide whether the model earns the next level of authority.
- Move rules into a repository (Sigma, mapped to ATT&CK) and let model suggestions in only through review and shadow mode.
- Add traffic after the log side works: start with metadata and DNS, and treat TLS decryption as a separate decision taken with your lawyers.
- Introduce automatic actions one at a time, each with a defined blast radius, a rollback and a named approver. Start with reversible ones, such as a temporary address block.
- Hand on-call advice to an LLM assistant with access to your runbooks, not to a separate classifier.
- Once a year, check that the open-source components in your stack are alive: development activity, releases, foundation status.
Frequently Asked Questions
Can you add ML to a SIEM without changing the SIEM?
Yes, and it is the preferred route. The ML layer runs as a separate service with its own database: it reads events through an API or a stream and writes its conclusions to a separate index. The collection and storage pipeline stays as it is, and the model can be stopped or rolled back without touching the logs.
Why do the stages come in this order?
Each stage gives the model more authority: reading, influencing the pipeline, a new heavy data source, changes to the infrastructure. Trust has to be earned at the previous stage; otherwise a model error turns into an outage or a blind spot.
Did Monolith IAIR become a product?
No. There was a test bench and trials of several training schemes; no results were published, and the grant resubmission failed because the budget had run out. The project’s value today is its architecture and the mistakes that are easy to see six years later.
Do you need traffic analysis if the SIEM already collects logs?
Traffic shows what logs do not: tunnels, DNS exfiltration, unusual TLS clients. But it is orders of magnitude heavier, so add it after the log side and start with metadata rather than decryption.
How do you size a SIEM with machine learning?
In events per second, storage over the retention period, and separately in resources for model training and inference. Node-count tables from monitoring system documentation do not fit the job; that is exactly the trap we fell into in 2019.
Do LLM assistants replace an ML layer on top of a SIEM?
Partly. They handle on-call advice and runbook search better than classifiers. Anomaly detection in the event stream and rule-based detections remain a job for specialised models and rules, and automatic actions still need approval and rollback.
Sources
- Monolith IAIR project documents, 2019 to 2020: the Start programme application to the Foundation for Assistance to Innovations, the working draft, answers to the expert reviewers, presentations and the architecture diagram. Not published.
- (ISC)², Cybersecurity Workforce Study 2018: a gap of about 2.93 million professionals, about 498,000 of them in North America.
- Zabbix, Requirements: example hardware configurations.
- IATI, Israeli ICT Industry Review 2015: the security section, Trusteer and QRadar.
- Apache Attic: Apache Metron: status of the retired project.
- Wazuh, Active response.
- OpenSearch, Anomaly detection.
- SigmaHQ, Sigma: an open detection rule format; MITRE ATT&CK.
- Zeek (formerly Bro) and FoxIO, JA4+: network sensor and TLS client fingerprints.
- Microsoft Security Copilot: an example of an LLM assistant in a security console.
Need a consultation?
If you already run a SIEM and are thinking about adding machine learning or automated response to it, book a call. We will start with what the model should read and which permissions it can safely get at the first step. More about the work on the information security services page.


