Security Onion or OpenSearch for AWS CloudTrail logs: which fits this source
Choose Security Onion when you want Elastic's AWS integration running inside a bundled suite, and you are comfortable with Elastic's collection model and support path. Choose OpenSearch when you want the Security Analytics cloudtrail log type on a search backend you assemble and operate yourself, with a collection pipeline your team designs. Settle one question first: do you want a distribution that arrives with its own sensors and dashboards, or a backend whose ingestion you control end to end? This section covers only CloudTrail intake and fit. The general platform comparison is on its own page, so it is not repeated here.
Elastic's AWS CloudTrail integration can read from S3 by polling, from SQS notifications, from CloudWatch Logs, or through an API. Elastic recommends SQS mode because polling makes the integration scan the whole bucket. If you use the CloudWatch path, check the request limits: Elastic's CloudTrail page gives 5 transactions per second per account and region for the CloudWatch Logs APIs, and the integration generates extra AWS API request charges that will appear on your AWS bill. On the OpenSearch side, the cloudtrail log type supplies field mappings for detection rules and can ingest CloudTrail data from Amazon S3 or Amazon Security Lake. It does not describe a collection method, so your team picks and runs that pipeline, for example with the Data Prepper S3 source, and confirms how it handles the S3 event notifications it depends on.
Security Onion's third party integrations page lists the Elastic aws integration as supported since Security Onion 2.4.10. The same page states that Elastic provides these integrations, that the Security Onion team does not specifically test them, and that they receive best-effort support. Before you commit, ask for the integration version your release ships, confirm the collection mode it configures, and get written confirmation of who fixes a broken CloudTrail parse. Also check your platform version: Security Onion 2.4 reached end of life on October 1, 2026, so a 2.4 deployment needs an upgrade plan before CloudTrail work starts. With OpenSearch, the support burden moves to your team, which owns the pipeline, index mappings and detection tuning, and may need outside help to staff that work.
How CloudTrail events reach each SIEM
The diagram starts with a CloudTrail trail in the AWS account, which writes log files to an S3 bucket. For Security Onion, the Elastic AWS integration reads those files through an SQS notification queue, which Elastic recommends over scanning the whole bucket. Elastic Fleet agents then ship the events into Elasticsearch. Confirm the SQS notification setup in your own account before you rely on it. For OpenSearch, a Data Prepper S3 source pipeline reads from S3 and writes into an index that the Security Analytics cloudtrail log type evaluates. Confirm the Data Prepper wiring for your deployment. The CloudWatch Logs path is an alternative, and its APIs allow 5 transactions per second per account and region, so check that limit against your trail volume.
Event paths from one CloudTrail trail to Security Onion and OpenSearch.
What CloudTrail must provide before either SIEM can read it
Choose the delivery path before you configure either SIEM. CloudTrail is only the source. It has to write events to a location each platform can read. The options named for this integration are an S3 bucket, an SQS path, or CloudWatch Logs. Elastic's AWS CloudTrail integration can collect from S3 by polling or through SQS, and Elastic recommends SQS mode so the integration does not scan the whole bucket. On the OpenSearch side, the OpenSearch cloudtrail log type reference says CloudTrail data can be ingested from Amazon S3 and Amazon Security Lake accounts, but the log type supplies field mappings for detection rules and does not describe a collection method. Settle the path with your AWS team first, because it decides which bucket, queue or log group each platform must be able to reach.
Treat the license tier, trail settings and IAM permissions as open items on both sides. Nothing confirmed for this page establishes which license tier, audit setting or IAM permission set CloudTrail collection requires for Security Onion or OpenSearch, so verify each one. Confirm the trail configuration you need, including which accounts, regions and event types it must cover. Confirm the read permissions the collector needs on the bucket, queue or log group. Check license scope against the Elastic AWS CloudTrail integration page, the OpenSearch log type reference and your AWS team. For CloudWatch Logs, note that Elastic's page says the CloudWatch Logs APIs allow 5 transactions per second per account and region, and that the integration generates extra AWS API request charges. Ask your AWS team to estimate those request charges against your expected event volume before you choose that path.
Confirm the integration on your installed Security Onion version before you plan around it. Security Onion's third-party integrations page lists the Elastic aws integration as supported since Security Onion 2.4.10. The same page says third-party integrations are provided by Elastic, are not specifically tested by the Security Onion team and receive best-effort support, so your own test is the acceptance step. Security Onion 2.4 reached end of life on October 1, 2026, so a 2.4 deployment no longer receives support. If you run the 3.x line, do not assume the 2.4.10 statement applies unchanged. Confirm on your version that the aws integration is available and that it reads from the transport you chose.
How each SIEM collects CloudTrail from S3, SQS, CloudWatch or an API
Security Onion collects CloudTrail through the Elastic aws integration, which the project lists as supported since Security Onion 2.4.10. Elastic's CloudTrail page describes four modes: S3 polling, S3 with SQS, CloudWatch Logs and an API. The mode you choose sets your cost, latency and failure points, so decide it in the design review.
- S3 with SQS (recommended): Elastic recommends this mode because it avoids scanning the whole bucket. Confirm the bucket notifications and queue permissions in your account before testing.
- S3 polling: The integration lists the bucket directly. That scanning is the behavior SQS mode is meant to avoid, so polling needs a reason on record.
- CloudWatch Logs: Elastic's page states that CloudWatch Logs APIs allow 5 transactions per second per account and region. Size your trail volume and log group layout against that ceiling.
- AWS request charges: Elastic says the integration generates extra AWS API request charges. AWS bills them to your account, they recur for as long as collection runs, so ask your AWS owner to model them.
- Support boundary: Security Onion's documentation says Elastic provides third-party integrations, the Security Onion team does not specifically test them, and they receive best-effort support. Write that into your support plan.
Before go-live, confirm the mode your trail delivery supports, the queue and IAM permissions, and who answers for the integration version you deploy.
OpenSearch Security Analytics includes a cloudtrail log type that monitors AWS CloudTrail events. OpenSearch can ingest CloudTrail data from Amazon S3 and Amazon Security Lake accounts, but the log type supplies field mappings for detection rules and does not describe an agent or collection method. Getting events from AWS into the index is therefore a pipeline decision your team designs and confirms.
- Log type scope: The log type maps CloudTrail fields so detection rules can match them. Transport, retries and credentials sit outside it.
- S3 source: Confirm bucket access, object format and notification settings in the Data Prepper S3 source reference before you write the pipeline.
- Security Lake source: If CloudTrail already lands in Amazon Security Lake, confirm the data arrives in a shape the log type's field mappings can read. Test that rather than assuming it.
- Pipeline ownership: Your team or implementer owns retries, failed-object handling, IAM scope and monitoring of the pipeline itself. Write each owner into the design.
- Test path: Send a known event through the full path and confirm the expected fields appear before any detection is trusted.
Ask for a written pipeline design that names the source, authentication, failure handling and the test event used to prove the path.
Both paths need the same proof before anyone trusts CloudTrail coverage: a known event starts at the source and is found in the index with the fields detections depend on. The steps are the same on both platforms, so run the checks once per path and record the results.
- Trail coverage: Confirm in the AWS console or CLI which regions the trail covers and that events reach the bucket or log group. Check the source before the SIEM.
- Permissions: Confirm the IAM role can read the bucket, queue or log group for the mode you chose. Record the policy scope in the design.
- Cost check: Review AWS billing for a test window after enabling collection, since Elastic notes the integration adds API request charges.
- Field check: Compare a sample event in the index with the field names your detections use, on either platform.
- Rate check: For CloudWatch Logs mode, measure delivery against the 5 transactions per second per account and region limit before you size the deployment.
Keep the test event, the results and the owner of each check in the implementation record, because your auditors and your own team will ask how coverage was proven.
Security Onion vs OpenSearch for CloudTrail collection, parsing and limits
This table compares how Security Onion and OpenSearch each handle AWS CloudTrail logs, from collection and source setup to parsing, detections and documented limits. Security Onion ships CloudTrail through an Elastic-provided integration with a best-effort support boundary, while OpenSearch offers a CloudTrail log type that supplies detection field mappings but does not describe a collector. Where a detail is not documented, the named vendor or your AWS team is the next check.
| Aspect | Security Onion | OpenSearch |
|---|---|---|
| Collection method | Elastic's aws integration pulls from S3 (SQS recommended), CloudWatch Logs or an API. | Ingests from Amazon S3 and Amazon Security Lake. Confirm the exact pipeline (for example, Data Prepper's S3 source) in your own setup. |
| Agent or module | Elastic Agent and Fleet, which Security Onion bundles, run the Elastic aws integration. Confirm the policy settings in Fleet. | Not described on the CloudTrail log type page. Confirm collection components with OpenSearch support or your team. |
| Source requirements | CloudTrail delivered to S3 (with SQS notifications) or CloudWatch Logs. Confirm IAM and trail settings against Elastic's CloudTrail page. | CloudTrail data in Amazon S3 or Security Lake. Required permissions are not on the log type page; confirm with your AWS team. |
| Licence and tier for this source | Security Onion itself is ELv2. Elastic provides this integration, which Security Onion lists as supported since 2.4.10. Confirm the tier with Elastic. | Apache-2.0 across the project. No paid edition is described in the FAQ. Confirm any commercial support terms with your provider. |
| Parsing and field mapping | Parsing is handled by the Elastic integration. Confirm the field mapping and version you get in your environment. | Log types supply field mappings that detection rules use. Confirm how raw events are parsed into those fields in your pipeline. |
| Detections | CloudTrail-specific detections are not documented on the integration page. Confirm shipped rules with Security Onion Solutions. | Security Analytics matches ingested logs against prepackaged or custom Sigma rules and correlates findings across log types. Confirm the CloudTrail rule set in your version. |
| Documented limits | Elastic's CloudWatch Logs APIs allow 5 transactions per second per account and region. The integration adds AWS API charges. | No CloudTrail-specific ingest limits are documented on the log type page. Confirm throughput and quotas with OpenSearch support. |
| Support model | Elastic provides the integration. Security Onion says it is not specifically tested by its team and gets best-effort support. | The OpenSearch Software Foundation is a Linux Foundation project and does not oversee technical work. Confirm commercial support with your provider. |
| Version currency | Security Onion 2.4 reached end of life on October 1, 2026. Latest tagged release is 3.3.0, published September 11, 2026. | OpenSearch 3.9.0 released September 29, 2026. The 2.19 line received 2.19.6 on July 6, 2026. |
What parsing and detections each documents for CloudTrail
Security Onion and OpenSearch both reach CloudTrail data, but they split the work differently. Security Onion supports an Elastic integration that handles collection and parsing, while OpenSearch supplies field mappings that its Security Analytics rules match against. Neither platform's CloudTrail rule count or dashboard set is stated on this page, so ask both vendors for current counts for the versions you plan to run.
Security Onion parsing through Elastic
Security Onion collects CloudTrail through the Elastic aws integration, which its third party integrations page lists as supported since Security Onion 2.4.10. Elastic's CloudTrail integration reads from S3 by polling or through SQS, and it also supports CloudWatch and an API. Elastic recommends SQS mode so the collector does not scan the whole bucket. Security Onion says Elastic provides these integrations, does not test them specifically, and offers best-effort support, so plan your own testing. On your version, confirm which integration release and field names arrive in your dashboards.
Elastic CloudTrail docsSecurity Onion CloudTrail detections
Security Onion's CloudTrail detection coverage is the gap to close first. Ask Security Onion Solutions whether any detection content in your release targets CloudTrail events, which event names it covers, and who maintains it. Until coverage is confirmed, treat CloudTrail alerting as something you build and test yourself. Ask for the current count for your version, and do not plan around any number until you have seen the content itself.
OpenSearch CloudTrail field mappings
OpenSearch Security Analytics includes a cloudtrail log type that monitors AWS CloudTrail events, and OpenSearch can ingest that data from Amazon S3 and Amazon Security Lake accounts. The log type supplies field mappings, not a collector, and the documentation does not describe a collection agent. Rule matching depends on those field names, so check that your pipeline writes events into the names the log type expects before you trust any match results.
CloudTrail log type docsSigma rule matching and correlation
Security Analytics matches ingested logs against prepackaged or custom Sigma rules, records the matches as findings, and correlates those findings across log types. For CloudTrail, this lets an identity event be read alongside activity from another source, which can add context to a single API call. Confirm which prepackaged rules apply to the cloudtrail log type in your version, and test any custom Sigma rule against sample events from your own account before you rely on correlated findings.
Security Analytics docsRetention and volume: what changes the storage plan for CloudTrail
Retention and volume set the storage plan for CloudTrail, and the platform choice comes second. CloudTrail volume follows account activity: the API calls you record, the regions you enable and the trails you run, so a busy account produces more data than a quiet one under the same settings. Recurring costs appear in three places. The first is S3 storage for the CloudTrail files, which grows with how long you keep them. The second is CloudWatch Logs API requests if the collection path reads through CloudWatch, which carry their own AWS charges. The third is the search layer that holds indexed events, where the length of time events stay searchable drives disk and memory. Security Onion bundles Elasticsearch, and OpenSearch is derived from Elasticsearch 7.10.2, so both store indexed events on an Elasticsearch-derived layer. The sizing questions you ask of one largely apply to the other.
Security Onion publishes a hardware baseline of 4 CPU cores, 24GB RAM and 200GB storage for a standalone install, and suggests 32GB of RAM or more when monitoring even a small amount of network traffic. These figures apply to the whole installation, which runs Suricata, Zeek, packet capture and Elasticsearch together. They describe the appliance, not the CloudTrail volume, so do not use them to size CloudTrail storage. Confirm the retention periods and index lifecycle settings for each platform with the vendor or project before you commit to a size. These settings decide how long events stay searchable, when older indices move or get deleted, and how much disk the search layer needs. Ask each side to document its defaults and the options available for your deployment.
Build the storage plan from your own numbers. Measure the CloudTrail volume for a representative period in the S3 bucket and in CloudWatch, then model three quantities: how long events stay searchable, how long files stay in S3, and how many CloudWatch Logs API calls the collection path makes each day. Elastic's CloudTrail integration page recommends SQS mode over scanning the whole bucket, which changes the request profile. It also notes that CloudWatch Logs APIs allow 5 transactions per second per account and region, so a high-volume account on that path can reach that limit. Compare the collection modes before fixing the plan. Then ask any implementation partner for a quote that states the search capacity, the retention settings and the S3 and API assumptions in the written scope, so the cost of a longer retention period is visible before it is approved.
How to prove CloudTrail events reach the SIEM before go-live
This sequence produces written evidence that CloudTrail events leave AWS, reach the SIEM, parse into usable fields and trigger a chosen detection before go-live. Each check creates a record that the security and cloud teams can review together. The same steps apply to Security Onion and OpenSearch, with platform-specific checks where their collection paths differ.
Confirm trail scope and delivery location
The cloud team confirms which CloudTrail trail feeds the SIEM, including whether it covers all Regions, which event types it records (management, data or insight events) and which S3 bucket receives the log files. Check the trail configuration in the AWS console or export it as infrastructure code, then compare it with the written logging plan. If the organization uses multiple accounts, confirm each account's trail separately against AWS documentation. Done when the trail name, Region scope, event types and bucket name are recorded in the test plan and the security team has signed off on that scope.
Choose the collection path and record limits
Pick one collection path per platform and record its documented limits. For Security Onion, the Elastic AWS integration reads from S3 by polling or through SQS, CloudWatch or an API, and Elastic recommends SQS mode so the integration does not scan the whole bucket. If CloudWatch is chosen, Elastic's documented limit is 5 transactions per second per account and region. For OpenSearch, confirm the S3 path in the Data Prepper documentation, since the CloudTrail log type supplies field mappings without describing a collection method. Done when the path, its limits and the best-effort support model for Elastic-provided integrations are in the signed test plan.
Confirm read permissions and API charges
The AWS administrator creates a read-only role or policy for the collector that covers the trail's S3 bucket and, if used, the SQS queue or CloudWatch log group. The platform owner checks every permission the collector needs against the vendor's integration documentation. Elastic states that its CloudTrail integration generates extra AWS API request charges, so the cloud finance owner should estimate those charges using AWS pricing for the chosen path and record what drives them, such as polling behavior and queue use. Done when the cloud team has reviewed the permission list and the charge estimate is filed with the test plan.
Verify events arrive and parse correctly
Generate a small set of normal AWS activity, then compare event counts in the SIEM with the CloudTrail records delivered to the bucket for the same period. Open several events and check that core CloudTrail fields, such as event time, event source, event name, source IP address and user identity, map to the fields the detections expect. The analyst who owns the detections should run this check, because a silent parsing gap produces an empty dashboard that looks healthy. Done when a written sample of parsed events, with field names and index names, matches the expected mapping for each platform.
Run a controlled API action and confirm detection
In a dedicated test account, the security engineer runs one low-risk AWS API action that the chosen detection is meant to catch, such as creating and then deleting a test IAM user, and notes the exact time and principal. Illustrative example: if the detection covers IAM user creation, the alert should name the test principal and the matching event name. For Security Onion, confirm the detection that matches the action is enabled and that the alert appears. For OpenSearch, confirm the Security Analytics detector using the CloudTrail log type and its Sigma rules produces a finding. Done when the alert or finding is captured with its timestamp, rule name and CloudTrail event ID, and the team agrees the detection behaves as documented.
Record retention and cost drivers in writing
The platform owner writes down how long CloudTrail files stay in the S3 bucket, how long events stay searchable in the SIEM and what storage and compute each retention choice requires. For Security Onion, the documented bare minimum for a standalone install is 4 CPU cores, 24GB RAM and 200GB storage, and the documentation suggests 32GB of RAM or more when monitoring even a small amount of network traffic. Ask the vendor or your architect to confirm whether CloudTrail volume changes that sizing. Record who pays for each cost: AWS for API requests and storage, and the platform team for hardware and staff time. Done when the retention periods, sizing assumptions and cost owners are signed in the plan.
Repeat the test after each platform upgrade
After every platform upgrade, rerun the parsing and detection checks against the same trail and a fresh controlled action, then compare the results with the stored baseline. For Security Onion, 3.0.0 was released on March 31, 2026, and 2.4 reached end of life on October 1, 2026, so 2.4 installations need a planned move before the test can be repeated on the new line. For OpenSearch, read the release notes for changes to detectors, mappings and pipelines before the upgrade. Repeat the test as well whenever the AWS trail configuration or the collection path changes. Done when the new test record is filed with the change ticket and any failed check blocks the upgrade until it is fixed.
What CloudTrail onboarding asks of your team and budget
How much effort does CloudTrail onboarding take and what drives it?
Effort is driven by how many AWS accounts and regions you collect from, which collection path you choose, and how much detection work follows the first events. Security Onion's documented route for CloudTrail is the Elastic aws integration, which can read from S3 by polling or through SQS, and Elastic recommends SQS mode so the collector does not scan the whole bucket. That choice means your AWS administrators must configure queues, bucket notifications and read permissions before the SIEM side can be tested. OpenSearch's Security Analytics includes a cloudtrail log type that can ingest from S3 and Amazon Security Lake, but its documentation describes field mappings for rules and does not describe a collection method, so the ingestion pipeline is yours to design. Most of the effort tends to sit in field validation, rule tuning and proving that events arrive correctly in every account.
Which CloudTrail onboarding costs are one-time and which recur?
Setup, detection build and hardening are one-time costs, while AWS charges, storage, hosting, staff time and any paid software license recur. Elastic's CloudTrail page says the integration generates extra AWS API request charges, and its CloudWatch Logs APIs allow 5 transactions per second per account and region, so polling designs add request cost and a throughput limit to plan around. Storage grows with retention in both S3 and your SIEM. Security Onion's hardware documentation lists bare minimum hardware of 4 CPU cores, 24GB RAM and 200GB storage for a standalone install and suggests 32GB of RAM or more even for small network monitoring loads. Treat those figures as a floor for a standalone install, and confirm sizing for CloudTrail alone. Security Onion is free under the Elastic License 2.0, while Security Onion Pro is a paid license, so ask whether you need its features. In a quote, ask the vendor to show who pays each recurring line.
What does CloudTrail onboarding require from your team?
Onboarding needs four roles in place before the first CloudTrail event reaches a detection:
- AWS administration: trail configuration, the accounts and regions in scope, and any encryption keys on the logs.
- S3 and SQS setup: bucket notifications, the queue, and the IAM permissions the collector uses to read objects and messages.
- SIEM administration: the Security Onion or OpenSearch deployment, index retention, roles and audit logging.
- A detection owner: someone who writes, tunes and approves detections and decides which CloudTrail events matter.
One person can cover more than one role in a small team, but each role needs a named owner before the build starts.
Can an in-house team set up CloudTrail onboarding alone?
Often yes, if the team already runs AWS and a SIEM and can name a detection owner, but the gaps sit in ongoing upkeep and collection design. Security Onion documents that third party integrations, including the Elastic aws integration, are provided by Elastic, are not specifically tested by the Security Onion team and receive best-effort support, so your team owns breakage and upgrades after each change. Confirm the exact IAM policies, queue settings and field mappings with the vendor or in a test account before production, because the level of detail varies by collection path. A team short on one role can scope that gap as a fixed-scope engagement. DeployOpen plans, implements, integrates and documents self-hosted platforms inside the client's own infrastructure, so confirm in writing which of those tasks are included.
How long does CloudTrail onboarding take from start to finish?
No published duration covers CloudTrail onboarding on either platform, so the written scope sets the timeline. The main variables are the number of accounts and regions, how quickly your AWS and SIEM changes move through approval, how many other log sources share the pipeline, and how many detections must be tested and retested. Fixed-scope engagements from DeployOpen agree scope, deliverables and timelines in writing before work starts, so ask for a schedule tied to named accounts, named detections and a retest point. Change windows and approval steps can set the pace as much as the build does, so check your change board's lead times before you agree a start date.
What should a quote for CloudTrail onboarding include?
A quote should state the platform version, the collection path, the detections to be tested and the retest, plus who pays for each recurring line.
- Platform version: the Security Onion release and operating system target. Security Onion 2.4 reached end of life on October 1, 2026, and 3.0.0 supported only Oracle Linux 9, so ask for a plan on a currently supported release, such as the 3.3.0 line (hotfix 20260911).
- Collection path: SQS, polling, CloudWatch or API, with the accounts and regions in scope.
- Detections: each detection to be tested, with its CloudTrail event source and the alert it should produce.
- Retest: whether fixes are retested, what evidence is delivered, and whether the retest is included in the price.
Also ask for the AWS request and storage assumptions, any Security Onion Pro license decision and the handover documentation.
How DeployOpen onboards CloudTrail into either SIEM
DeployOpen approaches Security Onion vs OpenSearch for AWS CloudTrail logs as a fixed-scope implementation, starting with the CloudTrail sources, the collection path and the SIEM that will receive the events. The written scope runs both options against the same sources and detections, so the comparison holds up in your environment. Ongoing support, upgrades and continuous testing are available as retainers.
How we scope
- The written scope names the CloudTrail accounts, regions and trails in scope for collection.
- We confirm the trail's S3 or CloudWatch delivery, since Elastic recommends SQS mode for S3 sources.
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we build
- For Security Onion, we configure the Elastic aws integration and test it against the in-scope CloudTrail source.
- For OpenSearch, we design the collection path ourselves, because the log type supplies field mappings and detections only.
- Detections are mapped to the log fields each platform actually produces, and gaps are written into the report.
How we hand over
- Handover covers configuration notes, the collection path, and the detections tested for each option.
- Runbooks name the CloudTrail permissions, queue settings and AWS request costs your team must monitor.
- Security and compliance staff receive the documented setup to review against their own requirements.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Security Onion's Elastic aws integration gets best-effort support, so confirm the support path in writing.
- Upgrades for either platform are scoped separately, with version changes checked against the vendor release notes.

