Wazuh or OpenSearch for AWS CloudTrail logs: which fits your team
Choose Wazuh if you want AWS CloudTrail pulled from an S3 bucket into a packaged SIEM with its own ruleset and dashboards. Choose OpenSearch if your team is ready to build the S3 pipeline and write the Sigma detections itself. The deciding question is who builds collection and detections. Wazuh's indexer is an open source fork of OpenSearch, so the storage layer is familiar in both cases, but the work above it differs: Wazuh ships the S3 reader module, the decoders and the dashboards, while OpenSearch leaves those jobs to your team. This section covers CloudTrail only. The general comparison of the two platforms lives on its own page, so read that first if you are still deciding between the two categories.
On the Wazuh side, the aws-s3 module with bucket type cloudtrail reads trail files from your bucket on a schedule, such as every 10 minutes. Before you configure it, confirm three source-side prerequisites: a CloudTrail trail that writes to S3, an IAM policy that grants s3:GetObject and s3:ListBucket on that bucket, and AWS credentials the Wazuh server can use. Apply the configuration and restart Wazuh. Confirm any extra requirements for bucket encryption or cross-account delivery in the Wazuh documentation and in your own AWS account before go-live. Once events arrive, run a few known actions in a test account, such as a console sign-in and an IAM policy change, and check that the alerts carry the fields you expect. Wazuh's ruleset includes over 3,000 built-in rules and decoders mapped to MITRE ATT&CK, so early effort goes mainly to tuning existing rules and suppressing noise. Check the rule list for your Wazuh version against the events your security team actually needs to see. Wazuh's AWS CloudTrail page lists the supported setup.
On the OpenSearch side, Security Analytics includes a cloudtrail log type that monitors AWS CloudTrail events and can ingest CloudTrail data from Amazon S3 and Amazon Security Lake accounts. The log type supplies field mappings for detection rules but does not describe a collection method, so your team chooses and runs the pipeline that moves objects from S3 into the index. A Data Prepper S3 source is one documented option, but you own its permissions, retries, scaling and failure alerts. Detections are Sigma rules, prepackaged or custom, and your team writes, imports and tunes them. Before committing, ask who will maintain the pipeline after launch, who owns rule tuning, and whether the team can test a rule end to end against a known CloudTrail event. If those owners are not named yet, the packaged Wazuh path leaves fewer open jobs to staff.
How each path differs at every CloudTrail step
This table compares each step of a CloudTrail pipeline, from collection through storage, for Wazuh and OpenSearch. Read the Wazuh column as a packaged path with S3 polling configured on the Wazuh side and built-in rules, and the OpenSearch column as a backend whose CloudTrail support is a log type you wire into your own ingestion. Where the documentation is silent on a dashboard, limit or agent, the cell says so and names what to confirm.
| Step | Wazuh | OpenSearch for CloudTrail |
|---|---|---|
| Collection method | The aws-s3 module with bucket type cloudtrail polls the S3 bucket on a schedule, such as every 10 minutes. | Security Analytics ingests from S3 and Amazon Security Lake accounts. No agent or collection method is described; confirm the pipeline. |
| What the source needs | A CloudTrail trail writing to S3, an IAM policy allowing s3:GetObject and s3:ListBucket, AWS credentials, and a Wazuh restart. | CloudTrail data in S3 or a Security Lake account, plus the ingestion permissions your pipeline needs. Confirm the exact IAM actions. |
| License | Server and agent under GPL-2.0 with an OpenSSL linking exception; indexer and dashboard under Apache-2.0. | Apache-2.0 for the project; the OpenSearch FAQ describes no paid edition. |
| Parsing and field mapping | Wazuh decoders and rules process the events; confirm the CloudTrail decoder fields in your release. | Log types supply field mappings that detection rules use. You map fields for any custom ingestion path. |
| Detections | A built-in ruleset across more than 3,000 rules and decoders, with alerts mapped to MITRE ATT&CK. Confirm CloudTrail coverage. | Sigma rules, prepackaged or custom, match events and record findings that can correlate across log types. |
| Dashboards | The Wazuh dashboard is the web interface for alerts. No CloudTrail-specific dashboard is described; confirm before relying on one. | OpenSearch Dashboards, derived from Kibana 7.10.2. No CloudTrail dashboard is described; confirm what ships. |
| Storage and retention | The indexer stores alerts for search and analytics. Set retention on the indexer and confirm archive options for your data. | Storage is the cluster you run, with retention set by your own index settings. Confirm sizing and archive steps. |
| Documented limits | Events are read on each poll, not streamed. A restart is required after configuration. Confirm lag and volume limits. | Confirm supported CloudTrail event types, Security Lake prerequisites and any ingestion volume limits with OpenSearch. |
| Current release line | 4.14.9, released October 14, 2026. Wazuh 5.0.0 release candidate published October 5, 2026. | 3.9.0, released September 29, 2026. Line 2.19 received 2.19.6 on July 6, 2026. |
What the AWS CloudTrail source needs enabled before either SIEM reads it
Before either SIEM reads a CloudTrail trail, the trail has to write to an S3 bucket that the SIEM's identity can reach. For Wazuh, the documented setup requires a CloudTrail trail that writes to S3, an IAM policy allowing s3:GetObject and s3:ListBucket, and AWS credentials that the Wazuh server uses to call the bucket. The Wazuh server reads the bucket through the aws-s3 module with bucket type cloudtrail, on a schedule such as every 10 minutes. Restart the Wazuh server after you add or change this configuration. Ask your AWS administrator to confirm that the policy is limited to the trail's bucket and prefix, and that the credentials belong to a dedicated identity used only for log reads.
OpenSearch's Security Analytics cloudtrail log type monitors AWS CloudTrail events, and OpenSearch can ingest CloudTrail data from Amazon S3 and Amazon Security Lake accounts. The log type supplies field mappings for detection rules but does not describe a collection method, so the ingestion pipeline is a separate build that you plan and run. Choose the account type before you touch the trail. A direct S3 bucket and a Security Lake subscriber need different bucket policies and permissions, and the OpenSearch ingestion settings, including the Data Prepper S3 source configuration, follow from that choice. Confirm the exact permissions and configuration for your chosen route with your OpenSearch administrator and AWS administrator before you build the pipeline.
Neither documented path names a paid license tier for this source. Wazuh's server and agent are licensed under GPL-2.0, its indexer and dashboard are Apache-2.0, and the OpenSearch FAQ does not describe any paid edition. Licensing is only part of the cost. S3 storage for every CloudTrail object, along with the read requests that the collector makes, is billed to your AWS account, so the bill grows with trail volume and retention. Ask your AWS administrator to confirm the trail settings, including the regions covered, whether management and data events are captured, and the log file encryption and retention settings, plus the bucket policy, before you size storage and collection capacity.
How each SIEM collects AWS CloudTrail logs from S3
Wazuh reads CloudTrail logs from an S3 bucket with the aws-s3 module set to bucket type cloudtrail. The module runs on a schedule, and the documented example reads the bucket every 10 minutes, so new events reach the Wazuh server on that cycle. CloudTrail is one of the AWS services Wazuh's cloud security documentation lists, alongside VPC, GuardDuty, WAF and Security Hub. The Wazuh CloudTrail page sets out the prerequisites in the order you need them.
- Trail first: Create a CloudTrail trail that writes to S3. The module has nothing to read until the trail delivers objects to the bucket.
- IAM permissions: Grant the reading identity
s3:GetObjectands3:ListBucket, scoped to the trail bucket. - AWS credentials: Provide credentials the Wazuh server can use to call S3, and confirm with your security team which credential method the host is allowed to use.
- Module configuration: Configure the
aws-s3module with bucket typecloudtrailand the read schedule you need. The documented example is every 10 minutes. - Restart and verify: Restart Wazuh after configuration, as the page requires, then confirm CloudTrail alerts appear in the dashboard.
Check the Wazuh CloudTrail page for the current permission set and any additional conditions before you write the IAM policy.
OpenSearch covers CloudTrail through the cloudtrail log type in Security Analytics. The log type reference says it monitors AWS CloudTrail events and that OpenSearch can ingest CloudTrail data from Amazon S3 and Amazon Security Lake accounts. The log type supplies field mappings for detection rules. It does not describe an agent or collection method, so the path from the bucket into the index is a separate build decision that your team owns.
- Log type: Select the
cloudtraillog type to get the field mappings that Sigma-based detections depend on. Selecting it does not read the bucket. - S3 ingestion route: The S3 ingestion route is covered by the Data Prepper S3 source documentation. Use it to plan how objects are read and how the pipeline is configured.
- Pipeline ownership: You build and maintain the pipeline that connects the bucket to the index, including credentials, source settings and any parsing stage.
- Mapping alignment: When the pipeline output changes, confirm it still matches the field names the log type and detections expect.
- Upgrades: Retest the pipeline and the detections after OpenSearch upgrades, since the log type and the pipeline are separate components.
Confirm with your OpenSearch team how the pipeline is built, who owns its credentials and how its health is monitored before you commit to this route.
Both routes depend on the same AWS source configuration, so the CloudTrail side has to be right before either SIEM can collect anything. The checks below are the responsibility of your AWS administrators, and they apply to Wazuh and to OpenSearch alike. Each one is quick to verify, but each one fails silently if nobody owns it. Treat them as a shared prerequisite that is documented once and referenced by both teams.
- Trail destination: Confirm the trail writes to the S3 bucket your SIEM will read, and that the bucket name in your collector configuration matches it exactly.
- Read permissions: Confirm the reading identity has the S3 read actions the chosen route requires and no broader write access to the bucket.
- Object retention: Confirm how long log objects stay in the bucket and whether lifecycle rules could remove objects before the SIEM has read them.
- Credential ownership: Name the person or team who rotates the credentials the SIEM uses to read the bucket, and record when they were last rotated.
- Test event: Generate a known API call in a test account and confirm it appears in the SIEM before any detection is relied on.
Ask your AWS administrators to record each of these checks in the change record, because an assessor will ask for the same evidence alongside the SIEM configuration.
Two SIEM paths read the same CloudTrail bucket differently
The diagram starts with an AWS CloudTrail trail that writes log files to an S3 bucket. From there the flow splits into two branches. In the Wazuh branch, the aws-s3 module on the Wazuh server reads the bucket on a schedule, decoders and rules process each event, and alerts are stored in the Wazuh indexer, which the Wazuh dashboard displays. In the OpenSearch branch, a pipeline your team configures reads the same bucket and indexes the events, the cloudtrail log type maps their fields, and Sigma rules create findings. The pipeline is the step you must build and confirm. In your deployment, confirm which host runs the Wazuh aws-s3 module.
Both paths start at one S3 bucket; you build the OpenSearch pipeline.
What each SIEM documents for parsing and AWS CloudTrail detections
Both platforms document parsing and detection content for CloudTrail, but the content takes different forms. Wazuh ships decoders, rules and alerts that you tune, while OpenSearch supplies a log type, field mappings and Sigma rules that you assemble into your own pipeline. The cards below show what each side gives you and what your team still has to check during testing.
Wazuh decoders and rules
The Wazuh server analyzes incoming data with decoders and rules. The ruleset ships over 3,000 built-in rules and decoders, with alerts mapped to MITRE ATT&CK. For CloudTrail, decoders turn raw events into fields that rules can match, so the parsing you get out of the box decides how much detection work you start with. Confirm the CloudTrail-specific rule coverage in the current ruleset before you plan, and list the gaps you would need to write yourself as custom rules and decoders.
Wazuh ruleset docsWazuh dashboard for alert triage
The Wazuh dashboard is the web interface over the Wazuh indexer, which stores the alerts that CloudTrail rules produce. The indexer is an open source fork of OpenSearch, so the search engine under the alerts is one your team may already know. Before you commit, check which views and filters your analysts need for CloudTrail triage, and confirm which access controls the dashboard offers for people who read those alerts. Test the workflow with the same events analysts will see in production.
Wazuh componentsOpenSearch CloudTrail log type
OpenSearch Security Analytics includes a cloudtrail log type that monitors AWS CloudTrail events and supplies the field mappings that detection rules depend on. The log type covers the detection side only. It does not describe an agent or collection method, so you still have to choose how CloudTrail reaches the cluster, for example from Amazon S3 or Amazon Security Lake accounts. Check that the field names in your events match the mappings before you rely on any rule that reads them.
CloudTrail log type docsSigma rules and cross-log correlation
Security Analytics matches ingested logs against prepackaged or custom Sigma rules, records findings and correlates them across log types. That correlation is the main reason to treat OpenSearch as a SIEM backend without adding a separate product. Ask which prepackaged Sigma rules apply to CloudTrail events in your version, and whether your team can write and maintain custom Sigma rules for the CloudTrail actions it cares about. Check how correlation behaves when CloudTrail is joined with another log source.
Security Analytics docsOpenSearch Dashboards for custom views
OpenSearch Dashboards is derived from Kibana 7.10.2, so your team builds the views it needs for CloudTrail activity, such as which principal made which API call and from where. That flexibility carries ownership. Each visualization, saved search and dashboard is work your team designs, tests and maintains through upgrades. Confirm which CloudTrail views ship with your version before you estimate that build effort, and assign someone to own the views once they are live.
Validating detections with sample events
During testing, replay sample CloudTrail events through each pipeline and record whether each event is parsed into the expected fields, whether the matching rule or Sigma rule fires, and whether the alert reaches the place analysts read it. Use a mix of benign and suspicious events so you can see false positives as well as misses. Run the same set on both platforms so the comparison rests on your own results, and keep the sample events separate from production data.
How retention and volume shape the AWS CloudTrail design
The raw CloudTrail trail stays in Amazon S3 under either design, so raw retention is set by the bucket, trail and lifecycle configuration in AWS, which you must confirm before sizing anything else. Check the destination bucket, object lifecycle rules, versioning and any object lock on the trail's bucket, because the SIEM copy is a searchable derivative and cannot replace the archive. Wazuh's CloudTrail documentation reads these objects through the aws-s3 module with bucket type cloudtrail on a schedule, so the IAM identity needs s3:GetObject and s3:ListBucket on the bucket that holds the full history you intend to query. Decide now who owns S3 retention and who owns SIEM retention, and record the two periods separately.
Wazuh documents its indexer as the component that stores alerts, so the first question for the vendor is what else reaches that index. Ask whether decoded CloudTrail events are indexed alongside the alerts their rules raise, and whether any raw events are kept on the Wazuh side, because that decision determines how much index capacity you need. On the OpenSearch side, index lifecycle, shard counts, rollover thresholds and deletion policy are designed by your team. The cloudtrail log type in Security Analytics supplies field mappings for detection rules, but it does not decide how indices are laid out or how long they are kept. Write each index, its retention period and its owner down before the pilot, so the sizing reflects what will actually be stored.
Volume depends on your accounts, so measure event counts per account and region before you commit. Count CloudTrail events over a representative period, and include a month with normal change activity along with any deployment or batch window that produces heavy API traffic. Convert those counts into daily volume using a sample of exported records, then apply the retention periods you agreed for S3 and for each index. Ask Wazuh and your OpenSearch implementation partner for written sizing based on the same numbers, and require each answer to state its assumptions about replicas, shards, compression and retention. An estimate that leaves those assumptions out cannot be compared with the other one.
What buyers ask before hiring help with AWS CloudTrail logs
How much effort does AWS CloudTrail log collection take?
Effort depends on how many accounts, regions and trails you ingest, how IAM access is scoped, how fields are mapped for detections, and how indices age out. Each account or organization trail adds a source to configure, and each region that writes CloudTrail objects adds a path to confirm. With Wazuh, the documented setup is a CloudTrail trail writing to S3, an IAM policy allowing s3:GetObject and s3:ListBucket, AWS credentials, and a Wazuh restart after configuration. With OpenSearch, the work is a pipeline you design and maintain, plus field mapping for detection rules and index lifecycle policies. Most of the effort is one-time build work, followed by recurring tuning when accounts or regions change. Ask any quote to size each of these drivers separately so you can see what changes as the estate grows.
How long until CloudTrail events show up in the dashboard?
Latency depends on the collection path, so no single number applies to every build. Wazuh's documentation describes reading CloudTrail from an S3 bucket through the aws-s3 module on a schedule, and every 10 minutes is the example given, so the polling interval you set is the main delay on the Wazuh path. AWS delivery timing for the trail is a separate delay, so confirm it in AWS documentation for your trail configuration. On the OpenSearch side, delay depends on how the pipeline is built, since the ingestion method, any polling or notification setup, and the indexing step each add time. Ask the implementer to measure end-to-end delay in your own account during testing, and to record the result in the handover document so operations has a baseline.
What does CloudTrail log work need from our own team?
The work needs three roles with clear ownership: an AWS administrator, a SIEM administrator and a detection owner. The AWS administrator controls the trails, the S3 bucket and its policies, any KMS keys in use, and the IAM role or user that reads the logs. The SIEM administrator owns the Wazuh or OpenSearch deployment, its indices, retention and pipeline health. The detection owner decides which events matter, such as console logins, root account use or changes to logging itself, and signs off on rules and tuning. Name one person per role before scoping starts, because gaps usually appear as a stalled IAM change or a detection rule that nobody reviews. Expect each role to review the written design as well as the finished build.
Can our team set up CloudTrail logging without outside help?
Yes, if the team already owns AWS IAM, the SIEM and the detection workflow, and has time to test changes end to end. The Wazuh setup is documented step by step, but the parts that cause delays are cross-account permissions, bucket policies and field mapping, which is where first attempts often stall. Teams without an AWS administrator or a detection owner in-house usually need outside help for design and testing, and sometimes only for the first phase. Outside help can be fixed-scope: DeployOpen plans, implements, integrates and documents self-hosted open-source platforms inside your own infrastructure, with scope, deliverables and timelines agreed in writing before work starts. Decide based on which of the three roles you can staff for the full project.
Does a license or subscription add anything for CloudTrail logs?
Neither documented path shows a paid tier for CloudTrail collection, so confirm this with each vendor before you budget. Wazuh's server and agent are licensed under GPL-2.0, and its indexer and dashboard are Apache-2.0. OpenSearch is Apache-2.0, and its FAQ does not describe a paid edition. Those licenses cover the software itself. Your AWS charges for the trail and S3 storage continue whichever platform you pick, and you should confirm those figures with AWS. Ask Wazuh and any OpenSearch support provider whether support subscriptions, managed hosting or add-on modules apply to this source. Implementation and support are separate from the license, so they should appear as separate lines in the written quote.
What should a written quote for CloudTrail log work include?
A written quote should describe the scope in terms you can check: the accounts, regions and trails in scope, the platform and version, the collection method, the parsing and field mapping work, and the detections to build or tune. It should name the deliverables, such as configuration, runbooks, test evidence and handover documentation, and state what your team must provide, including the three roles and access to AWS and the SIEM. Look for acceptance criteria, the timeline, and a clear split between one-time build work and recurring work such as upgrades or continuous testing. Ask what happens if the account or region count grows, and which retention and storage assumptions the price depends on. DeployOpen does not publish a price list, so the quote follows from the written scope.
What breaks CloudTrail ingestion after the first setup?
The usual causes are access, configuration and field mapping, so check those first. For Wazuh, the documented requirements are a trail writing to S3, an IAM policy allowing s3:GetObject and s3:ListBucket, valid AWS credentials, and a Wazuh restart after configuration, so a missing permission or an unrestarted service is the first thing to test. For OpenSearch, check the pipeline's read permissions on the bucket, confirm that the OpenSearch CloudTrail log type field mappings match what your rules expect, and verify that index lifecycle rules do not delete data before your detections use it. Confirm that trails cover every region you need, since a missed region produces silent gaps. Build a test that generates a known API call and confirms it reaches the dashboard, then repeat that test after each account or trail change.
Which documented limits change the AWS CloudTrail choice
The first limit is timing. Wazuh reads CloudTrail from your S3 bucket through the aws-s3 module with bucket type cloudtrail, and it polls on a schedule, with the documented example running every 10 minutes. An event is therefore visible in Wazuh only after the next poll, so any detection that needs a faster response has to be checked against that interval first. Configuration also requires a Wazuh restart, which turns changes to the polling interval, bucket or credentials into scheduled maintenance. The IAM policy must allow s3:GetObject and s3:ListBucket on the trail bucket, and the trail must already write to S3 before anything is read. Ask Wazuh in writing how the interval interacts with CloudTrail's own delivery delay, and plan restarts inside an approved change window. Wazuh's CloudTrail page lists the prerequisites.
OpenSearch draws the boundary in a different place. Its Security Analytics cloudtrail log type monitors CloudTrail events and supplies the field mappings that detection rules depend on, and OpenSearch documents ingestion of CloudTrail data from Amazon S3 and Amazon Security Lake accounts. The log type itself does not describe an agent or collection method, so the team owns the pipeline: how objects are pulled, how they are parsed into the mapped fields, and how failed or repeated objects are handled. Data Prepper's S3 source is one option to evaluate, but confirm how it handles CloudTrail's file layout and delivery guarantees before you commit to it. Ingestion latency, backfill and error handling become design decisions that must be written down before the build starts. The OpenSearch CloudTrail log type page defines the fields you will need to map against.
Version planning sets the boundary for both builds. Plan on the Wazuh 4.14 line, where 4.14.9 was released on October 14, 2026. A Wazuh 5.0.0 release candidate was published on GitHub on October 5, 2026, so treat it as a pre-release and do not design the CloudTrail path around it. On the OpenSearch side, 3.9.0 was released on September 29, 2026, and the 2.19 line still received 2.19.6 on July 6, 2026, so pick the line that your pipeline and chosen log type support. Before the build starts, get written confirmation of three things: which Wazuh and OpenSearch versions will run together, which CloudTrail fields your chosen path populates and maps, and who fixes the gap when a needed field is missing. Put those answers in the signed scope so the build starts from documented facts.
How DeployOpen helps deploy either SIEM and onboard CloudTrail
DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted open-source platforms inside your own cloud accounts and networks. For Wazuh vs OpenSearch for AWS CloudTrail logs, the work starts with a written scope that fits the platform you choose, whether that is Wazuh's S3-based collection or an OpenSearch build with Security Analytics.
How we scope
- The written scope names the CloudTrail sources, regions and accounts to onboard before any build starts.
- It records which SIEM path is in scope: a Wazuh server and indexer, or OpenSearch with Security Analytics and its cloudtrail log type.
- Engagements are fixed-scope, and deliverables and timelines are agreed in writing before work starts.
How we build
- Confirm the trail writes to S3 and review the bucket access settings against your own AWS policies.
- Grant
s3:GetObjectands3:ListBucketthrough IAM, then configure theaws-s3module with cloudtrail bucket type. - Test parsing and alerts with sample CloudTrail events, then review how AWS credentials are stored and scoped.
How we hand over
- Document the trail settings, IAM policy, module configuration and restart steps so your team can repeat them.
- Provide configuration records and test results that your compliance team and independent auditors can review.
- Walk your SOC through the alert set and where CloudTrail events appear, so handover covers daily operation.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the initial build.
- Upgrade work follows the release line you run, such as the Wazuh 4.14 line, and is documented per change.
- Re-test CloudTrail parsing and detections after each change to the trail, IAM policy or module configuration.

