Wazuh vs Graylog for AWS CloudTrail logs

Wazuh suits teams that want S3 polling inside an agent-based SIEM. Graylog suits teams that want SQS-driven ingestion and budget for paid detection editions. Compared on collection, IAM, parsing and documented limits.

On this page

Wazuh vs Graylog for AWS CloudTrail logs: which fits this source

Choose between these two by asking which platform should own your CloudTrail detections as well as how the events arrive. Wazuh fits teams that want CloudTrail read from S3 by a module inside a platform that also runs endpoint agents and a ruleset. Graylog fits teams that want SQS-driven ingestion and already plan to pay for its Enterprise or Security editions for correlation and prebuilt detections. Both can ingest this source, so the decision depends on your AWS setup, your team's tolerance for extra pipeline components and whether detections must ship with the platform. The general licensing, edition and endpoint comparison sits on the separate Wazuh vs Graylog page, so this section stays on CloudTrail alone.

Wazuh's aws-s3 module reads CloudTrail from the bucket with bucket type cloudtrail on a schedule, and the documentation gives every 10 minutes as an example. The documented prerequisites are a trail writing to S3, an IAM policy allowing s3:GetObject and s3:ListBucket, AWS credentials in the configuration and a Wazuh restart after changes. Graylog's AWS CloudTrail input works from notifications instead: it reads SQS messages, then fetches the log files from S3. That requires a trail to S3, an SQS queue, S3 ObjectCreated event notifications and an IAM role allowing sqs:ReceiveMessage, sqs:DeleteMessage and s3:GetObject. Graylog recommends the AWS Assume Role (ARN) option over static access keys. Confirm with your AWS team which pattern your security baseline allows, because the queue and event wiring is the larger change to approve.

Ingestion is only part of the cost question. Graylog Open is free, but correlation, reporting, index archiving and prebuilt Illuminate detection content sit in the paid Graylog Enterprise or Graylog Security editions. According to Graylog's pricing page, Enterprise starts at 15,000 US dollars per year and Security at 18,000 US dollars per year, each with a minimum of 10 GB per day or 100 Graylog Compute Units. Wazuh's server and agents are licensed under GPL-2.0, and its ruleset ships more than 3,000 built-in rules and decoders, but confirm which of those cover CloudTrail in the version you deploy. Ask each vendor for edition, volume floor and support terms in writing before comparing totals. The question that decides this source is whether your team needs CloudTrail detections working from the platform's own content on day one, or whether you will write and maintain those detections yourself.

What AWS CloudTrail needs enabled before Wazuh or Graylog can read it

Both routes start from the same AWS foundation: a CloudTrail trail that writes log files to an S3 bucket. Wazuh then reads that bucket directly, while Graylog reads queue notifications first and fetches the files they point to. The cards below list what each side needs in place before the first event arrives.

Trail delivering log files to S3

Both routes need a CloudTrail trail that delivers log files to an S3 bucket, so this is the one prerequisite neither platform can skip. Ask your AWS administrators to confirm the accounts and regions the trail covers, because a gap in the trail becomes a gap in both platforms. Also confirm who controls the bucket policy and whether the identity each platform uses can reach the objects inside it.

Wazuh IAM policy and credentials

Wazuh's aws-s3 module with bucket type cloudtrail polls the bucket on a schedule, so the identity it uses needs s3:GetObject and s3:ListBucket on that bucket. Provide AWS credentials in the module configuration, then restart Wazuh so the change takes effect. Ask your AWS administrators to scope the policy to the CloudTrail bucket and its prefix, and test with one account before adding the rest of the trail's scope.

Wazuh CloudTrail docs

Graylog SQS queue and notifications

Graylog's AWS CloudTrail input reads event notifications from an SQS queue, then fetches the matching log files from S3, so three parts must be wired together. Create the queue, then configure S3 ObjectCreated event notifications on the CloudTrail bucket so they send to that queue. Without this chain, new files land in S3 but Graylog never learns they exist, and the input looks healthy while it ingests nothing.

Graylog CloudTrail input

Graylog IAM role and Assume Role

The role Graylog uses needs sqs:ReceiveMessage, sqs:DeleteMessage and s3:GetObject for this input, and little beyond those actions. Graylog recommends the AWS Assume Role (ARN) option over long-term static access keys, so plan a trust relationship that lets Graylog assume the role. Agree with your AWS administrators who owns the role, how its permissions are reviewed, and where the input's configuration is stored.

Licensing and edition check

Wazuh server and agent are licensed under GPL-2.0 with an OpenSSL linking exception, while Graylog Open is licensed under SSPL-1.0, a change made with Graylog 4.0 in 2020. Graylog Enterprise and Graylog Security are separate paid editions, so confirm which Graylog edition includes the CloudTrail input in the version you plan to run. Get that answer in writing from Graylog before you design the pipeline around it.

Graylog license file

How Wazuh and Graylog differ on CloudTrail collection, parsing and limits

This table compares how Wazuh and Graylog read AWS CloudTrail logs, from the collection method and AWS setup to licensing, paid features and documented limits. Where a cell says to confirm, ask the vendor in writing before you size the deployment or sign off on detection coverage. The main takeaway: Graylog's queue-driven input needs more AWS resources but reacts to new log files, while Wazuh's scheduled S3 read needs fewer moving parts but runs on a timer.

AspectWazuhGraylog
Collection methodThe aws-s3 module with bucket type cloudtrail reads CloudTrail objects from the S3 bucket.The AWS CloudTrail input reads SQS notifications, then retrieves the log files from the S3 bucket.
What triggers a readA configured schedule, such as every 10 minutes. Confirm the shortest interval you can set.New S3 object events placed on an SQS queue. Each message triggers retrieval of the file.
Required AWS setupA trail writing to S3, an IAM policy allowing s3:GetObject and s3:ListBucket, then a Wazuh restart.A trail writing to S3, an SQS queue, S3 ObjectCreated event notifications, and an IAM role allowing sqs:ReceiveMessage, sqs:DeleteMessage and s3:GetObject.
Credential modelAWS credentials as the Wazuh page describes them. Confirm whether role-based access is supported.Assume Role (ARN) is recommended over long-term static access keys.
License of the reading componentWazuh server under GPL-2.0 with an OpenSSL linking exception.Graylog Open under SSPL-1.0, which is not OSI approved.
Paid features that affect detectionConfirm with Wazuh which CloudTrail rules and views are included at no cost.Correlation, reporting and prebuilt Illuminate content need Graylog Enterprise or Security.
Search backendThe Wazuh indexer, an open source fork of OpenSearch, stores the alerts.OpenSearch 1.1.x to 3.7.x or Graylog Data Node, which Graylog recommends.
Documented CloudTrail parsingThe Wazuh server applies its decoders and rules to events. Confirm CloudTrail field coverage with Wazuh.The input retrieves the files. Confirm field extraction and any pipeline rules you need before go-live.
Retention, volume and limitsConfirm retention settings, daily volume ceilings and polling throughput for CloudTrail in writing.The Graylog pricing page sets a minimum of 10 GB per day or 100 Compute Units for paid editions. Confirm CloudTrail limits.

Collection setup for AWS CloudTrail in Wazuh and in Graylog

Wazuh reads CloudTrail from an S3 bucket through the aws-s3 module, set to the cloudtrail bucket type. Collection is pull-based: the module checks the bucket on a schedule and processes the log files it finds. The Wazuh CloudTrail documentation lists the steps in this order.

  • Trail writing to S3: Create a CloudTrail trail that delivers to an S3 bucket. Choosing the regions and event types to record is your decision in your own AWS account, and the trail must be delivering before the module has anything to read.
  • IAM policy: Grant s3:GetObject and s3:ListBucket on the bucket to the identity Wazuh uses. Test the policy against your bucket's own access controls before rollout, because bucket policies and encryption settings sit outside the module.
  • AWS credentials: Give the Wazuh server AWS credentials for that identity. The page describes credentials in general terms, so ask which credential methods the module accepts before you settle on a key rotation model.
  • Module schedule: Set the aws-s3 module to bucket type cloudtrail with a schedule. The documented example runs every 10 minutes, so expect alerts on CloudTrail events to lag by about one run interval plus the time CloudTrail takes to deliver each file.
  • Restart after configuration: Restart Wazuh after you change the configuration so the module loads the new settings. Plan this as a change window item in your operations runbook.

Not documented in the supplied material: the minimum polling interval, how the module handles log files that arrive late or fail to parse, and any limits on objects read per run. Confirm these with Wazuh before you design alert timing and log retention.

How CloudTrail events travel into each SIEM

Both paths start in the same place: a CloudTrail trail writes log files to an S3 bucket. The Wazuh path is pull-based. The Wazuh S3 module reads the bucket on a schedule, the Wazuh server applies decoders and rules, and alerts are stored in the Wazuh indexer, which the Wazuh dashboard displays. The Graylog path is event-driven. S3 sends an ObjectCreated notification to an SQS queue, the Graylog CloudTrail input reads that message and retrieves the log file from S3, and events go to the Graylog search backend. Check the IAM permissions on each side, and confirm the trail, SQS queue and event notifications exist before you test the Graylog path.

Both SIEMs read the same CloudTrail bucket through different hand-offs.

What each platform documents for CloudTrail parsing and detections

Both platforms read CloudTrail from S3, but they document different layers of the work after ingestion. Wazuh ships rules and decoders in the base product, while Graylog places correlation, reporting and some detection content in paid editions. Use these four cards to decide what to verify in a vendor call or test window before you commit.

Wazuh ruleset and MITRE mapping

Wazuh's ruleset ships over 3,000 built-in rules and decoders and maps alerts to MITRE ATT&CK, so CloudTrail alerts can be read against a technique framework without building that mapping yourself. The Wazuh cloud security documentation lists AWS CloudTrail among its supported AWS services, alongside VPC, GuardDuty, WAF and Security Hub. Confirm which rules and decoders apply to CloudTrail events in the release you run, then test a sample trail to see which alerts fire and which stay silent.

Wazuh CloudTrail docs

Graylog correlation and reporting tiers

Correlation, reporting and prebuilt Illuminate detection content are not in Graylog Open. They sit in the paid Graylog Enterprise or Graylog Security editions, so the detections you compare against Wazuh's ruleset depend on which paid tier you buy. Ask Graylog which CloudTrail content ships in each edition, whether Illuminate packages cover the CloudTrail events you need, and how it is updated. The Graylog pricing page lists Graylog Enterprise from 15,000 US dollars per year, with a minimum of 10 GB per day or 100 Graylog Compute Units, so price the tier against your CloudTrail volume.

Graylog Security SIEM features

Graylog Security adds risk scoring, anomaly detection, investigations and compliance packs, according to the Graylog product pages. For CloudTrail, these matter when you want behavior-based alerts, for example (illustrative) a spike in console logins from an unfamiliar region, alongside signature-style matches. Confirm which of these features apply to CloudTrail data, how anomaly baselines are learned and reset, and whether the compliance packs map to the controls your assessor will test.

Field parsing needs your own test

Field-level parsing for CloudTrail is one thing this comparison cannot confirm for either product, so treat the parsed field names as unverified until you test them. Load a sample trail into each platform, including events with nested request parameters and a failed API call. Compare the fields that come out with the fields each detection you plan to run depends on. Where a field is missing or flattened, check whether the decoder, rule or pipeline can be written without it.

How log volume and retention change the cost of each route

Start by separating license fees from the bill that log volume creates. Wazuh's server and agent are licensed under GPL-2.0 with an OpenSSL linking exception, so the software carries no license fee. You still pay for the Wazuh indexer, which is Apache-2.0 licensed and stores the alerts, along with the disk it fills, the hosts that run the indexer, server and dashboard, and the staff who maintain rules, decoders and retention. Graylog Open is also free, with no volume limits and community support, but it writes to a separate search backend, either self-managed OpenSearch or Graylog Data Node, so you carry that storage and those hosts too. Both routes recur on hosting and people. The difference lies in which features you must license.

According to the Graylog pricing page, Graylog Enterprise starts at 15,000 US dollars per year and Graylog Security starts at 18,000 US dollars per year. Each carries a minimum of 10 GB per day or 100 Graylog Compute Units, and the license is charged on processed data, with no per-user or per-device fees. For a CloudTrail route, the licensed quantity follows the events you push through Graylog, not the number of analysts who log in, so confirm in writing which measure applies to your volume and whether the minimum is billed when your daily volume is lower. Enterprise adds a data lake with archive restore and data tiering, and Security adds SIEM features such as risk scoring and prebuilt threat detection content. The Wazuh side has no volume-based license line, so its volume cost shows up in storage and staffing.

Four drivers move the total most. The first is how many accounts and regions feed the trail, since each one adds objects to the S3 bucket and messages to the queue that Graylog reads. The second is event volume, which sets what Graylog processes and what the Wazuh indexer stores. The third is retention, which you set in two places: the S3 bucket's lifecycle rules inside AWS, and the index retention in the SIEM. Retention is set twice, so keeping the same events in both places pays for storage twice. The fourth is whether investigators need archive restore or data tiering, which is a Graylog Enterprise feature. AWS bills the S3 storage, SQS requests and data transfer the trail produces, and those figures come from your own AWS account, so pull a month of those charges before you compare. Ask Wazuh and Graylog in writing for CloudTrail-specific volume and retention figures, the sizing they assume for your event rate, and how polling frequency affects request counts.

Steps to pilot CloudTrail ingestion before committing to either SIEM

This sequence tests both collection routes against the same CloudTrail trail, so the team can see whether events arrive, parse and arrive fast enough for its detections before committing to either platform. Each step closes with a written pass or fail check that the pilot owner signs off. Where possible, run the pilot in a non-production AWS account.

  1. Confirm the trail, accounts and S3 delivery

    The pilot owner names the CloudTrail trail and the AWS accounts that will feed the pilot, and confirms the trail writes to an S3 bucket that both collectors can reach. Record the bucket name, the trail's region scope and the log file prefix, then check that log files are present for a recent window. Pass: the trail is named in writing, S3 delivery is confirmed in the console or CLI, and log objects are visible. Fail: the trail does not deliver to S3, or the account owner cannot confirm its scope, so the pilot stops until this is resolved.

  2. Choose the credential model for each route

    Decide how each collector authenticates before anyone creates keys. Graylog's CloudTrail input documentation recommends the AWS Assume Role (ARN) option over long-term static access keys, so test that path first. Wazuh's CloudTrail page requires AWS credentials for the aws-s3 module, and the team must confirm whether the Wazuh release in use supports role-based access before relying on it. Pass: each route has a named credential model, a confirmed release check and a written approval from the security team. Fail: the release check is incomplete or approval is missing. Do not fall back to static keys without a written exception.

  3. Apply the minimum IAM permissions for each route

    Create a separate IAM policy for each route so each collector can do only what it needs. The Wazuh route needs s3:GetObject and s3:ListBucket on the trail bucket. The Graylog route needs an IAM role with sqs:ReceiveMessage, sqs:DeleteMessage and s3:GetObject, plus an SQS queue receiving S3 ObjectCreated event notifications. Scope the Graylog role to that bucket and queue only. Pass: a policy simulation or test call shows each identity reads the required objects and holds no unrelated permissions. Fail: either identity can write to the bucket or reach resources outside the pilot scope.

  4. Run both collectors against one test trail

    Point both collectors at the same trail and bucket, then generate a known set of API activity in the pilot account, such as a read-only describe call. Apply the Wazuh configuration and restart the service so the aws-s3 module begins polling the bucket. Start the Graylog CloudTrail input and confirm its SQS queue is receiving notifications. Pass: the same test events appear in Wazuh and in Graylog search, with fields such as the event name and the calling identity parsed into separate values. Fail: events are missing from either platform, or fields remain unparsed raw text.

  5. Measure the delay against the detection need

    For each test event, record the time between the event and its appearance in each platform. Wazuh polls the bucket on the schedule set in its aws-s3 configuration, so the interval is driven by that setting. Graylog reads SQS notifications and then retrieves the log files, so its delay depends on queue delivery and input retrieval. Compare each measured delay with the response time your detections require, and ask each vendor or partner to confirm the mechanics in writing. Pass: each route's measured delay is at or under the required response time. Fail: either route misses it, so the schedule or design changes before a SIEM is chosen.

  6. Document restart, rollback and the edition needed

    Write the Wazuh restart and rollback steps as the production runbook: the configuration change, the restart that Wazuh requires after configuration, the check that polling resumed, and how to revert the module settings and credentials. For Graylog, list each planned detection and match it to an edition, since correlation, archiving, reporting and prebuilt Illuminate content sit in paid Graylog Enterprise or Graylog Security editions. Pass: a reviewer can follow the Wazuh runbook in the test environment and reverse the change, and every planned Graylog detection has a named edition. Fail: the rollback has not been exercised, or a detection depends on a feature the chosen edition excludes.

What buyers ask before hiring help with AWS CloudTrail ingestion

How much effort does AWS CloudTrail ingestion take for Wazuh or Graylog?

Effort rises with the number of trails and accounts, whatever S3 and SQS plumbing already exists, the SIEM you choose and how much detection tuning you want at go-live. One trail in one account that already writes to a bucket is a small job on either platform. Wazuh reads CloudTrail objects from S3 through its aws-s3 module with bucket type cloudtrail, so the core setup is the trail, an IAM policy allowing s3:GetObject and s3:ListBucket, AWS credentials and a restart. Graylog's CloudTrail input documentation reads SQS notifications first, so you also need an SQS queue and S3 ObjectCreated event notifications, plus an IAM role for sqs:ReceiveMessage, sqs:DeleteMessage and s3:GetObject. Ask for quotes split by trails, accounts, SIEM work and tuning.

How long does a CloudTrail ingestion project usually take?

No single duration fits every environment, so treat any estimate as conditional on the factors below. The timeline is set by a few things you can settle before kickoff: how many trails and accounts are in scope, whether the trails already deliver to S3 with suitable permissions, whether Graylog's SQS queue and event notifications exist, how many change windows your AWS and SIEM teams need, and how many detection rounds you agree to. Access approvals can be the longest wait in a regulated environment, so start those requests early. Ask each provider for a dated plan with milestones, the dependencies on your team and what happens if an approval slips. Compare plans on those dependencies, not on a single headline estimate.

What skills and people does a CloudTrail project need from our team?

Four roles usually need time on the project, and one person can cover more than one. The AWS administrator creates or confirms the trail, the S3 bucket and its policies and, for Graylog, the SQS queue and event notifications. The IAM owner defines the roles or users and least-privilege policies the collector uses, and should prefer the assume-role option that Graylog recommends over long-term static keys. The SIEM administrator configures the Wazuh module or Graylog input, manages indexes, retention and access, and checks that events arrive. A security analyst decides which events matter, reviews early alerts and signs off detections. Before kickoff, confirm in writing who owns each step, how access is granted and who approves production changes.

Can our own team run a CloudTrail pilot without outside help?

Often yes, for one account and one trail, if your team already runs AWS and the SIEM and has someone who can write detections. A pilot shows that events arrive and parse. Outside help usually matters in four places. Multi-account scope needs consistent trails, buckets and roles across the organization. Retention design sets index sizes and archive paths, which are costly to change after data lands. Detection tuning needs a baseline of normal administrative activity so that alerts are worth reading. Handover requires runbooks, configuration records and evidence your auditors can review, written so your team can run the setup later. Ask providers which of these they cover and which stay with you.

What does a paid Graylog edition add for CloudTrail logs?

Index archiving, correlation, reporting and prebuilt Illuminate detection content sit in the paid Graylog Enterprise or Graylog Security editions, and Graylog Open does not include them. Graylog Enterprise adds a data lake with archive restore, data tiering, a correlation engine and 24/7 support. Graylog Security adds SIEM features such as risk scoring, anomaly detection, investigations, compliance packs and prebuilt threat detection content. According to the Graylog pricing page, Graylog Open is free with no volume limits and community support, while Graylog Enterprise starts at 15,000 US dollars per year and Graylog Security at 18,000 US dollars per year, each with a minimum of 10 GB per day or 100 Graylog Compute Units. Licensing is based on processed data, with no per-user or per-device fees. In the quote, confirm how the minimum applies to your CloudTrail volume, which edition includes the detections you need, and the renewal and overage terms.

How does a fixed-scope agreement define deliverables for CloudTrail work?

Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. For CloudTrail, the written scope should name the platform, the accounts and trails in scope, the collection path (the Wazuh module or the Graylog input), the parsing and detection items, the documentation and handover artifacts, and the testing included. Confirm in the agreement how scope changes are handled, so an added account or extra detection set is recorded as a documented change. DeployOpen does not publish a price list, so a quote follows from the written scope. Ongoing support, upgrades and continuous testing are available as retainers if you want them after the pilot. Before you sign, ask for the deliverable list and the acceptance criteria for each item.

How DeployOpen onboards AWS CloudTrail into either SIEM

DeployOpen plans, implements and hands over AWS CloudTrail ingestion into Wazuh or Graylog inside your own AWS accounts. Scope comes first: the trails, storage, permissions and edition are agreed in writing before any build starts. Each path is built, tested and documented so your security and compliance teams can review how events reach the SIEM.

How we scope

  • Written scope lists the trails, regions and accounts in which CloudTrail is enabled for the chosen SIEM.
  • Scope names the S3 bucket and IAM permissions for Wazuh, or the S3, SQS and IAM role for Graylog.
  • Engagements are fixed-scope, and ongoing support is available as a retainer.

How we build

  • Configure the CloudTrail trail to write to S3 and confirm log file delivery before any SIEM settings change.
  • Wazuh: set up the aws-s3 module with bucket type cloudtrail and a schedule, then restart and verify events arrive.
  • Graylog: build the CloudTrail input on SQS notifications, with an assumed IAM role as the preferred credential method.

How we hand over

  • Test each ingestion path with known events and record what arrives, where and when.
  • Document the IAM policies, trail settings and parsing decisions so your team can review them.
  • Hand over a runbook that names the exact Wazuh or Graylog version and edition deployed.

How we support

  • Upgrades and changes to the CloudTrail path are handled as separate written work after handover.
  • Ongoing support, upgrades and continuous testing are available as retainers for either SIEM.
  • Confirm with AWS and the SIEM vendor that your trail, key policy and edition still match documented requirements.

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.