Microsoft Sentinel vs Wazuh for AWS CloudTrail logs

For AWS CloudTrail, Microsoft Sentinel is the managed option for teams already on Azure that accept per-GB billing. Wazuh is the self-hosted option for teams that want to read the trail from S3 and run the platform themselves.

On this page

Microsoft Sentinel vs Wazuh for CloudTrail: which team each one fits

Choose Microsoft Sentinel if your AWS accounts feed an Azure-centered security operation, your analysts already work in Microsoft's portals, and you are willing to pay Microsoft for hosted storage and analytics so your team does not run the SIEM platform. Choose Wazuh if CloudTrail data must stay in infrastructure you control, if you have little or no Azure footprint, and if your own engineers can run an indexer, a server and a dashboard. The deciding questions are where the logs may live, which cloud and portal your analysts use, and who will operate the platform after go-live. The general Sentinel vs Wazuh comparison covers the wider picture, so this section only addresses how CloudTrail changes the choice.

A team that already runs Azure should start with the S3 connector, which pulls CloudTrail from S3 through SQS and expects .json files in GZIP format. Microsoft's S3 connector guide recommends a PowerShell script for the AWS-side setup, which may take up to 30 minutes, so settle the trail's output bucket, file format and access before anyone opens a workspace. Confirm you are not depending on the legacy CloudTrail connector, which supports AWS Commercial only and not GovCloud. Model cost early: analytics-tier data is billed per GB or through commitment tiers starting at 100 GB per day, and data kept beyond 90 days is charged at Log Analytics retention prices. Also note that from March 31, 2027, Sentinel runs only in the Microsoft Defender portal, so decide which portal your analysts will use.

A team with no Azure footprint, or one that must keep CloudTrail data inside its own infrastructure, should plan around Wazuh's model. Wazuh reads CloudTrail from your S3 bucket through the aws-s3 module with bucket type cloudtrail, on a schedule such as every 10 minutes. Before go-live, confirm the trail writes to S3, the IAM policy grants s3:GetObject and s3:ListBucket, the AWS credentials are scoped to that bucket, and a Wazuh restart is part of your change process. The server and agents are GPL-2.0 with an OpenSSL linking exception, and the indexer and dashboard are Apache-2.0, so the main recurring cost is the staff time to run the indexer, server and dashboard. Name the person who owns upgrades, storage growth and rule tuning before you choose Wazuh.

How CloudTrail events travel into each SIEM

The diagram starts at the AWS account, where a CloudTrail trail writes log files to an S3 bucket, and the paths split from there. The Sentinel S3 connector receives new-object notifications through SQS and loads events into the AWSCloudTrail table. Wazuh reads the same bucket through the aws-s3 module with bucket type cloudtrail, then sends alerts through the Wazuh server to the indexer and dashboard. The legacy Sentinel connector is a separate API route that calls LookupEvents. Confirm the Wazuh read schedule in your own configuration, since the diagram shows only an example interval.

Both SIEMs read one S3 bucket, while the legacy connector polls the API.

What CloudTrail must have enabled before either SIEM can read it

Both paths start with a CloudTrail trail that writes to an S3 bucket, but Microsoft Sentinel then offers two AWS connectors with different requirements. The legacy CloudTrail connector covers management and data events. The Amazon Web Services S3 connector pulls CloudTrail, VPC Flow, GuardDuty and CloudWatch logs from S3 through SQS, and CloudTrail objects must be .json files in GZIP format. Check a sample object from your bucket against that format before you build the pipeline. Microsoft also recommends a PowerShell script for the AWS-side setup of the S3 connector, which may take up to 30 minutes, so schedule that work with the cloud team. Microsoft's AWS connection guide covers the steps.

On the Wazuh side, the aws-s3 module with bucket type cloudtrail reads the logs from the bucket on a schedule, such as every 10 minutes. The identity Wazuh uses needs an IAM policy that allows s3:GetObject and s3:ListBucket on the trail bucket, along with the AWS credentials the module is configured with. Limit that policy to the trail's bucket and prefix, and store the credentials in the secrets process your team already controls. After you change the configuration, restart Wazuh so the module loads it. Then confirm that a test API call shows up in the dashboard within one schedule cycle. The Wazuh CloudTrail documentation lists the module settings.

The Sentinel legacy connector has limits that affect detection design. The CloudTrail LookupEvents API allows 2 transactions per second and 50 records per query, which can matter for accounts with heavy API activity. The legacy connector supports AWS Commercial only, so it excludes GovCloud, and you should confirm with Microsoft which connector applies to a GovCloud account before you commit. Also ask Microsoft whether any licence tier or workspace setting applies to this source beyond billing. Include whether the move of Sentinel to the Defender portal, which Microsoft schedules for after March 31, 2027, changes the connector options for your workspace. Get those answers in writing before you size the workspace.

How collection, parsing and limits differ for CloudTrail

This table compares how Microsoft Sentinel and Wazuh collect AWS CloudTrail logs, what the AWS side must have enabled, where events land and which limits or costs apply. Read each row as documented behavior, and confirm any cell that points you to the vendor against your own AWS accounts before you design the pipeline. The main takeaway: Sentinel's documented CloudTrail paths carry explicit API limits and a per-GB bill, while Wazuh's S3 path runs on infrastructure you size and operate yourself.

AspectMicrosoft SentinelWazuh
Collection methodS3 connector reads CloudTrail files through SQS. Legacy connector polls the LookupEvents API.The aws-s3 module with bucket type cloudtrail reads log objects from S3 on a schedule.
Source settingsTrail writes to S3. The recommended PowerShell setup script for the AWS side may take up to 30 minutes.Trail writing to S3, an IAM policy with s3:GetObject and s3:ListBucket, AWS credentials, then a Wazuh restart.
File format and API limitsS3 connector needs .json files in GZIP format. LookupEvents allows 2 transactions per second and 50 records per query.Confirm the file format and throughput limits for the S3 module with Wazuh before sizing.
GovCloud coverageLegacy connector supports AWS Commercial only, and GovCloud is not supported. Confirm S3 connector support with Microsoft.Confirm with Wazuh whether the aws-s3 module supports GovCloud accounts and endpoints.
Where events landEvents populate the AWSCloudTrail table in the Sentinel workspace, installed via Content Hub.Events are indexed in the Wazuh indexer, an OpenSearch fork, and viewed in the Wazuh dashboard.
Parsing and rule documentationThe AWS solution is installed from Content Hub. Confirm which CloudTrail analytics rules it includes.Decoders and rules ship in the ruleset, mapped to MITRE ATT&CK. Confirm CloudTrail-specific coverage in your release.
Retention and cost driverIngestion billed per GB or commitment tiers from 100 GB per day, with 90 days retained at no charge (Microsoft Sentinel billing).No license fee for server or agent under GPL-2.0. Storage and indexer sizing set your retention cost.
Portal and retention policyAzure portal support ends March 31, 2027, then Defender XDR retention policies apply in the Defender portal.Self-hosted, so retention and access follow your own policies and storage.

How Microsoft Sentinel and Wazuh each pull CloudTrail from S3

Microsoft Sentinel brings AWS data in through a Content Hub solution and a connector, so most of the work is choosing the connector and completing the AWS-side setup. The S3 connector pulls CloudTrail, VPC Flow, GuardDuty and CloudWatch logs from S3 through SQS, and it expects CloudTrail files as .json objects in GZIP format. The legacy connector reads management and data events through the CloudTrail LookupEvents API, which Microsoft documents at 2 transactions per second and 50 records per query, and it supports AWS Commercial only.

  • Install the AWS solution: Open the Content Hub in your Sentinel workspace and install the AWS solution before you configure any connector.
  • Choose the connector: Use the S3 connector for CloudTrail files in a bucket. Use the legacy connector only if you run AWS Commercial and the LookupEvents limits fit your event volume.
  • Run the AWS-side script: Microsoft recommends a PowerShell script for the AWS-side setup, which may take up to 30 minutes. Review the permissions it creates with your cloud team before you run it in a production account.
  • Confirm the data: Query the AWSCloudTrail table after the connector starts, and check that the trail writes .json GZIP files.

The Microsoft documentation gives the S3 path at a high level, so confirm the exact Content Hub steps and the script's permission scope against the current connector page for your tenant. Also plan for the Defender portal, because Sentinel will no longer be supported in the Azure portal after March 31, 2027. Check the Sentinel AWS connection guide before you start.

What each platform documents for parsing and detections on CloudTrail

Both platforms document a way to get CloudTrail into their detection pipeline, but the documented parts differ in where the events land, how they are parsed and which detections ship with them. The cards below cover the Sentinel tables, connectors and portal changes, the Wazuh ruleset and S3 module, and the checks to run in a pilot before you commit.

AWSCloudTrail table and Content Hub

The Sentinel AWS solution is installed from the Content Hub, and CloudTrail data lands in the AWSCloudTrail table. That table is the anchor for any KQL analytics rule, workbook or hunting query you move over from another SIEM. Confirm which columns your detections read and whether they are populated for the event types you collect. Illustrative check: a rule keyed on a specific identity field should return rows in a pilot workspace before you retire the old rule.

Data connectors reference

Sentinel connector limits

Sentinel documents two AWS connectors. The legacy CloudTrail connector covers management and data events, but its LookupEvents API path allows 2 transactions per second and 50 records per query, and it is documented for AWS Commercial only, so GovCloud accounts need a separate assessment. The S3 connector reads CloudTrail through S3 and SQS, but Microsoft requires .json files in GZIP format and suggests a PowerShell script for the AWS-side setup, which may take up to 30 minutes. Confirm your trail's output format before you choose a connector.

Connect Sentinel to AWS

Defender portal changes detections

After March 31, 2027, Microsoft Sentinel runs only in the Microsoft Defender portal, and the Azure portal stops supporting it. In that portal the Fusion analytics rule is replaced by Defender XDR correlation, and Defender XDR data privacy and retention policies take over from Sentinel's. Any CloudTrail detection that depends on Fusion output, or on a retention period you set in Sentinel, needs review and a retest on the Defender side. Confirm with Microsoft which retention and correlation settings your tenant will inherit.

Sentinel in Defender portal

Wazuh ruleset coverage

The Wazuh ruleset ships over 3,000 built-in rules and decoders, and its alerts map to MITRE ATT&CK. Decoders handle parsing, so the pilot question is whether the decoded CloudTrail fields carry the identity, event name and source address your detections depend on. Built-in coverage will not match every custom event in your estate, so record each gap you find. Then check which ATT&CK techniques the shipped rules cover and write local rules for the rest.

Wazuh ruleset docs

Wazuh S3 module and listing

Wazuh documents CloudTrail as one of its AWS services, listed alongside VPC, GuardDuty, WAF and Security Hub. The aws-s3 module reads CloudTrail from an S3 bucket with bucket type cloudtrail, on a schedule such as, for example, every 10 minutes. Setup needs a CloudTrail trail writing to S3, an IAM policy allowing s3:GetObject and s3:ListBucket, AWS credentials and a Wazuh restart after configuration. Confirm that the IAM scope is limited to the trail bucket and that the polling schedule meets your detection latency.

Wazuh CloudTrail docs

Pilot checks for each side

Documentation shows what each product claims. A pilot shows what your events produce. Replay the same CloudTrail sample into both platforms and confirm that the parsed fields, the sample alerts and the retention settings match your expectations. On the Sentinel side, check the connector choice, the AWSCloudTrail columns and the Defender correlation output. On the Wazuh side, check the decoded fields, the rule matches and the S3 polling delay. Record the results before you sign any contract.

Retention and volume costs for CloudTrail in Sentinel and Wazuh

Microsoft Sentinel bills CloudTrail volume in two places: ingestion and retention. Analytics tier data is billed pay-as-you-go per GB, or through commitment tiers that start at 100 GB per day, so your daily CloudTrail volume decides which model costs less. A commitment tier can only be lowered every 31 days, so a tier bought for a migration window or a short spike keeps costing you for at least that period. Data ingested into the workspace is retained at no charge for the first 90 days. Beyond 90 days, retention is charged at Log Analytics retention prices, which makes the retention period in your CloudTrail design a budget decision. The Sentinel billing guidance sets out the data lake tier separately, which bills ingestion, processing, storage and queries, so a long-term search plan needs its own cost line.

The Wazuh server and agent are licensed under GPL-2.0 with an OpenSSL linking exception, and the indexer and dashboard are Apache-2.0, so the software itself carries no license fee. Your costs sit elsewhere: the hosts that run the indexer, server and dashboard, the disk the indexer needs for CloudTrail events and alerts, the retention settings you choose, and the operator time to run, patch and upgrade the stack. CloudTrail reaches Wazuh through the aws-s3 module with bucket type cloudtrail, read on a schedule such as every 10 minutes. The trail bucket stays in your AWS account, so its storage and request charges are a separate line. Confirm those charges in your AWS billing reports for your expected bucket size and read frequency.

Start by sizing your own CloudTrail event volume per account and region over a representative period, because neither platform's cost is meaningful without that number. Decide whether you need management events only or data events as well, since data events can change volume substantially. Then price each side against the same figure: for Sentinel, the commitment tier that matches your daily volume and the 31-day lowering rule written into your agreement; for Wazuh, the indexer storage for your chosen retention and the hosts to run it. If you may move data out of Sentinel later, confirm the Log Analytics data export option in the Azure Monitor data export documentation for your tables and region. From March 31, 2027, Sentinel runs only in the Defender portal, where Defender XDR retention policies apply, so confirm which retention settings will govern your workspace.

Checking documented limits before a CloudTrail pilot

This sequence turns the documented limits for Microsoft Sentinel and Wazuh into checks you can run before a CloudTrail pilot starts. Each step names the owner, the evidence to gather and the record to keep, so the pilot is judged on your accounts, your event rate and your portal plans. Keep the records together, because they become the scope and sizing input for any quote.

  1. Confirm GovCloud coverage for each connector

    Ask Microsoft, in writing, whether each Sentinel AWS connector you plan to use supports AWS GovCloud accounts. Microsoft documents the legacy CloudTrail connector for AWS Commercial only, so confirm the S3 connector on its own. Ask the Wazuh team for its published position on GovCloud for the aws-s3 CloudTrail module. This step is done when you hold a dated written answer from Microsoft for each connector and one from Wazuh, filed with the pilot scope. If any answer is no or unclear, the pilot stays in commercial accounts.

  2. Check the trail output format

    The engineer who owns the CloudTrail configuration exports a sample trail from the account the pilot will use. Confirm that the files are .json, that they are GZIP compressed and that they land in the S3 bucket the connector will read. Microsoft's S3 connector page states the .json and GZIP requirement, so a trail that writes other formats does not meet it and the export setup must change before the pilot starts. Wazuh's aws-s3 module also reads CloudTrail from S3, and its IAM policy needs s3:GetObject and s3:ListBucket. Record the bucket name, one sample object key and the format check result in the pilot log.

  3. Test LookupEvents limits against your event rate

    If the legacy CloudTrail connector is in scope, the team that owns AWS event volume measures peak event rates for each account and region. Compare those peaks with Microsoft's documented LookupEvents limits of 2 transactions per second and 50 records per query. Averages will not show whether busy periods fall behind, so model the busiest hour. The output is a short calculation showing whether the required query rate stays under the limit across every account in scope. If it does not, the legacy connector cannot cover that scope and the S3 connector becomes the candidate. Record the peak rate, the query design and the pass or fail result.

  4. Run a pilot that records ingestion and cost

    A SOC lead runs a time-boxed pilot in a non-production account, with the Sentinel connector and the Wazuh aws-s3 module reading the same CloudTrail source. On the Sentinel side, log ingested GB per day in the AWSCloudTrail table and the billing view for pay-as-you-go or commitment tier use. Data kept beyond the first 90 days is charged at Log Analytics retention prices, so record how long pilot data is kept. A commitment tier can only be lowered every 31 days, so check the tier before you commit. On the Wazuh side, the platform engineer records indexer disk growth, CPU and query latency for the same window. The step closes with a daily table of volume, cost and indexer load that you can set against your sizing.

  5. Check the March 31, 2027 portal end date

    The product owner compares the roadmap with Microsoft's stated end date. After March 31, 2027, Microsoft Sentinel will no longer be supported in the Azure portal and will be available only in the Microsoft Defender portal. Check the pilot's detections and retention settings against that model, because Defender XDR data privacy and retention policies apply in place of Sentinel's, and the Fusion analytics rule is replaced by Defender XDR correlation. Confirm the expected timing with Microsoft before you commit multi-year plans. Record the roadmap owner's sign-off, a list of detections that depend on Fusion or on Sentinel-specific retention, and the date you last checked Microsoft's guidance.

What hiring help for CloudTrail ingestion involves

How much effort does CloudTrail ingestion take in Microsoft Sentinel?

Sentinel's effort is mostly the AWS-side setup and the choice of connector, and both are documented steps. Microsoft describes a legacy CloudTrail connector and an S3 connector that reads CloudTrail, VPC Flow, GuardDuty and CloudWatch logs from S3 through SQS. The S3 page says CloudTrail files must be .json in GZIP format and recommends a PowerShell script for the AWS-side setup, which may take up to 30 minutes. The legacy connector uses the LookupEvents API, which Microsoft documents at 2 transactions per second and 50 records per query, and its notes list AWS Commercial only, so confirm GovCloud support with Microsoft before choosing it. After the Content Hub solution installs, events land in the AWSCloudTrail table, and your team should confirm that the table fills before tuning detections. Microsoft's AWS connection guide lists the S3 steps.

How much effort does CloudTrail ingestion take in Wazuh?

Wazuh's ingestion step is small, but running the platform underneath it is the larger job. Wazuh reads CloudTrail from an S3 bucket through the aws-s3 module with bucket type cloudtrail, on a schedule such as every 10 minutes. The documented prerequisites are a CloudTrail trail writing to S3, an IAM policy allowing s3:GetObject and s3:ListBucket, AWS credentials, and a Wazuh restart after configuration. The server and agents are GPL-2.0, so there is no license fee, but your team or a partner must install and run the indexer, server and dashboard and keep them patched. Confirm the module steps on Wazuh's CloudTrail page for the release you deploy, since the current 4.x release is 4.14.9.

What does the AWS-side work need from our cloud team?

The cloud team owns the trail, the storage and the identity the SIEM uses, and those decisions should come before any SIEM configuration. Agree the following in writing:

  • A CloudTrail trail that writes to S3, with the accounts and regions in scope listed.
  • An IAM identity with s3:GetObject and s3:ListBucket for Wazuh, or the permissions needed to run Microsoft's PowerShell script for the Sentinel S3 connector.
  • Confirmation that log files are .json in GZIP format, which Microsoft's S3 connector requires.
  • Decisions on bucket retention, encryption, access logging and who can run the setup script with the AWS rights it needs.

Ask the cloud team to review what the script creates before it runs in production, and schedule the change window in advance so the SIEM team is not waiting on approvals.

Can an internal team set up CloudTrail ingestion without outside help?

Yes, for a single account and a team that already runs its SIEM and understands AWS IAM, because both products document the setup steps. The harder parts are multi-account and multi-region coverage, tuning detections so alerts are useful, dashboards, retention design, upgrades across releases and the Sentinel portal change. Microsoft states that Sentinel will be available only in the Defender portal after March 31, 2027, and Defender XDR data privacy and retention policies then apply instead of Sentinel's, which affects retention design if you start now. If the gap is skills rather than hours, a team without SIEM operations experience should plan for it. A fixed-scope engagement with DeployOpen can cover the planned work, with deliverables and timelines agreed in writing before work starts.

How long does a CloudTrail pilot run, and what drives its length?

The pilot length is set in the written scope, because no single duration fits every environment. The only timing Microsoft documents on this path is the AWS-side PowerShell script, which may take up to 30 minutes, and that covers one setup step, not the whole pilot. The main drivers are the number of accounts and regions, whether the trail already exists, how long your cloud team takes to review and approve changes, the log volume and how many days of data you need to tune detections, and whether the pilot overlaps the Sentinel portal transition on March 31, 2027. Ask for milestones and exit criteria in the quote so both sides can see what finishing the pilot means.

What recurs after go-live for CloudTrail ingestion in Sentinel?

The main recurring cost in Sentinel is data billing, which Microsoft charges per GB on pay-as-you-go or through commitment tiers that start at 100 GB per day. A commitment tier can only be lowered every 31 days, so size it carefully before go-live. Data ingested into the workspace is retained at no charge for the first 90 days, and longer retention is charged at Log Analytics retention prices. If you use the Sentinel data lake tier, it bills ingestion, processing, storage and queries separately. Recurring operational work includes rule tuning, connector health checks and handling any Microsoft portal changes. Confirm current rates on Microsoft's Sentinel billing page before sizing your tier.

What should a written quote for CloudTrail ingestion include?

A useful quote lists each piece of work, who performs it and what is excluded, so you can compare offers on the same basis. Ask for:

  • Accounts, regions and log types in scope, including any GovCloud accounts.
  • Which party performs the AWS-side setup and which SIEM tasks stay with your team.
  • The detection content to deploy and tune, with the acceptance test for each.
  • Pilot milestones, exit criteria and the change windows your cloud team must provide.
  • Handover documentation, support or retainer terms and who is responsible for upgrades.

Separate out Microsoft and AWS charges, which you pay directly, and the hosting you provide for Wazuh. DeployOpen does not publish a price list, and its quote follows from the written scope.

Who pays for what in a CloudTrail ingestion project?

You pay the platform and cloud providers directly, and DeployOpen's fee covers only the services in the written scope. Microsoft bills Sentinel ingestion and retention, and AWS bills for the trail and the S3 storage and requests it creates, so confirm those rates with AWS. Wazuh's server and agents carry no license fee under GPL-2.0, so your cost is the hosting, storage and staff time to run it. DeployOpen charges for planning, implementation, integration, hardening, documentation and handover as set out in the scope. Costs rise with log volume, retention length, account count, custom detections and the number of environments tested. Costs fall when the cloud team prepares the trail and IAM before the engagement starts.

How DeployOpen helps onboard CloudTrail into a self-hosted SIEM

DeployOpen implements self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks, so the build path described here is for Wazuh. Most engagements are fixed-scope, so the written scope names the CloudTrail trail, the S3 bucket, the IAM permissions and the detections your team needs. DeployOpen then builds, tests and documents the ingestion path so your security and compliance reviewers can check it themselves.

How we scope

  • Scope is agreed in writing before work starts, covering the trail, bucket and accounts in scope.
  • We record which CloudTrail trails, regions and S3 buckets feed the SIEM, and who owns each.
  • The written scope lists the Wazuh detections and dashboards in scope, plus the documentation and handover items.

How we build

  • We set up the CloudTrail trail to S3 and the IAM policy with s3:GetObject and s3:ListBucket.
  • We configure the Wazuh aws-s3 module with bucket type cloudtrail and a polling schedule your team approves.
  • We restart the Wazuh server after configuration changes and test that CloudTrail events reach the indexer and dashboard.

How we hand over

  • We document the trail, bucket, IAM policy, module settings and rules for reviewers.
  • We prepare the evidence pack your compliance team needs, while independent auditors make any assessment decision.
  • Handover includes operator notes for upgrades, backups and the Wazuh release line your team runs.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, agreed separately from the build.
  • Retainers can be scoped to cover Wazuh upgrades and rule changes as CloudTrail sources and detections evolve.
  • Ask for the support terms, response expectations and any SLA in writing before you sign.

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.