When OpenSearch Security Analytics works as a self-hosted SIEM
A security team that wants log search, retention and detections on infrastructure it controls will find that OpenSearch Security Analytics is a set of detection capabilities built on the OpenSearch stack, and it fits teams that want the SIEM data store under their own control rather than in a vendor's hosted service. The stack is the part that matters for this decision: the detectors, rules and log type mappings run against indexed event data, so the storage, access model and retention of that data are decisions you make before the first detector goes live.
The platform itself is licensed under the Apache License, Version 2.0, and the OpenSearch FAQ does not describe any paid edition. That settles the licensing question, but it does not settle what the security analytics feature set includes in the version you plan to deploy. Capabilities, supported log types and rule handling change between releases, and the OpenSearch documentation for your exact version is the source to check. Confirm against the current OpenSearch docs which detector types, log type mappings and correlation features are available in that version, and record the answer in the design document so the SIEM scope is not based on memory or on a blog post.
Before you commit, decide who owns the data path end to end: which log sources feed the cluster, who can read alerts and raw events through the Security plugin's roles, where audit records of those reads are kept, and how the cluster is backed up. A self-hosted SIEM moves those responsibilities to your team, so a partner or in-house team should be able to answer them from a written plan. If your team cannot staff detection tuning, alert triage and cluster operations on a continuing basis, weigh that effort against a managed option before choosing this path.
How log sources, detectors and alerts move through the cluster
The flow starts at endpoints, network devices and cloud sources, which send events through collectors and a log type mapping step before they land in OpenSearch indices. Detectors and correlation rules then read those indices and write alerts, which analysts see in dashboards and which can be forwarded to external alert sinks. The Security plugin sits at each hand-off. Check the trust boundary between collectors and the cluster transport, the access roles on dashboards and indices, and the path to any external sink, since each crossing needs its own authentication and TLS settings.
Log sources flow through collectors and mapping into indices, then detectors, alerts, dashboards and sinks.
The building blocks of a Security Analytics deployment
A self-hosted SIEM on OpenSearch Security Analytics is built from a few connected parts: the log sources feeding it, the mappings that normalize those logs, the detection rules that look for activity, and the correlations and alert handling that decide what reaches an analyst. Each part needs an owner and a decision before the first detector goes live.
Log sources and collection
Every detection depends on the events that reach the cluster. Decide which systems send logs (identity providers, endpoints, firewalls, cloud control planes, applications), how they are collected, and who owns each feed. Track which sources are missing, because a rule cannot detect activity that was never ingested. Confirm the supported collection methods and agent or shipper options in the current OpenSearch Security Analytics documentation before you commit to a pipeline.
Log type mappings
Mappings tie each raw source to a log type and a field schema that detection rules can query. Decide which source maps to which log type, who approves a new mapping, and how renamed or missing fields are handled after a vendor update. Confirm the built-in log types, field naming and mapping behavior in the current OpenSearch Security Analytics documentation, since this varies by release.
Detectors
A detector applies a set of rules to one log type and produces findings when a match occurs. Decide which log types get detectors, how often they run, and which findings open an alert versus stay as context. Each detector adds query load to the cluster, so check its cost against the capacity your data nodes can spare. Confirm scheduling and resource behavior in the official documentation.
Sigma rules
Sigma rules are a vendor-neutral format for describing suspicious behavior, and they can be converted into the queries a detector runs. Decide which community or internal rule sets you import, who reviews each rule for false positives, and how rule changes are tracked in version control. Confirm which Sigma rule features and log types the current release supports before you build a rule library around it.
Correlations and alert handling
Correlations link findings across log types, for example a failed login followed by a privilege change on the same host. Alert handling decides where those results go, who acts on them, and how duplicates are suppressed. Agree the escalation path, the owner for each alert queue, and the criteria for closing an alert before go-live. Confirm the supported correlation types and notification targets in the current OpenSearch Security Analytics documentation.
Tuning ownership
Rules age, log formats change, and noisy rules hide real alerts. Assign a named owner for rule tuning, a review cycle for disabled or noisy detectors, and a change process that records who changed what and why. Without an owner, the SIEM drifts into an unreviewed set of defaults. Ask any implementation partner to define this ownership in the written scope, not after handover.
Which SIEM setup fits which team
This table compares three ways to run a SIEM: OpenSearch Security Analytics on a cluster your team operates, a packaged stack built on the Wazuh indexer, and Elastic Security with a commercial tier. Read each row against your data location rules, your detection staffing and your licensing review. The main takeaway is that the license terms and the detection content source differ more than the underlying search engine does.
| Factor | OpenSearch Security Analytics (self-operated) | Packaged stack on OpenSearch-family indexer (Wazuh) | Elastic Security with commercial tier |
|---|---|---|---|
| Control over data location | Full control. Indices, alerts and logs stay in the clusters and accounts you choose | High control when self-hosted. Alerts are stored in the Wazuh indexer you deploy | High control when self-managed, but the paid tiers and Elastic Cloud change where some features run |
| Who maintains detections | Your team writes, imports and tunes Sigma rules, log type mappings and correlations | Wazuh ships decoders and rules that your team can extend and tune | Elastic maintains prebuilt rules in its repository, delivered to the detection engine; your team customizes them |
| Licensing terms | Apache License 2.0 for the OpenSearch project, with no paid edition described in the OpenSearch FAQ | GNU GPL v2 with an OpenSSL linking exception, per the Wazuh LICENSE file | Elasticsearch and Kibana default to Elastic License 2.0, and detection rules are under Elastic License v2; confirm the tier for each feature |
| Paid tier availability | Not applicable in the project. Confirm any third-party support or add-on terms in writing | Confirm with Wazuh which features or support options are offered separately | Self-managed Platinum is no longer sold to new customers; choose Basic or Enterprise, or move to Elastic Cloud |
| Main effort drivers | Cluster sizing, Security plugin configuration, log source onboarding, detection engineering and alert triage | Agent rollout across endpoints, server clustering, indexer sizing and offline update handling | Tier selection, license review, Fleet and Elastic Agent management, and detection tuning |
| Upgrade cadence to plan for | Minor releases about every eight weeks; plan maintenance windows for each cluster | Patch releases on a roughly one to two month cadence in the 4.14 line | Confirm the current release line and supported versions before each upgrade |
| Best fit for | Teams with search engineering skills that want Apache 2.0 terms and their own detection content | Teams that want an endpoint-focused agent and prebuilt compliance views with GPL-compatible terms | Teams that want vendor-maintained detection content and can accept Elastic license terms and tier decisions |
How OpenSearch Security Analytics compares with Wazuh and Elastic Security
Choose OpenSearch Security Analytics when you want a SIEM built on a search cluster you already operate, with detection content you can review and edit, and when your main sources are logs and cloud or network data rather than a deep endpoint agent footprint. Its detectors, log type mappings and Sigma rules are visible configuration, which suits teams that want to own the detection logic. The trade-off is that you assemble more of the pipeline yourself: log collection, agent or forwarder coverage, and the rule tuning that a vendor would otherwise ship for you. Confirm which log types and prebuilt rule sets the current release includes before you commit, since this area changes between releases.
Choose Wazuh when endpoint monitoring is the center of the requirement. Wazuh is distributed under the GNU General Public License version 2, with an exception for linking with OpenSSL, and it bundles agents on Linux, Windows, macOS, Solaris, AIX and HP-UX with a server, an indexer and a dashboard that includes prebuilt views for PCI DSS, GDPR, HIPAA and NIST 800-53. Its agent-based model, remote configuration management and vulnerability detection give you more out of the box than a bare search cluster. Choose Elastic Security when you want a mature detection engine, prebuilt rules delivered automatically, and Elastic Defend with Fleet for endpoints, and when your budget accepts subscription tiers. Elastic's current self-managed subscriptions list Platinum as no longer sold to new customers, so new buyers of paid security features should check whether Enterprise or Elastic Cloud fits.
Compare on four points before deciding: agent coverage on the operating systems you run, the source and maintenance of prebuilt content, whether rules and code are licensed in a way your legal team accepts, and who will tune detections every week. Elastic's detection rules are licensed under the Elastic License v2, which differs from the Apache 2.0 terms of OpenSearch. Wazuh's rules and server code fall under the GPL. Ask each vendor for a current feature matrix, confirm which capabilities sit in the tier you would buy, and run a proof of concept with your own log sources. Do not assume any of these products runs on OpenSearch unless its own documentation says so.
How to set up Security Analytics in a production cluster
This sequence takes a self-hosted OpenSearch cluster from topology and access controls through log ingestion, detection content, correlation and alert routing, ending with a tested and documented rule set that a security team can operate.
Plan the cluster topology and availability
The platform or infrastructure team decides node roles before anything is installed. The OpenSearch cluster documentation recommends dedicated cluster manager nodes, replicas placed on separate nodes and shard allocation awareness so that a single host or zone failure does not take detection offline. Record the planned node count, zones and role assignments in the design document. Done means the topology is written down and each replica has a planned home on a different node from its primary. Confirm the final layout against the cluster docs for your chosen version.
Enable the Security plugin with TLS and an identity backend
Before any security data arrives, the platform team enables the OpenSearch Security plugin, turns on TLS for node and client traffic, and connects an identity backend such as SAML, OpenID Connect, LDAP or Active Directory, depending on what your identity provider supports. Test sign-in with a named analyst account through the single sign-on flow and confirm that the admin certificate and default users are handled according to your password and credential policy. Done means an analyst can log in through SSO, an unauthenticated request to the API is rejected, and the audit log records the login.
Install and enable Security Analytics for the chosen version
Install the Security Analytics components that match your OpenSearch version, using the installation method your platform team already supports, such as Helm, the Kubernetes operator, packages or Ansible. Confirm that the plugin versions on every node match the core version and that the Security Analytics pages load in Dashboards for a user who holds the right role. Because the plugin must match the core release, check the compatibility notes for the version you deploy before the first rollout. Done means the plugin reports healthy on all nodes and a test detector can be created and deleted.
Define log sources and log type mappings
The security engineering team lists each log source, such as Linux authentication logs, firewall syslog, cloud audit trails and endpoint telemetry, and maps each one to a log type that Security Analytics understands. Set the index names, field mappings and ingest path for each source, and decide where timestamps and host identifiers come from so that events from different sources can be correlated later. Done means a sample event from each source lands in its planned index with the expected fields populated, and a field that is missing or mistyped is fixed before detectors depend on it.
Load detectors and Sigma rules
Load the detectors that match your log types, either from the prebuilt rule library or from Sigma rules you have reviewed. Assign each rule a severity, an owner and a log source, and disable rules that do not apply to your environment rather than leaving them firing on noise. Keep the rule files in version control so every change has a reviewer. Done means each enabled detector is linked to a documented log type, the rule count matches the change record, and the rule set can be reproduced from the repository.
Configure correlations and alert destinations
Build correlation rules that join events across log sources, for example a failed SSO login followed by a privilege change on the same host within a window you choose. Then configure alert destinations such as your ticketing system, chat channel or case tool, and set the routing so that high-severity findings reach an on-call queue. Confirm that notification credentials are stored in your secrets manager and that alerts do not include secrets in their payloads. Done means a test correlation produces one alert in each destination and the routing table matches the on-call design.
Validate with replayed test events and a rule review
Replay known test events, such as a simulated brute-force sequence or a benign administrative action, through each log source and confirm that the expected detectors fire and that noise stays within your agreed limits. Record the results for each rule, including rules that failed to fire, and send failures back to the rule owner. Finish with a documented review in which the security lead signs off on the rule set, the owners and the escalation path. Done means every critical detector has a passing test record, the review is filed, and a named person is responsible for the next review.
Who owns what in a self-hosted SIEM
The security operations lead owns what the SIEM is for: which detections run, how alerts are triaged, and whether a finding becomes an incident. Security Analytics ships detectors, Sigma-based rules and log type mappings, but someone must decide which of them match your log sources and threat model, and then tune them as noise appears. This role also owns the correlation logic that links events across sources.
- Detector selection: Decide which rule sets and log types are enabled, and document why each one applies to your environment.
- Tuning and suppression: Review false positives on a recurring schedule and adjust rules or thresholds rather than muting alerts wholesale.
- Triage workflow: Define severity levels, ownership of each alert queue and the handoff to incident response.
- Rule updates: Review incoming rule changes before they reach production, since a changed rule can alter alert volume overnight.
- Version planning: Work with the platform team on when to adopt a new OpenSearch minor release, because maintenance releases carry fixes and security patches but no new features.
Check that each detector has a named owner, a tuning cadence and a test event that proves it still fires after an upgrade.",
The platform or infrastructure team owns the cluster that stores and analyzes the security data. Its work is capacity, node roles, backups, certificates and upgrades. OpenSearch recommends dedicated cluster manager nodes, replicas on separate nodes and shard allocation awareness for availability, and these settings are the platform team's responsibility from day one.
- Cluster health: Monitor shard status, disk headroom and heap pressure, and alert on them before the SIEM stops ingesting.
- Upgrade cadence: Each OpenSearch version stays under maintenance until the next major version enters maintenance or one year passes, whichever is longer. Plan minor upgrades inside that window and track end-of-life dates for the version you run.
- Patch testing: Apply maintenance releases to a staging cluster first, then confirm detectors, dashboards and log pipelines still work.
- Snapshots and restore: Schedule snapshots and test restores, since an unrecoverable SIEM loses the evidence trail that investigations depend on.
- Capacity planning: Size storage for retention requirements and watch ingest volume as new log sources are added.
Confirm the upgrade window and the rollback procedure in writing before the first production upgrade, and confirm the vendor support position for your chosen version.",
The compliance team owns evidence that the SIEM is controlled: who can see security events, how long records are kept and whether administrative changes are traceable. It does not configure the cluster, but it defines the questions the platform and security teams must answer. Access control and audit logging in the OpenSearch Security plugin provide much of this evidence, including role-based access, document and field-level security and audit logs.
- Access evidence: Keep current role mappings, the identity backend used for sign-in and a list of who holds administrative rights.
- Retention evidence: Record the retention period for alerts and raw logs, and show that snapshots and deletions follow it.
- Audit trail: Confirm that audit records leave the cluster they describe, so a compromised node cannot erase its own history.
- Change records: Tie detector changes and upgrades to tickets with approvals, so changes can be traced later.
- Assessment readiness: Prepare the control descriptions and samples auditors will request. DeployOpen prepares evidence, but independent auditors issue any report or attestation.
Ask the platform team to produce a sample access review and a restore test record, and check that both match what your policy says.",
Protecting SIEM data and access in production
A SIEM holds the most sensitive records in the environment: authentication events, endpoint activity and the alerts that describe attacker behavior. The controls below decide who can see that data, how analysts act on it and whether the audit trail can be trusted, so they should be designed before the first detector is enabled.
Identity backends for analysts
The OpenSearch Security plugin supports SAML, OpenID Connect, Active Directory and LDAP, Kerberos and JSON Web Token authentication. Analysts should sign in through the same identity provider that governs their other tools, so that joiner, mover and leaver changes remove SIEM access automatically. Confirm which backend your identity provider supports, how group claims map to security roles, and what happens to local accounts used for break-glass access.
OpenSearch security docsSeparate roles for raw logs and alerts
Raw security logs often contain more personal and credential data than the alerts derived from them. Analysts who triage alerts may not need unrestricted search over source events, and a SOC lead may need different access than a detection engineer. Define separate roles for alert indices, raw event indices and detector configuration, then test each role with a sample account before go-live.
Document and field-level restrictions
Role-based access control can be narrowed with document-level security, which limits which records a role returns, and field-level security or field masking, which hides or obfuscates specific fields. These controls are useful when one cluster serves several business units or customers. Check that masked fields are still usable for correlation, and verify that dashboards and saved searches do not bypass the restriction.
Audit logs stored outside the cluster
Audit logs record who searched, changed a detector or altered a role. If those logs live only on the cluster they describe, an attacker who gains administrative access can remove the evidence. Send audit records to a separate store with its own access controls and retention, and confirm the retention period with the teams that answer audit requests.
TLS for node and client traffic
TLS should protect communication between cluster nodes and between clients, agents, log shippers and Dashboards. Plan certificate authorities, issuance and rotation before ingestion starts, because expired certificates can stop log flow silently. Confirm which certificates each component presents and who owns renewal.
Security plugin docsImpersonation for analyst workflows
User impersonation lets an authorized service or administrator act as another user, which can help when reproducing what an analyst saw or testing a role. It is also a privileged capability that can hide who did what. Restrict impersonation to named roles, log its use in the audit trail and review those entries regularly.
What buyers ask before running a self-hosted SIEM on OpenSearch
What drives the cost and effort of a self-hosted OpenSearch SIEM?
Cost and effort rise with log volume, the number of log sources, how much detection tuning you need, how long you keep data, and how highly available the cluster must be. Software licensing is not the main driver, since OpenSearch is released under the Apache License, Version 2.0. Most of the spend is on infrastructure you own or rent (compute, storage and network), on the people who write and review detections, and on the one-time build work. Ask any quote to break out each of these: the log sources in scope, the daily ingest assumption, the retention period for hot and older data, the number of cluster nodes and replicas, and who tunes detections after go-live. Ask whether the figures are one-time or recurring.
Can our own team run an OpenSearch SIEM without a partner?
Yes, many teams do, but the work is broader than installing a cluster. Your team needs skills in cluster operations, log onboarding, detection engineering, identity integration and certificate handling. The OpenSearch documentation covers installation, node roles, the Security plugin and upgrades, but it does not write your detections or decide what your SOC needs to see. A partner can carry some or all of that work under a written, fixed scope, and you can also hand over ongoing support or upgrades as a retainer. Compare the skills you already have against the list of tasks in your scope before you decide.
What does the project need from our staff during setup?
A SIEM project depends on people who own decisions outside the cluster. Plan for three groups of named contacts:
- Log owners, who know each source, its format, its retention needs and its change process.
- Detection reviewers, who approve rules, accept or tune alerts, and own the response runbooks.
- Infrastructure and identity contacts, who provide hosts or cloud accounts, network paths, DNS, TLS certificates and the identity provider for single sign-on.
Agree these contacts and their availability in the written scope. Projects often slow down when these people are not named early.
How long does setting up an OpenSearch SIEM take?
The duration depends on the written scope, so no single figure applies. The main variables are how many log sources you onboard, whether detections come from existing Sigma rules or are written from scratch, how many identity backends you connect, whether the cluster must run in an offline or air-gapped network, and how many environments (test, staging, production) you need. Ask the proposal to list each phase, the dependencies on your contacts, and the acceptance criteria for each phase. Treat any duration without that breakdown as incomplete.
Is there a paid edition of OpenSearch for security analytics?
The OpenSearch FAQ does not describe any paid edition of OpenSearch. All software in the OpenSearch project is released under the Apache License, Version 2.0, and the Security Analytics capabilities are part of that project. Your costs therefore come from infrastructure, staff and services rather than a license fee for the core product. Check the FAQ and your own vendor agreements for any third-party components or commercial services you add, and confirm licensing for any tool you connect to the stack.
Who supports a self-managed OpenSearch cluster, and how long is each version maintained?
OpenSearch has no vendor-supplied support contract in the public documentation, so support comes from your internal team, a partner you contract, or both. The OpenSearch releases page describes the maintenance rule: a version stays in maintenance until the next major version enters maintenance or one year passes, whichever is longer. During maintenance it receives bug fixes and security patches but no new features. Version 1 reached end of life on May 6, 2025, and version 2 is maintained through the 4.0 GA release. Check the releases page for the current maintenance table before you choose a version, and plan a supported upgrade path for each major line.
How do OpenSearch upgrades affect our detections?
Upgrades can change the behavior of the cluster, the Security Analytics plugin and the detection content, so test them before production. Keep detections in version control, track which rules and log type mappings each cluster runs, and replay sample logs against the new version in a staging environment before you promote it. Rolling upgrades, snapshot and restore, remote reindexing and Migration Assistant are the documented methods for moving data, and each affects downtime and rollback differently. Confirm with the release notes whether a new minor version changes a field, a rule format or a plugin setting that your detections depend on, and record the expected alert volume before and after the change.
Limits to confirm in your environment
Security Analytics features, log coverage, rule behavior, capacity and upgrades all depend on the exact OpenSearch version and your data volumes. Confirm each item against the docs, with the vendor, or in a test cluster built like production before you commit to a detection program.
Feature set in your version
Security Analytics capabilities change between OpenSearch releases, and the project ships a new minor version about every eight weeks. Confirm which detectors, rule types and dashboard views exist in the exact version you plan to deploy, not the version in a blog post or demo. Check that the version is still under maintenance on the releases page, since maintenance releases carry security patches but no new features. Record the result in your design document.
- Minor release cadence
- 8 weeks
Log source and mapping coverage
Each log source needs a log type mapping before its events are normalized and matched by rules. List every source you must monitor, including firewalls, cloud audit trails and identity logs, and confirm a supported log type and field mapping for each. For sources without one, decide whether you will write custom mappings, which then need their own testing and ownership. Gaps here quietly reduce detection coverage without any visible error.
Rule format and correlation limits
Sigma rules are portable, but conversion to OpenSearch queries can lose fields, modifiers or aggregation logic. Test a sample of your priority rules end to end against real events, and confirm which correlation patterns the engine supports, such as multi-event sequences across log types. Ask whether there are limits on rule count, query window length or the number of fields a correlation can join. Document what each limit means for detections you plan to write.
Alerting throughput and storage
Detector runs, alert writes and index growth rise with event volume and the number of enabled rules, so a cluster that handles logs well can still fall behind on detections. Load test with a realistic copy of your event rate, including peak hours and a burst of noisy rules. Measure alert latency, indexing backlog and disk use over the retention period you need. Ask the team which settings and node roles matter most to this workload.
Custom rule updates
Custom detections can break when the vendor ships updated default rules, changes a field name, or changes how a detector loads content. Confirm how updates reach a cluster, whether they overwrite local edits, and how you can pin, version and roll back custom rules. Ask how you will know that an update changed the alert output. Keep custom rules in version control and run them through a test cluster before each change.
Security docsUpgrade path from your current version
Your starting version determines which upgrade method is safe, and Security Analytics content may not carry over in the same form. Plan for rolling upgrades, snapshot and restore, or Migration Assistant, and confirm which applies to your current release. Check whether detectors, mappings and custom rules survive the move, and test the upgrade on a copy of production before scheduling it. Agree on a rollback point for the detection pipeline with the team that owns it.
Upgrade docsHow DeployOpen scopes and delivers a SIEM on OpenSearch
DeployOpen plans, builds, tests and hands over OpenSearch Security Analytics as a SIEM inside infrastructure you control, with log sources, detection content, access controls and operations agreed before build work starts. Engagements are fixed-scope, so the written scope sets what gets delivered, and ongoing support is available as a retainer.
How we scope
- The written scope lists the log sources, log types and detection content in the first phase of the SIEM.
- We confirm the OpenSearch version, deployment method and hosting environment, including any air-gapped or offline constraints.
- The scope defines who receives alerts, how access is granted through the Security plugin, and where audit records are stored.
How we build
- We deploy the OpenSearch cluster with planned node roles, replicas and shard allocation awareness for the alert data.
- We configure Security Analytics detectors, log type mappings and Sigma rule sets, then tune them against sample events from your own sources.
- We test detections with known-bad sample events and document which rules are active, suppressed or still pending review.
How we hand over
- You receive architecture and runbook documents covering cluster layout, rule inventory, log source onboarding and alert triage steps.
- Your team receives a walkthrough of detector configuration, role mappings and how to add a new log source safely.
- We document the open items, such as correlations or threat intelligence feeds not yet connected, so ownership is clear after handover.
How we support
- Ongoing support is available as a retainer covering OpenSearch upgrades, patch cycles and detection content review.
- Retainers can include periodic testing of detections and access controls, scoped in writing before work begins.
- Before any upgrade, we confirm the target version against the maintenance policy and plan the change in a test environment first.

