Correlating security findings with the OpenSearch correlation engine

Link findings from different log types into attack stories in self-hosted OpenSearch Security Analytics, using correlation rules, the correlation graph and correlation alerts.

On this page

How the OpenSearch correlation engine links findings into attack stories

The OpenSearch correlation engine in Security Analytics takes findings produced by separate detectors on different log types and links them into one picture of activity that may be an attack. A SOC team whose identity, endpoint and network detectors each fire on their own usually has to open three queues and join the events by hand, often after the window in which the activity mattered has closed. Correlation rules are the part you define: each rule states which findings count as related, across which log types, and in what order or proximity they must occur before the engine records a correlation. The engine does not decide on its own that two events belong together, so the quality of the story depends on the rules you write and the log sources feeding them.

You need correlation when a single detector cannot see the whole sequence. A failed sign-in followed by an unusual process on a laptop and then an outbound connection to a new host is three low-to-medium signals that may be benign alone and significant together. Before enabling correlation, confirm which detectors are active on each log type, that their findings carry the fields your rules reference, and that the timestamps across sources are normalized, because clock skew between log shippers is a common reason a correlation never fires. Review the rules against recent known-good activity to see how often they would link ordinary administrative work, and tighten them before they generate alerts for the on-call analyst.

The engine is part of the Security Analytics plugin, which is released under the Apache License, Version 2.0, so there is no separate paid correlation product to license. The cost is in engineering time: designing rules, mapping fields, testing them and maintaining them as log formats change. Ask your implementation partner or internal team to estimate that effort from your own log sources and detection inventory rather than from a generic figure, and confirm with the OpenSearch documentation which Security Analytics version your cluster runs before you build rules against its current behavior.

From log types to correlation alerts

The diagram starts with log sources that feed log-type detectors in Security Analytics, which raise findings for each log type. Those findings become inputs to correlation rules, which link them into a single attack story. Review the correlation graph to see how findings relate by log type, severity and relevance, then check the Correlations tab of the Alerts page, where correlation-rule alerts appear separately from detector alerts under Findings.

Findings from several log types feed correlation rules that produce separate alerts.

Which correlation approach fits which team

This table compares the main correlation choices in OpenSearch Security Analytics: scope within one log type or across several, investigation through the correlation graph or alerting through correlation rules, and filtering by severity or time window. Read each row for when the option fits a team and where the tuning effort tends to land, then use the takeaway to decide what to build first.

ApproachBest fitMain trade-offTuning effort
Correlation within one log typeTeams starting out who want to confirm that related findings from one source group togetherMisses attack paths that cross identity, network and endpoint sourcesLow to moderate; mainly rule scope and field choices
Correlation across several log typesSOC teams that need to link identity, cloud and network activity into one attack storyDepends on consistent field mappings and timely ingestion from every sourceHigh; mapping gaps and timing differences surface as missed or noisy links
Correlation graph for investigationAnalysts who triage by hand and want to see how findings relate by log type and severityRelies on an analyst to read the graph; nothing pages anyone on its ownLow; mostly ongoing review of which links are meaningful
Correlation rules for alertingTeams that need an alert routed into their queue when a multi-source pattern appearsEach rule must be written, tested and maintained as sources changeModerate to high; rules need regular review against false positives
Severity filteringTeams with high finding volume that want analysts to see high-severity links firstLow-severity steps of a slow attack may be hidden from the first reviewLow; thresholds need periodic adjustment as detectors change
Time window filteringTeams whose attacks typically unfold over minutes, or over days when reviewing historical activityToo narrow a window splits one attack; too wide joins unrelated eventsModerate; windows are tuned per pattern and per log volume
Combined graph and alert reviewMature teams that alert on known multi-source patterns and investigate everything else in the graphTwo workflows to staff and keep consistentHighest; requires agreed handoff rules between alert handling and investigation

Reading the correlation graph and filtering by severity and time

The SOC analyst uses the correlation graph to decide which connected findings deserve attention first. The graph shows findings grouped by log type and severity, with lines between findings that the correlation engine has linked and a view of how relevant each correlation is. An analyst starts from a high-severity node, follows the links to findings in other log types, and checks whether the sequence reads like one activity or a coincidence. Severity and time filters narrow the view so the analyst works on the current shift instead of the full history.

  • Start from severity: Filter to high and critical findings first, then widen only if the story is incomplete.
  • Use the time window: Set the window to the period around the first alert so unrelated older activity does not clutter the graph.
  • Follow cross-log links: A link between an identity log and a network log is usually more useful than several links inside one log type.
  • Check relevance before escalating: A correlation with low relevance may be noise from a shared service account or a scheduled job.
  • Record the story: Note which findings and alerts form the chain so the incident lead receives the same picture.

Before relying on these filters in daily work, confirm in the OpenSearch correlation graph documentation which filter fields are available (for example, severity levels, time range and log type) and whether filters persist between sessions.

Setting up correlation in Security Analytics

This sequence takes correlation from working detectors to a tested attack story and a documented owner. Each step ends with a check so the team knows the correlation layer is ready for daily alert handling.

  1. Confirm log types and detectors produce findings

    The SOC lead or a security engineer checks that each log type you plan to correlate has a running detector and that findings appear on the Findings page. Confirm the log sources are arriving with the fields the detectors expect, and note which log types are silent. Do not start correlation work until every planned source produces findings, because a correlation rule can only link what the detectors have already surfaced. Done when each in-scope log type shows recent findings with the expected severities.

  2. Define correlation rules for each attack story

    The detection engineer writes one correlation rule per attack story, naming the log types and findings that should link together and the time window in which they count as related. Keep the first set small, such as one identity story and one network story, so the team can test each rule in isolation. Record the intended story in plain language next to each rule so reviewers can check the logic later. Done when every rule is saved, enabled and listed under Correlations with its log types and window.

  3. Verify findings appear in the correlation graph

    The engineer opens the correlation graph and confirms that findings from each log type appear as nodes, grouped by log type and severity, with edges where a rule links them. Check that the relevance shown for linked findings matches what the rule was meant to connect. If a log type is missing, return to the detector check before changing the rule. Done when the graph shows the expected nodes and links for the existing findings, with no unexplained gaps.

  4. Filter the graph by severity and time

    The engineer applies severity and time filters to the graph to confirm they narrow the view as intended, and that a sensible window keeps unrelated findings out of a story. Test a time range that includes a known event and one that excludes it, then compare what appears. Adjust the window in the rule if unrelated findings link together. Done when filtered views show only the findings the story should contain for the chosen period.

  5. Run a test attack story with illustrative data

    Using a lab or staging index, the engineer replays illustrative events that follow one multi-step path, such as a failed login sequence followed by an unusual network connection. The events should match the fields and log types the rules use, and they should be labeled as test data in the index and in the test notes. Watch the graph and the Correlations list for the expected linked findings. Done when the test story produces the linked findings and a correlation alert, and the team has recorded the events and the outcome.

  6. Check correlation alerts under Correlations

    The engineer confirms that correlation-rule alerts appear under Correlations, separate from detector alerts under Findings, and that each alert names the rule and the linked findings. Check that the test alert reaches the notification route the SOC uses and that it is not duplicated by the detectors. Confirm the alerts can be filtered and opened from the Alerts page. Done when the test alert is visible in the correlation view and in the SOC notification path, and the team has removed or closed the test artifacts.

  7. Document ownership and change control

    The security operations lead records who owns each correlation rule, who reviews changes, which log types it depends on, and how a rule is disabled if a source breaks. Store the rule definitions, the test story and the expected graph in version control or the team's document system. Agree how the team will confirm correlation health after each detector or log source change. Done when every active rule has a named owner, a dependency list and a recorded test result that a new team member can follow.

Security and access considerations for correlation data

Correlated findings combine events from several log types into a single picture of an attack, so they often reveal more than any one log does. Access, change tracking and transport security should be planned for that combined view, not only for the raw logs underneath it.

Who can view correlated findings

A correlation graph shows findings by log type and severity and how they relate, so a user who can open it can read a summary of activity across identity, network and endpoint logs. Map which roles may open the Security Analytics views and which may only see the findings they are assigned. Test the role with a non-admin account before go-live, because a correlation view built by an administrator may look correct while exposing more than intended.

OpenSearch security docs

Document-level security on analytics indices

Document-level security limits which findings a role can read inside the same index, which matters when one SOC team should see only certain log sources or business units. Confirm that the index patterns used by Security Analytics findings and alerts are covered by the role filters you define. Check that correlation results built from restricted sources do not reveal the restricted fields through summaries or alert titles.

Field-level security and masking

Log events often carry usernames, IP addresses, email content or query strings that a responder needs for some cases but not for others. Field-level security and field masking let you hide those values from roles that only triage alerts. Decide which fields a cross-log story must show, then test that masked fields do not reappear in correlation alert details or exported findings.

Audit logs for rule and graph changes

A correlation rule that is edited or disabled can silently change which attack stories are produced, so changes need a record. Enable the OpenSearch Security audit logs and confirm they capture changes made through the Security Analytics interface and API. Review who changed correlation rules, when, and whether the change was approved, and keep those logs outside the cluster they describe.

TLS for node and client traffic

Correlation queries move findings between nodes and out to dashboards and alerting integrations, so unencrypted traffic exposes both raw log content and the attack narrative. Enable TLS for node-to-node and client traffic, and verify that every client, including log shippers and notification endpoints, connects over TLS with certificates your team manages. Ask the team to confirm certificate rotation is documented before the SIEM goes live.

Sensitivity of cross-log attack stories

A correlated story can point to a specific user, host and sequence of actions, which makes it more sensitive than any single event. Classify correlated findings at least as high as the most sensitive log type they draw on, and set retention and export rules for them. Ask legal and compliance owners to confirm who may receive these stories outside the SOC, including incident case tools and external responders.

Questions teams ask before correlating findings

How much effort does it take to build correlation rules?

Effort depends mostly on how many log types you correlate and how well each one is already normalized into detectors and findings. A first correlation rule that links two log types that already produce clean findings is a small, contained task. Effort grows with each added log type, because the team must confirm the field mappings, check that each detector fires on real events, and agree on what a meaningful link between two findings looks like. Ask any partner to break the work into rules, log types and tuning passes so you can see where the hours go.

What does the work need from the SOC and the platform team?

The SOC supplies the attack stories that matter, the severity thresholds it trusts and the triage habits that a correlation alert must fit into. The platform team supplies the cluster, the Security Analytics configuration, access to the log sources and the change process for rule updates. Both teams need to review alerts during tuning, because a rule that looks correct on paper can flood the queue with noise. Agree on an owner for each correlation rule before the build starts, or rules will drift once the original builders move on.

Can our own team build correlation rules without outside help?

Yes, if the team already runs detectors in OpenSearch Security Analytics and has engineers comfortable with the query and mapping model. The correlation graph and the Alerts page under Correlations make it possible to inspect results without new tooling. Teams usually struggle less with the interface than with deciding which links are worth alerting on and proving that the rules do not create false stories. Outside help tends to pay off when the team lacks SIEM detection experience or when the rules must be reviewed for an audit.

How is the cost of a correlation project driven?

The OpenSearch Apache 2.0 license and the FAQ's lack of a paid edition mean the software itself carries no license fee. Cost therefore comes from labor and infrastructure. Labor covers design, rule writing, testing and tuning, plus the ongoing review that keeps rules current. Infrastructure covers the extra storage, compute and retention needed for the log types you correlate. Ask for a quote that separates one-time build work from recurring tuning and platform costs, and that lists the log types and rule count it assumes.

What drives the time a correlation rollout takes?

The biggest time drivers are the number of log sources that must be healthy before correlation works, the quality of existing detections, and how many people must approve the alert logic. Normalizing a new log source can take longer than writing the rule itself. Tuning against live traffic adds time because noisy links need adjustment before anyone trusts them. Scope the first release to a small set of attack stories so you can measure alert quality before you expand.

When should we bring in an outside partner for correlation?

Bring in a partner when the team needs correlation rules quickly, lacks people who have built SIEM detections before, or must show that the rules were designed and tested for an assessment. DeployOpen implements and hardens open-source platforms in infrastructure the client controls, and most engagements are fixed-scope with scope and deliverables agreed in writing before work starts. A written scope lets you compare outside help with building the capability in-house.

Do correlation rules help with compliance evidence?

Correlation rules can support evidence of monitoring and alert handling, but they do not create compliance on their own. Auditors look at the controls, the records of alerts and the process for reviewing them. DeployOpen prepares systems, controls and evidence for compliance assessments but does not issue audit reports or certifications. Confirm with your assessor which records they expect, such as rule change history and alert disposition, before you design the logging around them.

Operating correlation rules after go-live

The correlation engine stays useful only if someone owns its rules after launch. Each correlation rule links findings from two or more log types, so a change to any upstream log source can quietly break a link. When a log type gets a new field name, a parser changes, or a source stops sending events, the rule may keep running without matching anything. Review the correlation graph on a fixed schedule and check that each rule still produces findings from every log type it names. Treat a rule that stops firing as a defect to investigate, not as proof the environment is quiet.

Correlation alerts appear under Correlations on the Alerts page, separate from detector-generated alerts under Findings, so assign a clear owner for each queue. Use the same triage workflow your SOC applies to other alerts: acknowledge, group by severity, and hand confirmed incidents to your case tool. Record which correlation rules produce noise, and whether the noise comes from one log type dominating the links. Tuning changes should be reviewed against a sample of past alerts before they go live, because a severity or time window change affects every alert the rule generates afterward.

Put every rule change under change control. Keep rule definitions in version control or an exported, dated record, with a named reviewer, a reason, and a rollback step. Track the Security Analytics and OpenSearch versions alongside the rules, since an upgrade can change how detectors and rules behave. Under the OpenSearch maintenance policy, a version in maintenance receives bug fixes and security patches but no new features, so plan upgrades before a version leaves maintenance. Confirm the current end-of-maintenance dates on the OpenSearch releases page and test each upgrade against your saved correlation rules in a non-production cluster first.

How DeployOpen scopes and delivers correlation work

DeployOpen plans, builds, documents and supports correlation in OpenSearch Security Analytics inside infrastructure you control. Each engagement starts from a written scope that names your log types, the attack stories you need to see and the alert paths your SOC will use.

How we scope

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • The written scope lists the log types, detectors and correlation rules that will be linked into attack stories.
  • Scope records who receives correlation alerts and which severity and time filters the SOC will use.

How we build

  • We configure correlation rules across the agreed log types and check that each linked finding carries the expected fields.
  • We test correlation rules with replayed or sample events and record which attack stories each rule should produce.
  • We review the correlation graph with your analysts to confirm severity groupings and relationships match how they investigate.

How we hand over

  • You receive documentation of each correlation rule, its linked log types, its test cases and its expected alert output.
  • Runbooks explain how analysts move from a correlation alert on the Alerts page to the underlying findings.
  • Handover includes a retest of the rules after tuning, so your team knows which changes were verified.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Retainers can cover rule tuning as log sources change, OpenSearch version upgrades and periodic retesting.
  • Ask any provider to confirm in writing how correlation rules are versioned and reviewed under your change control.

Sources and further reading

Talk to our team.

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

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