Hyperledger Fabric logging and monitoring for NIS2: what the platform covers
An entity in scope for NIS2 that runs Fabric peers, orderers or CAs must show procedures and tools that monitor and log activity under point 3.2 of the Annex to Implementing Regulation (EU) 2024/2690. Fabric's operations service and node logs help with the detection and alarm elements: the /healthz checks, /logspec log level management, /version and the Prometheus /metrics endpoint or StatsD push give you node health and signals to alarm on. They do not, by themselves, cover network traffic, physical access, environmental events, user and permission changes in your identity provider, or the security tool logs your SIEM or EDR must collect. Those sources sit outside Fabric and need their own collection and retention. DeployOpen prepares systems, configuration and evidence for an assessment. It does not certify anything, and NIS2 has no certificate of compliance: national competent authorities oversee compliance through inspections, audits, scans and information requests.
Start by mapping each point 3.2.3 log category to a named source. For Fabric nodes, that means deciding how peer, orderer and CA logs are shipped off the host, which operations endpoints are scraped, and who can change /logspec at runtime, since a log level change is itself an event worth recording. Operations endpoints are secured with mutual TLS client certificates, so the scraping identity and its certificate lifecycle belong in the same review. Point 3.2.4 expects alarm thresholds that trigger a qualified response, so write those thresholds down per node role and keep records of past alarms. Point 3.2.6 asks for synchronized time sources and independently monitored logging systems, which means a Prometheus or log store failure must itself raise an alert outside the Fabric cluster.
The Regulation sets no fixed retention period for logs. Instead, point 3.2.5 requires logs to be kept and backed up for a predefined period and protected from unauthorized access or changes. Confirm the period with your national competent authority or sector guidance, then record it in your policy and test restores of the log archive. Your own environment decides the effort involved: ask any partner to quote the log pipeline, alarm design, retention storage and evidence pack as separate items, with a list of which Fabric and non-Fabric sources each one covers. ENISA's June 2025 guidance lists SIEM records, EDR or XDR output, log samples, configured thresholds and past alarm records as examples of evidence, which gives you a checklist to plan against.
Mapping NIS2 point 3.2 requirements to Fabric capabilities and configuration
This table compares each part of NIS2 Implementing Regulation point 3.2 with what Fabric peers, orderers and CAs provide natively, what must be configured, and what has to come from outside Fabric. Read it as a split of responsibilities: Fabric emits signals and exposes endpoints, while the SIEM, retention store, time source and alarm logic belong to your monitoring stack. The main takeaway is that Fabric alone does not satisfy point 3.2, and assessors will look for the external pieces as well.
| Requirement (in plain terms) | Fabric capability | Configuration needed | What remains outside Fabric |
|---|---|---|---|
| Point 3.2: procedures and tools that monitor and log activity to detect possible incidents, automated where feasible | Peers, orderers and CAs expose the operations service with /healthz, /logspec, /version and a Prometheus /metrics endpoint or StatsD push | Enable the operations service on each node, set log levels with /logspec, and scrape or push metrics on a defined schedule | Collection pipeline, detection rules, on-call procedures and the decision on which events count as possible incidents |
| Point 3.2.3: where appropriate, logs cover access, authentication, privileged activity, configuration and backup files, and resource use | Peer and orderer logs record transaction and channel activity; the CA logs enrollment, registration and revocation; metrics report resource use | Map each element to a log source or metric, and document the ones judged not applicable to your node roles | Network traffic, host and OS account changes, physical access, environmental events and security tool logs must come from your infrastructure and SIEM |
| Point 3.2.3 (qualifier): content is required only where appropriate | Fabric does not define which elements apply to your network; the decision rests with the operator | Write a logging scope per node type, with the reasoning for each excluded element, and have it approved by the risk owner | Justification for exclusions, which assessors will read closely, and periodic review as the network changes |
| Point 3.2.4: regular review for unusual trends, alarm thresholds, and a timely, qualified response | Metrics from the operations service can feed threshold alerts; log level changes through /logspec help isolate events | Define alert rules in Prometheus or your alerting tool for node health, certificate expiry signals and unexpected restarts; set review cadence | Alert routing, triage staff, escalation paths, and the qualified response itself; Fabric does not raise alarms on its own |
| Point 3.2.5: logs kept and backed up for a predefined period, protected from unauthorized access or change | Logs are written by each node process; the operations service endpoints are protected with mutual TLS client certificates | Set a documented retention period, ship logs off the node, restrict access to the log store, and protect the mTLS client certificates in an HSM or key store where feasible | Retention period (the regulation sets none), immutable storage, and access reviews for the SIEM and log archive |
| Point 3.2.6: synchronized time, redundant monitoring and logging, and independent availability monitoring | Fabric relies on the host clock; it does not provide its own time synchronization or independent watchdog | Run NTP or equivalent on every node, deploy at least two log collectors, and monitor the monitors from a separate system | Time source hardening, collector redundancy, and an independent availability check outside the monitored Fabric network |
| Evidence an assessor may ask for (ENISA examples) | Fabric produces raw log lines and metric series that can be shown as log samples | Keep samples containing the point 3.2.3 elements, alarm threshold configuration, and records of past alarms with their responses | SIEM or EDR/XDR records, dashboards, and the change records for threshold tuning, which must come from your own tooling |
How peer, orderer and CA telemetry reaches the monitoring point
The diagram starts at the peers, orderers and Fabric CA, each exposing its operations service with /healthz, /logspec, /version and /metrics secured by mutual TLS. Host logging carries their output to two collectors, so one failure does not blind the monitoring point. The SIEM or alerting layer applies alarm thresholds, and a separate availability check, run outside the monitored stack, confirms the monitoring itself is alive. Illustrative only: confirm the exact collector and SIEM you use against your own environment.
Illustrative flow of Fabric operations telemetry to a redundant monitoring point, with an independent availability check.
Which logs and metrics each Fabric component should feed into monitoring
Peers run the operations service that exposes the health and status surface the monitoring stack reads. The Fabric operations service provides a /healthz endpoint, /logspec for log level management, /version, and a Prometheus /metrics endpoint or StatsD push. Access to these endpoints is secured with mutual TLS client certificates, so the scraper or collector needs its own enrolled identity.
- Health and version: Poll
/healthzand record/versionafter every upgrade so the monitored state matches the change record. - Log levels: Track changes made through
/logspec, since a level lowered during troubleshooting can hide events until it is reset. - Metrics: Collect Prometheus metrics from
/metricsor receive StatsD pushes, and confirm which metric names your Fabric release emits. - Certificate events: Alarm on enrollment or TLS certificate expiry and on MSP material changes that the peer logs.
- Chaincode and channel changes: Capture lifecycle and channel configuration activity in peer logs, and tie each event to an approved change.
Confirm in your environment which peer log lines cover authentication failures and access denials, since the Fabric docs do not list every event by name. Test that a stopped peer raises an alarm through a path that does not depend on that peer.
Orderers carry the consensus and channel administration traffic for the whole network, so a fault or unauthorized change here affects every member. The operations service on orderers exposes the same /healthz, /logspec, /version and metrics surface as peers. For Raft ordering, Fabric recommends the Raft service, which keeps working while a majority of nodes are available, so alarms should track quorum as well as individual node state.
- Quorum state: Alarm when the number of reachable consenters drops toward the majority threshold, not only when one node fails.
- Health and version: Poll
/healthzand/versionon every orderer and compare versions across the cluster after rolling upgrades. - Channel and admin changes: Log channel participation and configuration updates made through the orderer admin interface, and link each one to a change record.
- TLS certificate events: Alarm on orderer TLS certificate expiry, since a lapse can stop cluster communication.
- Authentication failures: Capture rejected client and admin connections where the orderer logs them.
For SmartBFT ordering in Fabric v3.0 and later, confirm the quorum and fault tolerance model with your deployment before writing thresholds. Confirm also how your orderer metrics are labeled, because alarm rules depend on them.
Fabric CA issues enrollment certificates, handles renewal and revocation, registers identities and generates certificate revocation lists. Its logs and database are therefore the record of who holds an identity and whether it was revoked, which makes CA events some of the most important evidence to retain. The CA user guide describes SQLite as the default backend, with PostgreSQL and MySQL as alternatives, and several CA servers can share one database behind a load balancer.
- Enrollment and registration: Log enrollments, identity registrations and changes to identity attributes, with the requesting administrator where the CA records it.
- Revocation and CRL activity: Alarm on revocations and track the regeneration of certificate revocation lists so relying parties can be shown the current state.
- Authentication failures: Capture failed enrollment and administrator authentication attempts, and alarm on repeated failures from one source.
- CA certificate expiry: Alarm well before the CA certificate or the issued certificates reach expiry.
- Database health: Monitor the CA database backend and each CA server behind the load balancer, since a failed backend stops renewals.
Confirm with your CA configuration which events reach your log destination and at what level, and whether the LDAP registry, if used, adds its own authentication logs. Check that CA logs are retained with the same protection as ledger and MSP backups.
Retention, time synchronization and independent monitoring for Fabric logs
Point 3.2.5 of the Annex to Implementing Regulation 2024/2690 requires logs to be kept and backed up for a predefined period and protected from unauthorized access or changes. The regulation sets no number of days, so the retention period is the entity's own decision, derived from its risk assessment and from any national rules that apply to it. Fabric does not set one either. The operations service on peers and orderers exposes logs and metrics but leaves storage duration to the operator. Decide the period per log class (peer, orderer, CA, Kubernetes audit and backup job logs), write it into the logging standard, and confirm with national competent authority guidance where it is unclear. Protection means the log store is write-once or access-restricted, with separate credentials for administrators who run Fabric and those who can alter or delete its logs. Backups of the ledger, MSPs and CA databases also need their own retention record, since they hold configuration history that investigators may need.
Point 3.2.6 asks for synchronized time sources where feasible, redundant monitoring and logging systems, and availability monitoring that runs independently of the systems being monitored. For Fabric this means every peer, orderer and CA container must take time from the same NTP source as the Kubernetes nodes, and the cluster's time drift should be alerted on. Without aligned clocks, Raft and SmartBFT event timelines cannot be correlated across organizations. Collect logs through at least two collectors or shipping paths, so one pod failure or node loss does not silence a channel's evidence. Run a separate health check that polls /healthz on the operations endpoints from outside the cluster, and alert on its absence through a path that does not depend on the Fabric namespace. Confirm with your Kubernetes platform team how node time is managed, and test the independent alarm by stopping a monitored peer and checking that the alert reaches a human.
Evidence auditors and national authorities can review for Fabric monitoring
ENISA's June 2025 guidance lists the kinds of evidence a reviewer may ask to see for point 3.2 of the Implementing Regulation. For a Fabric network, these items come from the peer, orderer and CA operations services plus the monitoring stack around them, and they need named owners and retained records to be useful.
SIEM and EDR or XDR records
Exports and retained event records from the SIEM, and any EDR or XDR tool on peer, orderer and CA hosts, show that monitoring runs and that events reach a place where someone reviews them. Keep the collector configuration, the list of Fabric log sources forwarded (peer, orderer and CA logs, plus operations endpoint scrapes), and a dated record of ingestion gaps. The security operations team usually owns the tooling, while the Fabric operator confirms which hosts and containers are in scope.
ENISA guidanceLog samples with point 3.2.3 elements
Sample log extracts should show the event types point 3.2.3 asks for where they apply to the network: authentication events, user creation and permission changes, privileged activity and access to critical configuration and backup files. For Fabric, include CA enrollment and revocation entries, orderer channel configuration updates and peer administrative calls. Refresh the samples after each upgrade, because log formats change between releases. The Fabric operator prepares them and the compliance lead checks coverage against the list.
Implementing Regulation textConfigured alarm thresholds
Keep the alert rules and thresholds used for Fabric health and metrics, such as peer or orderer health check failures, log level changes made through the operations service, and unusual growth in resource use. Record who approved each threshold and when it last changed. Export the rule definitions from the alerting system rather than screenshots, so an assessor can compare them to the stated thresholds. The monitoring engineer owns the rules and the operations lead signs off on changes.
Operations service docsRecords of past alarms and responses
Point 3.2.4 expects alarms to lead to a timely, qualified response, so keep tickets that show each alarm, the triage decision, the responder and the closure reason. Include alarms on Fabric components that were false positives, since they show the threshold was reviewed. Link each record to the change record if an alarm followed a channel update or upgrade. The incident response lead owns the process, and each responder owns the content of their own tickets.
Retention and backup records
Point 3.2.5 requires logs to be kept and backed up for a predefined period and protected from unauthorized change, but it sets no fixed period. Document the retention period your organization chose for peer, orderer and CA logs, the storage location, the backup schedule and the access controls on the log store. Test restores periodically and keep the test records. The security team sets the period with legal and compliance input, and the platform team runs the storage.
Time source configuration
Point 3.2.6 asks for synchronized time sources where feasible, and monitoring must be redundant and watched independently of the systems it monitors. Keep the NTP or time configuration for each Fabric host and container host, the sync status reports, and the setup for a separate availability check on the monitoring stack itself. Without matching timestamps across peers, orderers, CAs and the SIEM, event correlation during an incident is unreliable. The platform team owns the time configuration and the security team owns the independent check.
Configuring Fabric monitoring in the order NIS2 evidence needs
This sequence turns the Fabric operations service into monitoring that produces the logs, alarms and records a NIS2 assessor can review under the monitoring and logging point of Implementing Regulation 2024/2690. Each step ends with a check the operator can keep as evidence.
Enable the operations service with mutual TLS
The platform team enables the operations service on every peer, orderer and Fabric CA, binding each to an internal listening address and requiring client certificates for access. Confirm the exact configuration keys against the operations service documentation for the Fabric version in use, since they differ between the 2.5 LTS and 3.x lines. Done means a request without a trusted client certificate is refused and the /healthz and /version endpoints return the expected responses from an authorized monitoring host.
Set log levels deliberately with logspec
Operators set the log specification on each node through the /logspec endpoint and record the default level in the configuration under change control. Keep verbose levels for troubleshooting windows only, and make sure security-relevant events such as authentication failures and certificate errors are not suppressed. Done means a dated record shows each node's level, who changed it, and why, and a test message at the expected level appears in the central log store.
Route metrics to Prometheus or StatsD
Configure each node to expose the Prometheus /metrics endpoint or to push metrics over StatsD, then point the collector at those targets using the same mutual TLS identities. Include resource use, ledger height, consenter status and CA request counts so that the resource use element of the logging requirements has data behind it. Done means every node appears as an active target and a query returns current values for each metric family.
Centralize logs with synchronized time
Ship container or process logs from every peer, orderer and CA to a log platform that the organization operates separately from the Fabric nodes. Confirm all hosts use a synchronized time source, since event sequences in an investigation depend on accurate timestamps. Done means the same test event shows matching timestamps across the nodes it touched, and the log platform records its own clock source.
Define alarm thresholds and response owners
Write alarm rules for conditions such as a node going down, consenter loss that threatens the Raft majority, certificate expiry approaching, repeated authentication failures against the operations service, and unexpected changes to channel configuration. Assign each alarm a named owner and a documented response path, including who decides whether an event is a reportable incident. Done means the rule set and owner table are approved and stored with the monitoring design.
Set retention, backup and access protection
Agree a retention period for logs and metrics with the compliance and legal teams, since the regulation requires a predefined period but sets no fixed length. Back up log stores and protect them from unauthorized reads or edits, and keep the monitoring stack redundant so it does not depend on the systems it watches. Done means the retention setting, backup schedule and access list are written down, and a restore of a sample log set has been tested.
Test alarms and record the results
Trigger controlled test conditions, such as stopping a non-production peer or revoking a test certificate, and confirm each alarm fires, reaches the named owner, and is answered in the documented way. Keep the test inputs, timestamps, alert payloads and response tickets together. Done means each alarm has a dated test record, and gaps found during testing have assigned fixes and a retest date.
Keep evidence of configuration and alarm history
Export the node configurations, alarm rules, retention settings, log samples containing the required elements and the history of past alarms into a controlled evidence store, and refresh them after each Fabric upgrade or configuration change. ENISA's June 2025 guidance lists SIEM outputs, configured thresholds and records of past alarms as examples of evidence. Done means an assessor can trace a single alarm from configuration to test to response without asking the operator to reconstruct it.
What Fabric monitoring does not cover on its own
The Fabric operations service covers the peer, orderer and CA processes, but point 3.2 of the Annex to Implementing Regulation 2024/2690 reaches well beyond them. The cards below list what has to be supplied elsewhere, and what the operator still owns when alarms fire.
No SIEM or central correlation
The operations service exposes /healthz, /logspec, /version and /metrics on each peer, orderer and CA, but it does not collect, correlate or retain events across them. ENISA's June 2025 guidance names SIEM systems and EDR or XDR tools as evidence examples, so the operator must select and run a central platform. Confirm which system ingests Fabric logs and metrics, who reviews them, and how long they are kept.
Network traffic and physical logs
Point 3.2.3 lists network traffic, physical access and environmental events among the elements logs must cover where appropriate. Fabric's peer and orderer logs record application-level activity only, so firewall flows, load balancer records, data center access badges and facility sensor data come from other systems. Check that each of these sources is named in the logging design and that its timestamps are synchronized with the Fabric nodes.
Retention period set by the entity
Point 3.2.5 requires logs to be kept and backed up for a predefined period and protected from unauthorized access or changes, but it sets no fixed retention period. The entity must choose and document a period for each log source, including Fabric peer, orderer and CA logs and the backups that hold them. Ask the compliance lead to record that period, the protection applied to it, and how restores are tested.
Scope depends on entity and national law
Whether a Fabric operator must meet NIS2 at all depends on its sector, size and classification as an essential or important entity under Article 3, as well as on how the Member State transposed the directive. Those rules are not uniform across the Union. Confirm the classification and the national law with counsel or the competent authority before scoping the logging design, since the monitoring obligations apply to in-scope entities only.
NIS2 textGuidance is non-binding and a proposal may change it
ENISA's technical implementation guidance of 26 June 2025 is non-binding, so it shows one accepted way to produce evidence rather than a required method. The Commission's COM(2026) 13 proposal, which includes a new small mid-cap category, still needs approval from the European Parliament and the Council. Track both documents, record which version your evidence was built against, and review the logging design when either changes.
ENISA guidanceAlarm response and qualified review remain yours
Point 3.2.4 requires logs to be reviewed regularly for unusual trends, with alarm thresholds that trigger an alarm and a timely, qualified response. Fabric can expose metrics, but it does not decide which thresholds matter, who acts on them, or how a response is recorded. Document the on-call path, the review cadence, the thresholds for orderer leader changes and certificate expiry, and keep records of past alarms as evidence.
Questions buyers ask about Fabric logging and monitoring for NIS2
How much does a Fabric logging and monitoring implementation for NIS2 cost?
No price list applies, and DeployOpen does not publish one. A quote follows from a written scope, and the main cost drivers are the number of peers, orderers and CAs, the SIEM you already run or choose, the volume and retention period of logs, and how much existing tooling can be reused. Costs fall into two groups. One-time work covers mapping logs and metrics to point 3.2.3 of Annex 2024/2690, configuring the operations service, building collection pipelines, writing alarm thresholds and testing them. Recurring costs cover storage for the retention period, SIEM licensing or hosting, rule tuning and periodic review. Ask any quote to separate these two groups and to state which SIEM licensing is included. The regulation sets no fixed retention period (point 3.2.5), so the retention you choose is a business decision that changes storage cost directly.
How long does Fabric monitoring work take to finish?
Duration depends on scope and on what the client team can provide, and no fixed timeline applies across networks. The work usually moves through a log and metric inventory, a mapping exercise, pipeline build, alarm design, and a test period that produces evidence. Delays most often come from unclear ownership of the SIEM, missing time synchronization on nodes, unresolved decisions on retention, and change freezes on production peers and orderers. Because the operations service exposes health checks, log level control, version information and a Prometheus metrics endpoint or StatsD push, teams that already run Prometheus or a similar collector can often shorten collection work. Ask for a written schedule with dependencies listed, and confirm which environments, such as a non-production network, are available for testing before production changes.
What does our team need to provide before monitoring work starts?
The client team provides access, decisions and records. Typical inputs include a list of peer, orderer and CA nodes with their hosting locations, read access to the operations service and log files, a named owner for the SIEM or log platform, and a decision on where logs are stored and for how long. The team also needs confirmation of the time source used by each node, since point 3.2.6 expects synchronized time where feasible. Security and compliance staff should state which alarm thresholds they must meet and who responds to alarms, because point 3.2.4 requires a timely, qualified response. Finally, provide a change window and a test network if one exists. Without these inputs, the work stalls at design, not at the technical build.
Can our own team set up Fabric logging and monitoring internally?
Yes, a capable internal team can do much of this, provided it has Fabric operations experience and a working SIEM. The harder parts are mapping every required log category to a source, protecting logs from unauthorized change, keeping monitoring independent of the systems it watches, and producing evidence in the form ENISA's June 2025 guidance describes, such as SIEM configuration, log samples and records of past alarms. Internal teams often underestimate ongoing review of unusual trends under point 3.2.4. A practical split is to have internal staff own alarm response and retention decisions while an outside firm designs the pipelines and tests them. Whichever route you choose, record the decision and the people responsible for each part of the control.
What happens to monitoring when we upgrade Fabric to a new version?
Monitoring must be retested after each upgrade because log formats, metric names and component behavior can change. Fabric's upgrade guide describes four steps: back up the ledger and MSPs, upgrade orderer binaries in a rolling fashion, upgrade peer binaries in a rolling fashion, then update application channel capability levels. Each step is a point at which alarms and dashboards may stop matching reality, so add a check of health endpoints, log levels and metrics to every step. Fabric v3.0 also changed consensus and lifecycle behavior, and the 3.x and 2.5 LTS lines receive patch releases in parallel, so confirm which line your network runs before you write rules. The Fabric Gateway client API works with both v2.5 and v3.0, so applications can be upgraded separately, but their logs should still be checked. Include monitoring checks in your change record for each upgrade.
Can DeployOpen certify that our Fabric network is NIS2 compliant?
No. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. NIS2 creates no certificate of compliance. National competent authorities oversee compliance through inspections, security audits, security scans, information requests and administrative fines, and the exact requirements follow from your national transposition law. In practice, DeployOpen can map your Fabric logs and metrics to the monitoring and logging point, configure collection and alarms, and assemble the evidence described in ENISA's guidance. Your authority or an independent assessor then reviews that evidence. Confirm in writing which artifacts the engagement will deliver and which parts remain your organization's responsibility.
How DeployOpen configures Fabric monitoring and prepares NIS2 evidence
DeployOpen plans, builds and documents the logging and monitoring for a Hyperledger Fabric network inside your own infrastructure, mapped to the monitoring and logging point of the NIS2 Implementing Regulation. The work produces configuration you can review, alarms you can test and records your compliance and security teams can take to an assessment.
How we scope
- Written scope lists which peers, orderers and CAs, and which operations service endpoints, fall under monitoring and logging.
- Scope maps each log and metric source to the point 3.2.3 element it supports, such as authentication, privileged activity or backup access.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we build
- We configure operations service logging levels, Prometheus scraping and mutual TLS access to the /metrics and /logspec endpoints.
- We set alarm thresholds for health checks, ordering node availability and certificate expiry, and test that each alarm fires.
- We confirm time synchronization on every node and place monitoring outside the systems it observes, with redundancy checked.
How we hand over
- Handover includes an evidence register tying each NIS2 point 3.2 requirement to a configuration file, dashboard or alarm record.
- Runbooks cover log review cadence, alarm triage, retention settings and the backup protection of log stores.
- Retention periods are documented as your own policy, since the Implementing Regulation sets no fixed period, and recorded for your approval.
How we support
- Ongoing support and continuous testing are available as a retainer, including alarm retests after Fabric upgrades.
- Monitoring changes made during Fabric version upgrades are reviewed and documented against the same evidence register.
- We prepare the monitoring evidence your team needs for NIS2 reviews; independent auditors and competent authorities make the assessment.
Sources and further reading
- Commission Implementing Regulation (EU) 2024/2690, EUR-Lex ↗
- NIS2 Technical Implementation Guidance (June 2025), ENISA ↗
- Directive (EU) 2022/2555 (NIS2), EUR-Lex ↗
- Fabric docs: The operations service ↗
- Fabric CA user's guide ↗
- NIS2 Directive: securing network and information systems, European Commission ↗

