OpenTelemetry for NIS2 incident detection and reporting

OpenTelemetry gives essential and important entities one telemetry layer for incident detection and evidence under NIS2, but it does not replace security logging, SIEM or reporting workflows.

On this page

How OpenTelemetry supports NIS2 incident detection and reporting

An essential or important entity under Directive (EU) 2022/2555 must detect significant incidents, and report them within the deadlines its national transposition law sets. OpenTelemetry helps by collecting and routing the traces, metrics and logs that show when an incident started, what it touched and how it developed. It does this through the Collector, which can receive telemetry from many sources, process it and export it to the systems your teams already use. OpenTelemetry does not issue compliance certificates, and it does not provide detection rules, storage, alert triage or case management. NIS2 creates no certificate of compliance, so the question is always what evidence your own inspections and security audits can review.

The requirement areas where a consistent pipeline helps most are incident detection and logging for the risk-management measures in Article 21, and the timeline evidence that supports incident handling under Article 23. A single Collector configuration can apply the same resource attributes, timestamps and service names across applications and infrastructure, which makes correlation during a reporting window far less manual. Confirm with your national competent authority and your legal team which deadlines and report contents apply in your Member State, since transposition laws differ. The Commission's NIS2 Directive page is a useful starting point for that check.

The areas the platform does not cover need their own tools and owners. Security event detection, correlation rules, identity and endpoint logs, and case management usually sit in a SIEM, an XDR product or a platform such as Wazuh or Graylog, and those tools must receive the relevant data from the pipeline. Before you rely on the Collector for any incident evidence, confirm that redaction processors remove personal data and credentials from the telemetry, and that the Collector's own access, configuration and logs are protected, because an attacker who changes the pipeline can hide an incident. Decide early which system is the record of truth for reporting clocks and who is accountable for it.

Mapping NIS2 requirements to OpenTelemetry capabilities

This table maps the NIS2 obligations that telemetry can support to the OpenTelemetry Collector settings that help, and to what a SIEM, log retention platform or incident process must still provide. Read each row as a split of responsibility: the pipeline collects and protects data, while detection, classification, reporting decisions and evidence of supervision stay with other tools and your own process.

RequirementOpenTelemetry configurationStill needed outside the pipeline
Article 21 risk management: logging and monitoring measuresReceivers and agents collecting logs and metrics from in-scope systems, with resource attributes that identify host, service and environmentDefined list of in-scope systems, detection rules and alert ownership in your SIEM or monitoring platform
Article 21 risk management: protecting telemetry in transitAuthenticator extensions such as OIDC on receivers and oauth2client on exporters, plus TLS on every hopCertificate lifecycle, identity provider policy and key management under your existing controls
Article 21 risk management: least exposure of pipeline endpointsServer components bind to localhost by default since v0.110.0, so bind addresses must be opened deliberately; build with only needed components via the Collector BuilderNetwork segmentation, firewall rules and a record of which builds run in production
Article 21 risk management: data minimization in logsRedaction processor to remove sensitive attributes, plus attribute filtering before exportData classification decisions on what counts as sensitive in your environment, and review of redaction rules
Article 23 reporting: early warning and incident notificationRouting of security-relevant logs to a dedicated exporter or pipeline with timestamps preserved from sourceIncident detection logic, triage, and the reporting workflow with national authority deadlines, which the Collector does not run
Article 23 reporting: incident records and timelinesConsistent timestamps and service attributes that help reconstruct the sequence of eventsIncident register, case management, and sign-off process; a pipeline cannot decide whether an event is significant
Articles 32 to 34: evidence for inspections and security auditsStored, access-controlled telemetry with a documented Collector configuration kept under version controlRetention schedules, access reviews and records of changes. NIS2 issues no certificate, so authorities assess the evidence you hold
Implementing Regulation 2024/2690: technical measures for listed entity typesOnly applicable to the listed sectors such as cloud, data center, managed service and online platform providers; verify scope before relying on telemetry as evidenceConfirmation of entity type with counsel and your national transposition law

What the Collector does in an incident timeline

The Collector gives an incident team one place where the start of an event can be reconstructed across systems. It can run as an agent next to each service, collecting from the host and application on the same machine, or as a gateway that receives data from many agents and sources at once. In either pattern it receives telemetry, applies processing such as attribute changes, filtering and batching, and exports the result to the back ends where your security logs are kept. Because each record passes through the same pipeline, timestamps, resource attributes such as service and host names, and trace context can be compared on one timeline. That comparison is what helps establish when an event began and which systems were touched, which matters for the early notification and follow-up stages that NIS2 sets out in Article 23.

Signal maturity is not uniform, so check it before you depend on a signal as evidence. Trace APIs and SDKs are stable in most languages, but log SDK maturity varies more, with several languages still in development. The Collector's core components also carry mixed stability levels, documented in each component's README. Confirm the stability of every receiver, processor and exporter in your pipeline against the OpenTelemetry status page and the component README before you rely on it for timeline reconstruction. Record the exact Collector version in use, since a component that is stable in one release may change in another. A gap found in an incident review should be traced back to these stability decisions, not discovered for the first time during a reporting deadline.

How telemetry flows from services to incident handling

The flow starts at applications and hosts, which send traces, metrics and logs to OpenTelemetry Collector agents. Agents pass data to a gateway that applies redaction and authentication before anything leaves the controlled network. From there, operational data goes to a self-hosted backend, while security-relevant events are handed to the security logging tool and then to the incident response team. Check that the trust boundary sits where redaction happens, and that each handoff carries the fields your reporting timeline needs.

Telemetry moves from services through a controlled Collector tier to backend and security tooling.

Evidence a supervisor or auditor can review from the pipeline

NIS2 creates no certificate of compliance, so supervisors look for evidence that your controls run and can be reviewed. The items below come from the Collector pipeline itself, and each one answers a different question about how the pipeline was built, changed, accessed and retained.

Collector configuration under version control

The Collector configuration file defines which receivers, processors and exporters handle your telemetry, so it is the main record of what data is collected and where it goes. Keep it in a Git repository with reviewed merge requests, so each change has an author, an approver and a timestamp. Check that secrets are referenced from a secrets store rather than committed in plain text, and that the history shows when redaction or routing rules changed. Ask whether a supervisor can trace a past configuration to the date an incident occurred.

Collector configuration docs

Component inventory from the Collector Builder

A Collector built with the Collector Builder contains only the components you chose, and the build manifest lists them. Store that manifest with the configuration and record the exact version of each component. This inventory shows what code runs in your pipeline, which matters when a vulnerability is announced and you must show whether you were exposed. Confirm that the build process rejects unlisted components and that the manifest changes only through reviewed commits.

Collector security practices

Release provenance for every binary

Each Collector release ships signed artifacts, SHA256 checksums and SBOM files. Record which release and checksum each deployed binary matches, and verify the signature before installation. The SBOM lists the dependencies inside that binary, so you can answer supply chain questions without rebuilding the environment. Keep these verification results with your change records, because a supervisor may ask how you confirmed that the software in production is the software you approved.

Latest Collector release
v0.163.0
Collector release downloads

Access logs for receivers and exporters

Where authenticator extensions protect receivers and exporters, the authentication results show which clients sent telemetry and which back ends received it. Export these access records to your central log store and set alerts for rejected connections and unexpected sources. Review them on a fixed schedule and keep the review record. Confirm that bind addresses follow the localhost default or an explicit allow list, so the evidence matches the intended exposure.

Retained telemetry and retention settings

Your incident timeline depends on telemetry that still exists when the incident is reported and investigated. Document the retention period for each signal and back end, and show that deletion runs as configured. Confirm whether the storage holds logs that a regulator may need for a reporting obligation, and whether the same storage contains personal data that must be minimized. Keep the retention settings in version control with the configuration, so changes to them leave a record.

Control evidence, not tool evidence

Supervisors assess whether your risk management measures under Article 21 work, and a Collector alone does not satisfy them. Map each item above to the control it supports, such as change management, access control, supply chain security and log retention, and name the owner who reviews it. Ask your national competent authority or your assessor which evidence format they expect, because requirements vary by Member State transposition.

NIS2 Directive text

Configuring the pipeline for incident evidence

This sequence turns a general OpenTelemetry Collector deployment into a pipeline that keeps security-relevant evidence complete, authenticated, free of regulated data, and ready to hand to the security logging tool. Each step ends with a check that the team can show to an internal reviewer or a competent authority.

  1. Scope log sources against the risk assessment

    The security team, with the owner of the risk assessment required by Article 21, lists every system whose logs, traces or metrics could show an incident affecting the entity's services. Platform engineers map each source to a receiver, the host or service it runs on, and the owning team. Systems left out need a written reason, because a gap found after an incident is hard to explain. Done means the source inventory is signed off and every in-scope source has an assigned receiver and owner.

  2. Set up authenticator extensions and encrypted connections

    Platform engineers configure authenticator extensions on receivers so that only known agents and services can send data, for example through OIDC where the sending side supports it. They add credentials to exporters with an extension such as oauth2client, and enable TLS on every receiver and exporter that crosses a host or network boundary. Test with an unauthenticated client and confirm it is refused. Done means unauthenticated and plaintext attempts fail in the test environment and the configuration is recorded in version control.

  3. Bind server components deliberately

    Since Collector v0.110.0, server components bind to localhost by default, so the team must decide the listen address for each receiver rather than assume it. Agents that receive from local applications can keep localhost binding, while gateways that accept data from other hosts need a specific interface address behind a network control. Document each bind address and the reason for it. Done means a port scan from outside the intended network shows only the listeners the design lists.

  4. Add the redaction processor

    Before data leaves the Collector, the team adds the redaction processor to remove attributes that could carry personal data, credentials or session tokens. The list of attributes comes from the data classification agreed with legal and privacy staff, not from defaults alone. Engineers then send sample traffic with known test values through the pipeline and inspect what reaches the backend. Done means the test values are absent at the destination and the attribute list is versioned with the configuration.

  5. Build a minimal distribution

    Platform engineers use the Collector Builder to compile a distribution that contains only the receivers, processors, exporters and extensions the pipeline needs. Each component left out is one less code path to patch and review. The build should use the signed release artifacts and SBOM files for the base components, and the team records the component list and version. Done means the built binary's component list matches the approved list and the build can be reproduced from the recorded manifest.

  6. Store configuration securely

    The Collector configuration contains endpoints and credential references that an attacker could use to tamper with evidence, so it is kept in version control with restricted write access, and secrets are injected at runtime rather than written into files. Changes go through review and are deployed by a controlled pipeline, with the deployed version traceable to a commit. Done means the production configuration can be traced to an approved commit and no plaintext secret appears in the repository.

  7. Route security-relevant data to the security logging tool

    The team adds an exporter that sends authentication events, configuration changes, and detections from the pipeline to the security logging platform, such as a SIEM or a log management tool that the security team already operates. Telemetry for performance and reliability can go to the monitoring backend. Routing rules are written down so that auditors can see which evidence lands where. Done means a test event from each in-scope source appears in the security logging tool within the team's agreed check window, and the routing table is approved.

  8. Test a tabletop incident end to end

    The incident response lead runs a tabletop exercise based on a plausible scenario, such as a compromised service account used to send falsified data, and the team follows the pipeline to reconstruct what happened. The exercise checks whether the evidence is complete, whether the timeline matches the reporting steps the entity must follow, and whether reviewers can reach the data without the pipeline team. Gaps are logged with owners. Done means the exercise report lists the evidence found, the gaps, and a retest date for each fix.

Where reporting timelines depend on your own process

Article 23 of NIS2 sets the reporting structure for significant incidents: an early warning, an incident notification and a final report, each with its own content. The supplied facts do not give the actual deadlines for those stages, and the clock depends on how your national transposition law implements Article 23 and on when your organization judges an incident to be significant. Before you design any pipeline around reporting, confirm the exact stage timings and content requirements with your national competent authority or CSIRT, and write them into your incident response procedure. Treat the Commission's NIS2 Directive page as the starting point for the framework, not as a substitute for the national text.

Telemetry can shorten the parts of the process that depend on evidence. A Collector pipeline that keeps traces, metrics and logs from identity providers, gateways and application services gives responders faster answers to what happened, when it started and which systems and accounts were touched. Reliable timestamps, consistent resource attributes and a retained copy of the raw data at the Collector or its back end make scoping faster and make the early warning and notification easier to support with facts. Confirm that the data needed for scoping is actually exported, that retention covers the reporting window and that dropped data is measured, since a gap in evidence is hard to explain later.

Telemetry cannot make the decisions. Deciding whether an event is a significant incident, who approves the notification, what is said to the authority and when the entity contacts it remain human and procedural tasks, owned by the incident response team and management. A dashboard does not send a notification, and an OpenTelemetry pipeline does not hold the authority relationship. Assign these roles in writing, rehearse them with the telemetry evidence available, and confirm with your authority which channel and format it expects.

Questions buyers ask before engaging outside help

What drives the cost of an OpenTelemetry pipeline for NIS2 work?

The cost follows the scope you agree in writing, and the main drivers are the number of telemetry sources, the number of environments, whether you already run a SIEM, how much redaction you need, and how much of the work your own staff can carry. Each additional source type (container logs, host logs, cloud audit trails, identity events, network data) adds parsing, mapping and testing. Each separate environment adds deployment and configuration. Redaction scope matters because every attribute you must remove or hash needs rules and verification. Ask any provider for a quote that lists these items separately, and ask which costs are one-time (design, build, initial testing) and which recur (upgrades, retainers, ongoing content changes). Software licenses are usually separate because OpenTelemetry and the Collector are open source, but your storage and backend licenses are not.

How long does an OpenTelemetry NIS2 engagement take?

Duration depends on the scope agreed in writing, not on a fixed template. A pipeline covering one cluster and a small number of log sources takes a different path from a multi-environment rollout that also feeds an existing SIEM and needs incident runbooks. Most engagements are fixed-scope, so the timeline should appear in the written statement of work with milestones for design, build, testing and handover. Ask the provider to list which items depend on your side, such as access approvals, change windows and reviewer availability, because those often set the calendar more than the technical work does. No duration in this answer is a commitment; confirm it against your own scope.

What does the client need to provide before the work starts?

Before design starts, you should be ready to provide an inventory of the systems in scope, a current risk assessment or the list of risks you already track, and a map of which systems are essential or important under your national transposition law. The engineering team also needs access to the Kubernetes clusters, hosts and log sources that will feed the pipeline, usually through reviewed service accounts or read-only roles. Expect to supply the current logging configuration, retention requirements, the people who will receive alerts, and the names of any SIEM or SOC contacts who will consume the output. Missing inventory data is the most common reason design phases run longer than planned, so confirm it early.

Can our internal team build an OpenTelemetry pipeline without an outside partner?

Yes, an internal team can build a pipeline if it has engineers who know the Collector configuration model, Kubernetes or host operations, and the data your incident response needs. The work that usually strains internal teams is not the first deployment but the ongoing parts: keeping the Collector current, testing redaction rules after every change, handling dropped data, and producing evidence for an authority or auditor. Consider a hybrid model where your staff owns operations and an outside team designs, hardens and verifies the pipeline. Check whether your team has time for security testing of the pipeline itself, since a telemetry path that leaks regulated data creates its own incident.

Does OpenTelemetry replace our SIEM for NIS2 incident detection?

No. OpenTelemetry is a framework and toolkit for generating, exporting and collecting traces, metrics and logs, and it is not an observability backend, so it does not store, correlate or alert on events by itself. The Collector moves and processes telemetry, and you still need a backend for storage and search. Security detection, correlation rules, threat intelligence matching and case management usually stay in a SIEM or security logging tool such as one built on Graylog, Wazuh or OpenSearch. In practice, OpenTelemetry standardizes how the data reaches those tools, which makes the detection and reporting chain easier to document, but it does not remove the need for a security analytics layer.

Does DeployOpen certify that we are NIS2 compliant?

No. DeployOpen does not issue audit reports, attestations or certifications, and NIS2 does not create a certificate of compliance. National competent authorities oversee compliance through inspections, security audits, security scans, information requests and administrative fines. DeployOpen can plan and build the pipeline, prepare the systems, controls and evidence your compliance team needs for those reviews, and test the setup for security weaknesses. Your national authority, or an independent assessor where the rules require one, decides what counts as compliant in your jurisdiction. Confirm the applicable transposition law with your legal or compliance team before scoping.

Which NIS2 requirements should we confirm before scoping a pipeline?

Confirm three things first: whether your organization is an essential or important entity under your national law, which sector annex applies, and whether Implementing Regulation (EU) 2024/2690 applies to your service type, since it sets technical requirements for certain digital infrastructure and service providers. Then confirm the reporting timelines and content your national authority expects for significant incidents, because the Article 23 reporting obligations shape which logs must be available quickly and which fields must be correlated. The Commission has also proposed targeted amendments (COM(2026) 13) that remain under discussion, so confirm the current text with your counsel before you fix the scope.

What should we ask for in a written quote for this work?

Ask for a scope document that lists each telemetry source, each environment, each redaction rule, the SIEM or backend integrations, and the testing and handover deliverables. Ask which items are one-time and which recur, and what a retainer covers, such as Collector upgrades, rule updates and continuous testing. Request a list of client dependencies with owners and dates, a definition of what counts as done, and a statement of how changes after sign-off are priced. Confirm who will hold credentials, where configuration is stored, and how evidence will be delivered to your compliance team. A quote that cannot explain these points is not yet a scope.

How DeployOpen scopes and delivers NIS2 telemetry evidence

DeployOpen plans, builds and hands over self-hosted OpenTelemetry pipelines inside your own infrastructure, so that logs, traces and metrics used for NIS2 incident detection and reporting are collected in a controlled way. Work starts with a written scope that defines which systems, signals and reporting steps the pipeline must support.

How we scope

  • Map your in-scope services, networks and cloud accounts to the systems that produce security-relevant telemetry.
  • Agree in writing which signals, sources and retention periods the NIS2 incident process depends on.
  • Define which security logging tools stay in place beside the OpenTelemetry pipeline and how they connect to it.

How we build

  • Deploy Collector agents and gateways in your environment with authentication and encryption on every endpoint.
  • Configure redaction and attribute filtering so personal data and secrets do not reach the storage tier.
  • Test detection paths with agreed alert rules and confirm the timing of data reaching your incident team.

How we hand over

  • Document pipeline architecture, configuration, access roles, change steps and the evidence each control produces.
  • Provide a runbook that maps alert flow to your internal incident steps and national reporting obligations.
  • Run a walkthrough with your security, operations and compliance staff before the engagement closes.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after handover.
  • Plan Collector upgrades against published release notes and retest pipelines after each change.
  • Confirm with your legal and compliance advisers which national transposition rules apply to your entity.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.