Wazuh vs OpenSearch for Microsoft 365 logs

Wazuh pulls Microsoft 365 audit logs through an office365 module on an agent, which needs an Azure app registration. OpenSearch's m365 log type supplies detection field mappings but documents no collection method, so you must confirm how events reach it.

On this page

Wazuh vs OpenSearch for Microsoft 365 logs: which fits your tenant

A team that must get Microsoft 365 audit events into a SIEM will decide on collection first. Wazuh documents a collector for these audit feeds, while OpenSearch documents detection mappings but no collector. Wazuh fits when you want an agent-based collector and a ruleset in one product. Its office365 module pulls audit logs from the Office 365 Management Activity API for Audit.AzureActiveDirectory, Audit.Exchange, Audit.SharePoint, Audit.General and DLP.All, and the Wazuh repository ships an office365 rules file to interpret those events. Choose this path if you have no Microsoft 365 collection pipeline today and want the agent, server and rules to come from one codebase. The server and agent are GPL-2.0 licensed, so confirm that position with your legal team before you standardize on it.

OpenSearch fits when your team already runs a collection pipeline and wants Sigma-based detections. OpenSearch Security Analytics matches ingested logs against prepackaged or custom Sigma rules and correlates findings across log types. Its m365 log type supplies field mappings for records such as security events and access control activity, but those mappings describe events you have already ingested. The pipeline that pulls from the Management Activity API, the Azure app registration and its permissions remain your responsibility. Before you commit, check that your pipeline's field names match the mapping, and confirm that your app registration grants the ActivityFeed.Read permission with a client secret, the same requirement Wazuh's setup documents. OpenSearch is Apache-2.0, and its FAQ does not describe a paid edition, so confirm current licensing terms with your procurement team before you plan support contracts.

Two details shape the decision. The Wazuh indexer is an open source fork of OpenSearch, so both options share a search lineage, and the real question is who assembles the collection and detection layers. Wazuh's documentation recommends enabling the module on only one agent to avoid duplicate logs, so name the owner of that endpoint and plan for its availability, because collection stops if that host goes down. Run a short test before you decide: enable the module in a non-production tenant, confirm that events from each audit category arrive, and compare the resulting alerts with the Sigma output from your pipeline. The general platform comparison between the two products has its own page, so this section stays on Microsoft 365 collection and detections.

How collection, licensing and detections compare for Microsoft 365 logs

This table compares how Wazuh and OpenSearch handle Microsoft 365 audit logs, from collection and source setup through licensing, parsing, detections and documented limits. Read each row as a question for your own tenant. Wazuh ships a documented collector and rules, while OpenSearch documents no collection method for this log type, so the main takeaway is that Wazuh brings the collector and detection content, and OpenSearch brings a detection engine and field model that your team must feed.

RowWazuhOpenSearch
Collection methodThe office365 module pulls audit logs from the Office 365 Management Activity API, covering five audit and DLP feeds.No collection method is documented for this log type. Plan to build the path that delivers records to OpenSearch.
Source configurationAzure app registration with the ActivityFeed.Read permission and a client secret. Enable the module on one agent only to avoid duplicate logs.The m365 log type lists record types such as security events and access control activity. Source setup is not documented, so confirm it with OpenSearch.
LicenceServer and agent under GPL-2.0 with an OpenSSL linking exception. Indexer and dashboard under Apache-2.0.Apache-2.0 across the project. The OpenSearch FAQ does not describe a paid edition.
Current release lineWazuh 4.14 line, with 4.14.9 released on October 14, 2026.OpenSearch 3.9.0, released September 29, 2026. The 2.19 line still received 2.19.6 on July 6, 2026.
ParsingThe ruleset includes an office365 rules file. The server applies its decoders and rules to incoming agent data.The m365 log type supplies field mappings that detection rules use. Confirm who maps raw records into those fields in your pipeline.
DetectionsOffice 365 rules ship within the ruleset of over 3,000 built-in rules and decoders mapped to MITRE ATT&CK.Security Analytics matches logs against prepackaged or custom Sigma rules, records findings and correlates across log types.
Retention and documented limitsRetention is set by your indexer storage and policy. Confirm documented collection limits for the Management Activity API before sizing.Retention and collection limits are not documented for this log type. Confirm both before committing.

What Microsoft 365 must have enabled before either SIEM sees events

Wazuh's source-side setup starts in the tenant and in Azure. Its office365 module pulls audit logs from the Office 365 Management Activity API, and the documented setup needs an Azure app registration with the ActivityFeed.Read permission and a client secret. The module targets five audit content types: Audit.AzureActiveDirectory, Audit.Exchange, Audit.SharePoint, Audit.General and DLP.All. Each content type only produces events if the tenant has that audit content enabled, so list the types the team needs and confirm each one is on before configuring the module. Wazuh also recommends enabling the module on one agent only, to avoid duplicate logs. The supplied facts do not state license tier requirements or audit retention settings, so confirm both with the Microsoft 365 administrators before the build starts.

OpenSearch starts from a different place. Its Security Analytics documentation lists an m365 log type covering records such as call details, performance data, SQL Server events, security events and access control activity, and it supplies the field mappings that detection rules use. The same documentation does not describe an agent or a collection method, so the team must work out how Microsoft 365 records reach the cluster. Map each record family in the m365 log type to a feed the tenant actually produces, and confirm the organization has enabled that feed. Note which feeds have a mapping and which do not, so detections are not written against fields that never arrive. Ask who will build and maintain the collector, since that decision sets how much of the work falls to the internal team.

How each platform collects Microsoft 365 audit logs

Wazuh ships an office365 module that pulls audit records from the Office 365 Management Activity API for five content types: Audit.AzureActiveDirectory, Audit.Exchange, Audit.SharePoint, Audit.General and DLP.All. Most of the setup is identity work in your Microsoft 365 tenant before any Wazuh configuration begins. The ruleset also includes an office365 rules file, so parsing and alerting follow once events arrive.

  • App registration: Create an Azure app registration that the module will use to read the activity feed.
  • ActivityFeed.Read permission: Grant the app the ActivityFeed.Read permission for the Management Activity API.
  • Client secret: Generate a client secret for the app and record who owns its rotation before deployment.
  • Content types: Select which of the five content types to collect, and map each one to the detections that depend on it.
  • One agent only: Enable the module on a single agent, because Wazuh recommends this to avoid duplicate logs.

Confirm the app permission, secret ownership and the single enabled agent with your Microsoft 365 administrator before the first poll, using the Monitoring Office 365 audit logs guide as the reference for your tenant's current settings.

How Microsoft 365 events flow into each SIEM

The flow starts at the Microsoft 365 Management Activity API. On the Wazuh side, the office365 module runs on an agent, and Wazuh recommends enabling it on only one agent to avoid duplicate logs. The Wazuh server then applies decoders and rules, the indexer stores the resulting alerts, and the dashboard presents them. The OpenSearch branch starts with a collection step that the supplied sources do not document, so confirm that path before planning. Once events reach an index with m365 field mappings, Security Analytics applies Sigma rules. Check the collection path first, because it determines who installs, runs and maintains ingestion.

Wazuh collects through its own agent module; OpenSearch's collection path needs confirming.

What detections each platform documents for this source

Wazuh ships rules that run on its server against decoded events, while OpenSearch Security Analytics pairs log type field mappings with prepackaged or custom Sigma rules. The cards separate what is documented for Microsoft 365 from general coverage, and they flag the figure you need to confirm yourself: how many rules apply to Microsoft 365 on each side.

Office365 rules file in Wazuh

The Wazuh ruleset in its GitHub repository includes an office365 rules file, the first place to look for Microsoft 365 alert logic on the Wazuh side. Because the rules are in a file you can open and read, your team can review each rule against the Management Activity API audit categories you enable, including Audit.AzureActiveDirectory, Audit.Exchange, Audit.SharePoint, Audit.General and DLP.All. Check which rules fire for each category, and confirm whether any category you need has no matching rule before you rely on the alerts.

Wazuh ruleset source

Built-in rules and MITRE mapping

The Wazuh ruleset ships over 3,000 built-in rules and decoders and maps alerts to MITRE ATT&CK. This is general coverage across the sources Wazuh parses, so it does not tell you how many rules apply to Microsoft 365 specifically. Read the MITRE ATT&CK mapping as a label on each alert, and test with sample Microsoft 365 events to confirm which techniques actually produce an alert in your environment.

Wazuh ruleset docs

OpenSearch m365 field mappings

OpenSearch Security Analytics includes an m365 log type covering records such as call details, performance data, SQL Server events, security events and access control activity. Its log types supply field mappings that detection rules depend on, but they do not describe an agent or collection method. Your team must build or obtain the pipeline that delivers Microsoft 365 events into fields matching the mapping, then confirm which mapped fields your data actually populates.

M365 log type reference

Sigma rules and cross-log correlation

Security Analytics matches ingested logs against prepackaged or custom Sigma rules, records the findings, and correlates them across log types. That lets OpenSearch serve as a SIEM backend without a separate product, but the Sigma rule set you run determines Microsoft 365 coverage. Check which prepackaged rules apply to the m365 log type, write custom Sigma rules for the audit actions you care about, and test that correlation works with the other sources you ingest.

Security Analytics docs

Confirm rule counts per source

Neither side gives a per-source rule count for Microsoft 365 that you can cite, so counting rules will not settle the comparison. Ask each vendor for the rule list covering the Microsoft 365 content types you enable, then review coverage for each one: Audit.Exchange, Audit.SharePoint, Audit.AzureActiveDirectory, Audit.General and DLP.All. Record which categories have no matching rule on either side, since those gaps shape the risk you carry.

How retention and volume shape a Microsoft 365 deployment

Retention and event volume for Microsoft 365 depend on your tenant and on what you enable, so this page does not give a figure for either platform. The first driver is the number of audit content types you collect. Wazuh's office365 module reads Audit.AzureActiveDirectory, Audit.Exchange, Audit.SharePoint, Audit.General and DLP.All from the Office 365 Management Activity API, and each content type adds its own stream of events. The second driver is the audit retention your own tenant keeps, which limits how much history exists to collect and how far back a backfill can reach. Confirm both before you agree on a design. The setup steps are in Wazuh's Microsoft 365 audit log monitoring guide.

Where alerts are stored is the second question to settle. In Wazuh, the indexer stores alerts, so alert volume draws on the same disk and shard budget as the event history you keep, and the indexer must be sized for both. OpenSearch works differently. Its Security Analytics m365 log type supplies field mappings for detection rules but does not describe a collection method, so you choose the collector, the index layout, the retention policy and the storage budget yourself. Duplicate collection is the easiest volume mistake to make in Wazuh. Wazuh recommends enabling the module on only one agent to avoid duplicate logs, because a second agent pulling the same feed doubles the events for every content type you enable. Check which hosts run the module before you tune anything else.

Get the numbers from the teams that own them before you size anything. Ask your Microsoft 365 administrators which audit content types are enabled, what audit retention the tenant applies, and whether another connector already pulls the same feed. Ask Wazuh, or the platform team that will run the OpenSearch cluster, for the retention they plan to hold and the event volume they expect per content type, and get those assumptions in writing. Then measure. Run the collector against a pilot group or a test tenant over a period that covers normal and busy activity, record events per day for each content type, and size the Wazuh indexer or OpenSearch cluster from that measured volume, adding retention and headroom on top. Resizing a live indexer later is harder than sizing it correctly at the start.

What to confirm before go-live with Microsoft 365 logs

This sequence sets out what a team confirms before Microsoft 365 audit logs feed detections. Steps one to five follow the Wazuh office365 path from Azure app to tested rules, and the final step covers what to confirm on the OpenSearch side. Each step closes with a named record or check that an auditor or reviewer can look at.

  1. Register the Azure app and store its secret

    A tenant administrator registers an application in Azure and grants it the ActivityFeed.Read permission for the Office 365 Management Activity API, which the Wazuh office365 module needs. The team then creates a client secret and records a named owner and a rotation plan for it in its secrets register, because the module setup depends on that secret. The step is done when the app registration, the granted permission, the secret owner and the rotation plan are all written down and a reviewer can trace each one to an approved change record.

  2. Choose which audit content types to enable

    The team decides which of the five content types the module pulls: Audit.AzureActiveDirectory, Audit.Exchange, Audit.SharePoint, Audit.General and DLP.All. Each enabled type adds a stream of events to the indexer and to the rule coverage the team must test, so enable only the types that have a named detection owner. The Microsoft 365 administrator confirms that auditing is turned on for each chosen workload. The step is done when the approved list is recorded in the change ticket and matches the module configuration.

  3. Pick one agent to host the office365 module

    Wazuh recommends enabling the office365 module on only one agent to avoid duplicate logs, so the team names a single host and records the choice in its runbook or asset inventory. The chosen agent should stay online and have outbound access to the Microsoft endpoints the API calls need, which the network team confirms in writing. The step is done when the runbook names the host, its owner and the conditions under which the module would move, with a note that enabling it on a second agent is outside the approved design.

  4. Check the indexer for duplicate Microsoft 365 events

    After the module has run long enough to produce test events, the team searches the Wazuh indexer through the dashboard for Microsoft 365 events and looks for repeated records with identical content. Repeated records can point to a second agent running the module or to the same tenant being configured twice, so the team traces the source agent for each event before continuing. The step is done when a saved search shows one source agent for each Microsoft 365 event type and the team has written down the query it used.

  5. Test the office365 rules file against sample events

    The office365 rules file ships in the Wazuh ruleset, so the team loads that file into a test environment and runs sample Microsoft 365 events through it, covering each content type enabled in step two. The tester confirms that expected alerts fire, that rules match the decoded fields they depend on, and that rules do not fire on ordinary administrative activity they were not written to cover. The step is done when the sample events, the results and the ruleset version used are saved with the change record.

  6. Validate OpenSearch collection, authentication and mapping

    The OpenSearch m365 log type supplies field mappings for detection rules, but it does not describe an agent or a collection method, so the team must choose and document its own collector before any detection is trusted. The team confirms the collector design, how it authenticates to Microsoft 365, and that the ingested fields map to the m365 log type as each detection expects. The step is done when a named owner signs off a test run in which expected events arrive, fields match the m365 mapping and each detection has passed against sample events.

What buyers ask before hiring help with Microsoft 365 log collection

How much effort does Microsoft 365 log collection take with Wazuh?

Effort depends mainly on how many Microsoft 365 content types you collect and how much Azure setup sits in front of them. The documented Wazuh office365 module pulls five content types: Audit.AzureActiveDirectory, Audit.Exchange, Audit.SharePoint, Audit.General and DLP.All. Each additional type adds configuration to build, test and review. The Azure side is shared work: an app registration, the ActivityFeed.Read permission and a client secret must exist before any agent can pull data. With OpenSearch, the Security Analytics m365 log type supplies field mappings for detection rules, but the ingestion path is work you design and maintain yourself. Ask any provider to split the written scope into Azure work, agent work and pipeline work so you can see where the effort sits.

How long does Microsoft 365 log collection setup take?

No duration applies until the scope is written, so treat any number you hear before that as a guess. Timing follows the same drivers as effort: the number of content types, how quickly your Azure administrators can register the app and approve its permission, and how many agents or pipelines are involved. For fixed-scope work, DeployOpen agrees scope, deliverables and timelines in writing before work starts, and the quote follows from that scope. Ask for milestones tied to observable steps, such as audit settings confirmed in the tenant, app registration and approval complete, one agent reporting events, and detections verified against test activity. Also ask which steps depend on your approvals and change windows, since those can set the calendar as much as the technical work does.

What does Microsoft 365 log collection need from my team?

Your team usually provides the access, approvals and decisions that collection depends on. Expect to supply:

  • An Azure or Entra administrator who can register the app and approve the ActivityFeed.Read permission in your tenant.
  • Confirmation of which Microsoft 365 audit logs are enabled, and the name of the person who owns that setting.
  • A named owner for the client secret, including where it is stored and how it rotates.
  • A host for the agent with a network path to Microsoft's endpoints, approved by your network team.
  • A reviewer who decides which alerts matter and who handles them.

Confirm the exact list in the written scope before work starts, since the split between your team and the provider determines who waits on whom.

Can our own staff set up Microsoft 365 log collection?

Possibly, if your team already runs Wazuh and has an Azure administrator who can register the app. The documented setup centers on the Wazuh agent and the Azure app registration, so a team with both skills will recognize most of the work. Gaps usually appear in three places: tenant audit settings, the lifecycle of the client secret, and the OpenSearch pipeline if you choose that route. Wazuh recommends enabling the module on only one agent to avoid duplicate logs, so someone must own that decision and check it after changes. If one gap exists, a fixed-scope engagement can cover that part alone, with scope and deliverables agreed in writing before work starts. Your team then keeps the parts it already runs well.

What drives the cost of Microsoft 365 log collection help?

Cost follows scope. The main drivers are how many content types you collect, how complex the Azure access and consent path is, where the agents run, who owns the client secret, and whether OpenSearch needs a pipeline built. DeployOpen does not publish a price list, and a quote follows from the written scope. Ask for line items for each component: Azure app registration and permission review, agent deployment and testing, any OpenSearch pipeline and parsing work, detection verification, and handover documentation. Some costs recur, such as secret rotation, upgrades and any retainer for ongoing support or continuous testing, so ask which items are one-time and which recur. Confirm separately which Microsoft licenses your tenant already holds for the audit features you need, because that cost sits outside any services quote.

Does OpenSearch need a custom pipeline for Microsoft 365 logs?

Plan to build one. The OpenSearch Security Analytics m365 log type covers records such as security events and access control activity, and it supplies field mappings for detection rules. Its documentation does not describe an agent or collection method, so something must pull the audit data, map fields to the log type and handle retries and duplicate events. The Wazuh documentation, by contrast, describes an office365 module that pulls the audit feeds, and the Wazuh ruleset includes an office365 rules file. You still review those rules and alerts. Ask any provider which parts they will build, which they will configure, and how they will prove that events arrive complete. Start with the OpenSearch m365 log type reference to see which fields your detections will need.

Who should own the client secret for Microsoft 365 log collection?

Name one accountable owner inside your organization, usually the team that holds the Azure app registration, and record who can rotate the secret. The Wazuh setup requires an app registration with the ActivityFeed.Read permission and a client secret, and that secret allows the collector to read the activity feed, so treat it as a production credential. Agree who creates it, where it is stored, how and when it rotates, and who gets notified when an agent fails after a rotation. A service provider can build the setup, but the secret should stay under your control, with access logged and reviewed. Ask the provider to show where the secret sits on each agent and which accounts can read it. Confirm the storage and rotation options in the Wazuh documentation for your version before you accept the handover.

How DeployOpen helps with Microsoft 365 log onboarding

DeployOpen scopes, builds and hands over the Microsoft 365 log path for either platform, inside your own infrastructure. The written scope fixes which audit content types, collectors and detections are in and out, so the Wazuh and OpenSearch options are compared on the same evidence.

How we scope

  • Fix which Microsoft 365 audit content types are in scope, such as Exchange, SharePoint, Azure Active Directory and DLP.
  • Record the Azure app registration, the ActivityFeed.Read permission and who owns the client secret before build starts.
  • Most engagements are fixed-scope, so deliverables and timelines are agreed in writing before work starts.

How we build

  • Enable the Wazuh office365 module on one agent only, to avoid duplicate events from the same tenant.
  • For OpenSearch, the collector and ingest path are scoped as custom work since its m365 type supplies mappings only.
  • Test the Wazuh office365 rules and detections against audit events from a test tenant before production use.

How we hand over

  • Document the app registration, permissions, module settings and the agent chosen to pull Microsoft 365 events.
  • Record known limits of each collection path so your team can see which coverage gaps remain.
  • Hand over runbooks for rule tuning, upgrades and credential rotation for the Azure client secret.

How we support

  • Retainers cover ongoing support, upgrades and continuous testing after handover, if your team wants them.
  • Agree in the written scope how Wazuh ruleset updates and Microsoft 365 schema changes are retested.
  • Include a retest of collection and detections after changes to the tenant or the agent.

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.