Can OpenSearch meet the NIS2 monitoring and logging point?
If you are an essential or important entity under NIS2, you need to show that you monitor and log activity on your network and information systems under point 3.2 of the Annex to Commission Implementing Regulation (EU) 2024/2690. OpenSearch can host the log collection, alerting and access controls that point 3.2 calls for, but the policy, retention periods and review procedures remain your responsibility. The regulation requires procedures and tools that detect events that could be incidents, automated to the extent feasible, and it expects logs to be reviewed for unusual trends against alarm thresholds. OpenSearch gives you the storage, search and alerting layer for that work. Deciding which events matter, who reviews them and how quickly they must be acted on is a governance decision that your security team has to document.
The regulation sets no fixed retention period. Point 3.2.5 requires logs to be kept and backed up for a predefined period and protected from unauthorized access or changes, so the period is yours to define and justify against your risk assessment and national transposition law. Confirm the period with your national competent authority or sector guidance before you configure index lifecycle policies and snapshot schedules. On the protection side, the OpenSearch Security plugin provides role-based access control, field-level and document-level security, audit logs and TLS, which map to the protection requirement, but you must still decide who holds administrative rights over the cluster itself.
NIS2 creates no certificate of compliance. National authorities oversee compliance through inspections, security audits, scans and information requests, so there is nothing for DeployOpen or any vendor to certify. DeployOpen plans, configures and hardens the OpenSearch deployment, prepares the configuration, access and retention evidence your reviewers will ask for, and tests that the controls work. Independent auditors and your competent authority decide whether the evidence is sufficient.
Mapping NIS2 point 3.2 to OpenSearch capabilities and configuration
This table maps each NIS2 Implementing Regulation 2024/2690 point 3.2 requirement to the OpenSearch capability that supports it and the configuration you still need to set. Read each row as a question to answer in your own environment, and confirm feature availability in the documentation for the OpenSearch version you deploy. The main takeaway is that OpenSearch supplies the building blocks, but the monitoring, alarm, retention and redundancy decisions remain yours to design and evidence.
| Requirement | Platform capability | Configuration needed |
|---|---|---|
| Point 3.2: monitor and log activity to detect events that could be incidents, automated where feasible | Log ingestion through OpenSearch ingest pipelines, and alerting or monitoring features to evaluate events (confirm the exact feature set for your version) | Define the event sources in scope, parse them into consistent fields, and document which detections run automatically |
| Point 3.2.4: regular review of logs for unusual trends | Dashboards for trend views, and alerting monitors that run queries on a schedule (confirm availability for your version) | Assign a named reviewer and cadence, and record review outcomes so reviews can be shown later |
| Point 3.2.4: alarm thresholds that trigger an alarm, automatically where appropriate | Alerting monitors with threshold conditions and notification destinations (confirm supported destinations) | Set thresholds per event type, test that each alarm fires, and route notifications to a staffed on-call channel |
| Point 3.2.5: logs kept and backed up for a predefined period | Index lifecycle management for retention and snapshot repositories for backups | Set a retention period in your own policy, configure lifecycle deletion, and schedule snapshots to a separate repository |
| Point 3.2.5: protection of logs from unauthorized access or changes | Security plugin role-based access control, audit logs, TLS for node and client traffic, and snapshot repository restrictions | Restrict write and delete rights on log indices, enable audit logging, and limit who can modify or delete snapshots |
| Point 3.2.6: redundant monitoring and logging systems, to the extent feasible | Replicas on separate nodes and shard allocation awareness across zones or racks, with dedicated cluster manager nodes | Size replicas and node counts for your risk, place nodes across failure domains, and document why any gap is not feasible |
| Point 3.2.6: monitoring of logging availability independent of the monitored systems | Cluster health and node metrics that can be read from outside the monitored estate (confirm the supported export methods) | Run an external health check on the logging cluster that does not depend on the systems it watches, with its own alert path |
Which events an NIS2 logging scope should capture
The scope for point 3.2 of the Annex to Implementing Regulation 2024/2690 starts from your own risk assessment and asset inventory, not from a generic list of log types. The regulation asks you to monitor and log activity on network and information systems so that events which could be incidents are detected, and it leaves the choice of events to the entity. For each system in the inventory, record which security-relevant activity would indicate a problem if it went unseen: authentication events such as failed and successful logins to the OpenSearch Dashboards, the Security plugin and the APIs, plus SSO assertions from your identity provider. Confirm with the security team which of these need source IP, user identity and outcome in every record, since those fields determine what can be investigated later.
Administrative and privileged activity deserves its own line in the scope. Capture changes to roles, role mappings, users, tenants and the Security plugin configuration, along with snapshot repository changes, index deletions and changes to index lifecycle policies. Within OpenSearch, the audit log feature of the Security plugin can record these events, but which categories are enabled, which indices are excluded and where the records are sent are decisions to make and document, not defaults to accept. Add network and system events from the hosts and containers running the nodes, such as SSH logins, sudo use, service restarts and firewall denials, and include the cluster's own audit records so that an administrator cannot change the monitoring without leaving a trace. Illustrative example: a scope note for a single cluster might map each event class to the asset it protects and the owner who reviews it.
Treat the resulting list as a versioned document that the security team approves and revisits after each material change to the environment, such as a new data source, a new identity backend or a change to the risk assessment. Ask the team to confirm which personal data may appear in event content, because that affects both the logging design and the retention rules that follow. The scope is also the baseline for the alarm thresholds and retention periods described elsewhere on this page, so changes to it should be tracked. Our engineers can help map the inventory to the event classes, but the content decisions stay with your security function.
Setting alarm thresholds that point 3.2.4 can defend
Point 3.2.4 asks for regular review of logs for unusual trends, with alarm thresholds that trigger an alarm and automation where appropriate. The five thresholds below cover identity, privilege, data flow and platform health, and each one needs a documented rationale that an assessor can trace back to your environment.
Failed login thresholds
Set a count of failed authentications per account and per source address over a fixed window, and alert when it is exceeded. The right number depends on your normal sign-in pattern, how many service accounts retry automatically, and whether SSO failures appear in the same index as direct logins. Build the baseline from several weeks of data before you fix the value, and record how it was chosen. Confirm which audit categories the OpenSearch Security plugin writes so failures from every authentication backend are visible.
OpenSearch security docsPrivilege change alerts
Alert on any grant of administrative roles, changes to role mappings, and creation of new users or API keys in the logging platform and in the monitored systems. For these events, the threshold is usually zero tolerance rather than a count, so every event opens a review item. Pair the alert with a named owner and a ticket that records whether the change was approved. Changes made to the cluster's own security configuration should be treated the same way.
Ingestion gap thresholds
Measure documents received per source over time and alert when a source falls below its expected rate or stops for a set period. The threshold should reflect the normal daily shape of each source, since a quiet night shift is not the same as a broken forwarder. Check ingest pipeline rejections and bulk request errors alongside volume, because a source can keep sending while its events are dropped. Document how each source's expected rate was set so the reviewer can explain it.
Log source silence
Track the last event time for each critical log source and alert when it exceeds a limit set per source type. Firewalls, identity providers and key servers often have very different expected chatter, so one global value will either flood the queue or miss real outages. Silence alerts matter because an attacker who disables logging produces no volume spike. Route these alerts through a path that does not depend on the same OpenSearch cluster they are watching, which links to point 3.2.6.
Cluster health and storage thresholds
Alert on cluster status changes, unassigned shards, node loss, disk watermark approach and failed snapshot runs, and set each limit against your own capacity plan. A yellow status on a single-node test cluster means something different from the same status on a production cluster with replicas on separate nodes. Thresholds here protect the monitoring system itself, so review them after each major change and confirm that the alert reaches a person who can act on it.
Creating a cluster docsProtected retention and backups under point 3.2.5
Security operations teams use the stored logs every day, so they are the first group to notice when the record is incomplete or has been altered. Point 3.2.5 asks that logs be kept and backed up for a predefined period and protected from unauthorized access or changes. The regulation does not set the period, so the security team should help define which log sources need longer history for investigations and which can age out sooner.
- Investigation window: Agree on how far back analysts must be able to search, and record that period as the predefined retention for each log source.
- Read-only analyst access: Give analysts search and dashboard roles that cannot delete indices, change index settings or edit stored documents.
- Break-glass process: Define who may run a privileged delete or retention change, and require a ticket and a second approver.
- Alert on deletions: Create an alert when index deletion, snapshot deletion or security configuration changes occur outside the approved window.
- Evidence for review: Keep a record of periodic checks that logs from each source are present and that no gaps appeared.
Confirm with the team which retention periods are approved in writing and who may change them.
The compliance lead turns the predefined period into a written retention policy and links it to the evidence that an authority or auditor would request. NIS2 is applied through national transposition laws, and the competent authority oversees compliance through inspections, security audits and information requests. The lead should therefore confirm the national requirements that apply to the entity, since they may set a longer period than the Implementing Regulation does.
- Retention schedule: Document the period for each log category, the legal basis or internal reason for it, and the owner who approved it.
- Backup policy: State how often backups run, where copies are held, and how long each backup is kept.
- Protection statement: Describe the access controls and audit logging that protect the record, in plain terms a reviewer can test.
- Review records: Keep dated records of reviews of retention settings and of backup restore tests.
- Scope of the regulation: Ask counsel or the national authority whether a fixed period applies in your Member State.
Check that the written policy, the cluster settings and the snapshot schedule say the same thing.
The platform team builds the controls that make point 3.2.5 true in practice. This means snapshot repositories that the cluster can write to but that analysts and ordinary service accounts cannot modify, index lifecycle rules that match the approved retention, and audit logging of the OpenSearch cluster itself so that changes to security settings and administrative actions are recorded. The Security plugin provides role-based access control and audit logs, but the team must enable and test them for its own deployment.
- Read-only snapshot repository: Configure the repository so the backup identity can create snapshots but cannot delete or overwrite them, and keep deletion rights with a separate administrative identity.
- Scoped index roles: Use cluster and index permissions so that only designated administrators can delete indices or alter lifecycle policies.
- Cluster audit logging: Enable audit logging of security and administrative events, send it to a location the cluster operators cannot silently change, and test that it records a sample change.
- Restore tests: Restore a snapshot into an isolated cluster on a schedule and record the result.
- Separate storage: Keep backup storage on a different failure domain from the live data.
Confirm the exact settings in the version you run, because permission names and audit options differ between releases.
Making the logging system redundant and independently monitored
Point 3.2.6 of the Annex to Implementing Regulation 2024/2690 asks that monitoring and logging systems be redundant, to the extent feasible, and that their availability be monitored independently of the systems they watch. For an OpenSearch deployment, this means the cluster that stores your security logs cannot be a single point of failure, and something outside that cluster must tell you when it stops collecting. The phrase "to the extent feasible" leaves room for judgment, but you should document that judgment with the reasons for each choice, because an assessor will ask why a given component has no spare.
Start with the cluster topology. The OpenSearch cluster documentation recommends dedicated cluster manager nodes so that cluster state management is not competing with indexing and searching, and that replicas sit on separate nodes from their primaries. Shard allocation awareness, configured through cluster.routing.allocation.awareness.attributes on nodes that carry a zone or rack attribute, keeps copies of a shard in different failure domains. Confirm the node count, zone layout and replica count against your own infrastructure and the sizing of your log volume, since the minimum that meets the availability goal depends on how many failure domains you actually operate. Snapshot repositories are a separate recovery control and are covered on the snapshots and disaster recovery page.
Redundancy alone does not satisfy the independence requirement. A watcher hosted on the same cluster cannot report that the cluster is down, so place a check on a separate system: a monitoring tool such as Zabbix or Prometheus running outside the OpenSearch hosts, or a simple external probe that queries the cluster health API and alerts on a red or unreachable status. Route that alert to a channel that does not depend on OpenSearch, and test it by stopping a node in a non-production environment. Record the test, the alert recipient and the time to detection. Also confirm with your team which systems feed the logs, since an ingestion pipeline that silently stops is a monitoring gap even when the cluster is healthy.
Evidence auditors and supervisors can review
Point 3.2 of the Annex to Implementing Regulation 2024/2690 asks for monitoring and logging that can be shown to work, not only configured. The records below are the ones an OpenSearch deployment produces and keeps, and each needs to be placed under change control so it can be shown as it stood on a given date. The national authority decides whether the evidence is sufficient.
Audit log records
The Security plugin audit log records authentication events, failed logins and configured categories of access to indices, so you can show who touched monitoring data and when. Confirm which categories are enabled, that the audit log is written to a destination the cluster's own administrators cannot silently edit, and that a sample of entries can be exported for a given period. Treat the audit configuration itself as evidence, because a reviewer will ask when it last changed.
OpenSearch security docsRole and mapping exports
Role definitions, role mappings and backend configuration show who could read, write or administer log indices at any point. Export them on a schedule and store each export with a timestamp and its change history, so a reviewer can compare access before and after an incident. Check that privileged roles are few, that document-level and field-level restrictions on sensitive log fields are present in the export, and that identity backend settings match the identity provider of record.
Retention and backup configuration
Retention is set by index lifecycle policies, snapshot repository settings and snapshot schedules. The NIS2 point requires logs to be kept and backed up for a predefined period, but the regulation sets no fixed length, so your documented period is the reference a supervisor will test against. Keep the policy definitions in version control, and retain evidence that snapshots completed and that a restore was tested, not only that a schedule exists.
Alert rules and alert history
Alerting monitors, thresholds and their firing history show that unusual trends trigger an alarm, as point 3.2.4 expects. Keep the rule definitions, the owner of each rule, and the alert history with acknowledgement and resolution notes. A rule that never fired is only useful evidence if you can show it was tested against a known event, so record those test runs as well.
Cluster health and availability records
Cluster health history and the availability checks run from outside the monitored cluster support point 3.2.6, which asks that logging be redundant and that its availability be monitored independently. Record health status over time, node loss events and recovery times, and the independent probe that watches the logging platform itself. Ask your team to confirm where these probe results are stored, since they must survive an outage of the cluster they describe.
Change control over all of it
Every record above is only as credible as the change process around it. Store configuration as code, require review for changes to roles, retention and alert rules, and keep the approval trail with the release that introduced it. Note in the evidence pack that sufficiency is determined by the auditor or the competent national authority, so ask them early which artifacts and periods they expect to sample.
Implementing Regulation textConfiguration sequence for a NIS2-ready OpenSearch logging setup
This sequence takes an OpenSearch logging platform from scoping to a state where monitoring, alerting, protected retention and redundancy can be shown to a national authority. Each step closes with a check the owning team can verify and file as evidence.
Scope systems and inventory log sources
The security lead and system owners list the network and information systems in scope for the entity, then record which of them produce events that could indicate incidents, such as identity providers, VPN gateways, firewalls, endpoints, cloud control planes and business applications. Each asset gets an owner and a log source type. The output is a signed inventory that the logging design will reference, so every later step can show which system it covers. Confirm with counsel and the national transposition law which entity classification applies, since that determines the scope of the obligations.
Choose the install method and node layout
The platform team selects an install method from the options OpenSearch documents, such as Helm, the Kubernetes Operator, packages or Ansible, based on the hosting model and the team's existing tooling. They also decide node roles, with dedicated cluster manager nodes and replicas placed on separate nodes, and shard allocation awareness across failure domains. The output is a reviewed architecture note and a lab cluster that starts cleanly with the chosen method, so the production build is reproducible and the configuration sits in version control.
Enable TLS and connect the identity backend
The platform team turns on TLS for node-to-node and client traffic and configures the Security plugin with the identity backend the entity already uses, such as SAML, OpenID Connect, LDAP or Active Directory. Administrative accounts are kept separate from day-to-day analyst accounts, and local default credentials are removed. Done means a test login through the central identity provider succeeds, plaintext connections are refused, and the security configuration is stored in version control with a documented change path.
Define roles and restrict index access
The security team maps analyst, responder, auditor and administrator duties to roles with index-level permissions, and adds document-level or field-level security where some log fields contain sensitive data. Read access to security logs is limited to named groups, and no one can alter or delete indices except through a controlled administrator role. Audit logging for the security plugin is enabled so that access attempts and configuration changes are recorded. Done means a test user in each role can perform only the permitted actions, and the role matrix is saved as a controlled document.
Onboard log sources with a consistent schema
The platform team connects each inventoried source through agents, syslog receivers or an ingestion pipeline, using a shared field naming scheme and time synchronization for all hosts. Each source is tested for completeness, so the events a reviewer would need to reconstruct an incident are present with timestamps, actor, action and outcome. The output is a source register showing for each system what is collected, the expected event volume and the owner who confirmed the feed. Sources that cannot be onboarded are logged as gaps with a remediation owner.
Set alerting rules and thresholds
The security operations team writes detection rules for the event types that matter most to the entity, such as repeated failed logins, privilege changes, disabled logging, unusual data transfers and access from unexpected locations. Each rule gets a threshold, a severity, a response owner and a defined action, and where appropriate the alert triggers an automated response. The team also schedules a regular review of log trends so that unusual patterns that fall below thresholds are still examined. Done means a test event fires each alert to the named owner and the threshold settings are approved and versioned.
Configure snapshot repository and retention
The platform team registers a snapshot repository on storage outside the primary cluster, sets a snapshot schedule, and defines a retention period for raw logs that the entity sets from its own legal and operational needs, since the regulation does not fix one. Access to the repository is restricted to backup administrators, and snapshots are encrypted and protected from modification. A restore test into an isolated cluster confirms that logs can be recovered and read. The output is a retention schedule approved by management and a restore test record.
Add redundancy and external availability monitoring
The platform team deploys the logging cluster redundantly across the failure domains chosen earlier and places an independent monitor outside the cluster to check that ingestion and search are working. The independent monitor alerts a team that does not depend on the logging platform to stay available. Failover is tested by taking one node or zone offline and confirming that ingestion continues and alerts still fire. Done means a documented failover test passes and the monitor's alert path has been tested end to end.
Capture evidence and keep review records
The compliance lead collects the artifacts that show the system works as designed: the asset inventory, role matrix, source register, rule and threshold records, snapshot and restore test results, failover test results and the log of review meetings. Each review of unusual trends is recorded with the reviewer, the date, the findings and the follow-up actions. The evidence set is stored in a controlled location and reviewed on a schedule the entity sets. This record is what the entity can present to its national competent authority during an inspection or audit.
How log sources, OpenSearch and independent monitoring fit together
The flow starts at log sources across the in-scope network and information systems, which send events through an ingestion layer into the OpenSearch cluster. Inside the cluster, dedicated cluster manager and data nodes hold the indices, and replicas sit on separate nodes so a single failure does not lose logs. The Security plugin controls who can read or change those indices, and alert rules send matches to the SOC. Snapshots copy the data to a protected repository, and a separate availability monitor watches the cluster from outside it. Check that the monitor can still alert when the cluster is down.
Log flow into a redundant OpenSearch cluster, with access control, alerting, snapshots and an independent monitor.
Questions buyers ask about NIS2 logging with OpenSearch
Is OpenSearch licensed for NIS2 logging without a paid edition?
Yes, all software in the OpenSearch project is released under the Apache License, Version 2.0, and the OpenSearch FAQ does not describe a paid edition. The license covers the software, not the work around it. Your costs are the infrastructure to host the cluster, the storage for retained logs, the people who run it and any outside help you buy. Confirm the current license text and trademark policy on the OpenSearch FAQ before you write it into your compliance file, and have your legal team review any commercial support contract separately.
How long does a NIS2 logging deployment and review take?
The duration depends on the scope you set, not on a fixed template, and no timeline is given in the researched material for this work. The main drivers are the number of log sources you must bring in, how many event types you need to define for Point 3.2, whether you run a single site or several, how redundant the monitoring must be, and how much of your alerting and retention policy already exists. Ask any partner for a phased plan with written milestones, and ask your own team how many weeks of effort each milestone needs. A review of alarm thresholds and retention should be scheduled as a recurring activity, not a one-time task.
What does our team need to provide before the work starts?
The work depends on information only you can supply. Expect to provide:
- A list of in-scope systems and the log sources each one produces
- Your current retention periods, backup arrangements and who may access logs
- Network segmentation, identity providers and any existing SIEM or alerting tools
- Named owners for alarm handling and for the periodic log review
- The hosting environment, including cloud accounts, data centers or air-gapped networks, and the capacity you can allocate
Without these, the scope cannot be fixed in writing, and any quote will carry more uncertainty.
Can our own team build NIS2 logging with OpenSearch in-house?
Often yes, if your team already runs production infrastructure and has the skills to operate a search cluster. Point 3.2 asks for procedures and tools, so the work includes both technology and process: defining events, thresholds, review routines and protected backups. Your team must own the outcome either way. The questions to answer honestly are whether you have engineers who can size and harden a cluster, configure access control and audit logging, test backups and restores, and keep the system patched. Where those skills are thin, a partner can take part of the build while your team keeps ownership of the procedures.
Does NIS2 certify that an OpenSearch logging system is compliant?
No. NIS2 creates no certificate of compliance. National competent authorities oversee compliance through inspections, security audits, security scans, information requests and administrative fines. Implementing Regulation 2024/2690 sets the technical requirements, and ENISA's non-binding guidance from June 2025 gives examples of evidence. Nothing in that framework turns a logging platform into a certified product. What you can prepare is the evidence that your procedures, configuration and review records meet the requirements in your national transposition law. Confirm the exact obligations that apply to your entity with your national authority and your legal advisers.
What does a DeployOpen scope cover for NIS2 logging?
A DeployOpen engagement is fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. For this topic, a scope can cover planning the event and log source inventory, deploying OpenSearch in infrastructure you control, configuring the Security plugin for role-based access, TLS and audit logs, setting up alarm thresholds and redundancy, testing backups and restores, and preparing the evidence your compliance team reviews. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Ongoing support, upgrades and continuous testing are available as retainers, and a quote follows from the written scope.
How much does it cost to run NIS2 logging on OpenSearch each year?
Running costs are driven by what you keep and how you protect it, and the researched material gives no price or budget figures for this. The recurring components are the hosting capacity for the cluster and its redundant copy, storage for retained and backed-up logs, staff time for alarm handling and periodic review, patching across the maintenance window of each OpenSearch version, and any support contract. Costs rise with the number of log sources, the length of the retention period your own policy sets, and the number of separate environments. Ask any quote to show one-time build costs and recurring costs separately, and to state the assumptions for storage growth.
How DeployOpen scopes and delivers NIS2 logging configuration
DeployOpen plans, implements, hardens, documents and supports self-hosted OpenSearch inside your own infrastructure, so the monitoring and logging point of Implementing Regulation 2024/2690 is designed into the platform from the start. The written scope sets which events are logged, which alarm thresholds apply, how logs are protected and retained, and how logging stays redundant, with evidence your compliance team can review.
How we scope
- Inventory the systems in scope and the event sources each one produces, such as authentication, administrative and network activity.
- Agree the event categories to collect and the fields each record must carry before any pipeline is built.
- Define alarm thresholds, review cadence and who receives alerts, written into the scope document before work starts.
How we build
- Deploy the OpenSearch cluster in your cloud accounts, data centers or air-gapped network with dedicated cluster manager nodes and replicas on separate nodes.
- Configure the Security plugin with TLS, role-based access control and audit logging so log indexes cannot be read or changed by unauthorized users.
- Set up redundant ingestion paths and an independent availability check so a failure in the monitored systems is still visible.
How we hand over
- Document the event catalog, index retention settings, backup and snapshot procedures and the alarm rules as built.
- Run written verification tests that show alerts fire at the agreed thresholds and that restricted access holds.
- Hand over runbooks and a review checklist so your team can show that logs are reviewed regularly, as point 3.2.4 expects.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, OpenSearch upgrades and continuous testing are available as a retainer.
- Confirm with your national competent authority and your legal team which obligations apply to your entity, since NIS2 is transposed through national law.

