Source connector
AWS CloudTrail connector
AWS CloudTrail integration for databases, warehouses and BI tools
AWS account activity and API audit logging. Datrise captures AWS CloudTrail entities such as API events, identities, resources, event sources, error codes and request parameters, then lands normalized and typed models for warehouse reporting, attribution, and AI workflows.
The AWS CloudTrail API (LookupEvents) and S3 trail log delivery authenticates with service account, incremental runs key on StartTime / EndTime on LookupEvents (EventTime), and AWS CloudTrail caps calls at 2 LookupEvents requests per second per account per Region.
Of the 6 objects, 4 sync as upserts keyed on the primary key and 2 as append-only streams, so each incremental run moves only what changed since the last watermark. Every object lands in its own table (for example `aws_cloudtrail_api_events`) with a schema derived from the AWS CloudTrail API rather than a flattened CSV, in any of the 43 supported destinations.
Datrise is in early access: pick a destination below to open the AWS CloudTrail pipeline page, and join the waitlist to get the AWS CloudTrail connector with guided onboarding.
What AWS CloudTrail data Datrise extracts
Each object lands in its own typed table. Sync mode is derived from the object: history-style objects append, everything else upserts.
| Object | Landing table | Sync mode |
|---|---|---|
| API events | aws_cloudtrail_api_events | Append-only, incremental by timestamp |
| identities | aws_cloudtrail_identities | Upsert by primary key, incremental on updated-at |
| resources | aws_cloudtrail_resources | Upsert by primary key, incremental on updated-at |
| event sources | aws_cloudtrail_event_sources | Append-only, incremental by timestamp |
| error codes | aws_cloudtrail_error_codes | Upsert by primary key, incremental on updated-at |
| request parameters | aws_cloudtrail_request_parameters | Upsert by primary key, incremental on updated-at |
AWS CloudTrail API: setup facts for the connector
Verified against the vendor documentation on 2026-10-26. Unknown values are left blank rather than guessed.
| API | AWS CloudTrail API (LookupEvents) and S3 trail log delivery |
|---|---|
| Authentication | service account — AWS IAM credentials (user keys or an assumed role) signing requests with Signature Version 4; no OAuth or API-key header exists. |
| Pagination | token — `MaxResults` 1 to 50 (default 50) and an opaque `NextToken` that must be sent with identical parameters. |
| Rate limit | 2 LookupEvents requests per second per account per Region |
| Incremental cursor | StartTime / EndTime on LookupEvents (EventTime) — Results are returned newest first, so page back through a time window rather than relying on a forward cursor. |
| Webhooks | Not published |
| Bulk export | Yes — Trail log files delivered to S3 |
| Deletes detectable | Not published |
What bites when replicating AWS CloudTrail
- LookupEvents only covers management and Insights events from the last 90 days; data events and older history must be read from the S3 trail or an event data store.
- Only one LookupAttribute is allowed per request, so filtering by both user and event name must be done client-side.
- At 50 events per page and 2 requests per second, LookupEvents returns at most about 100 events per second per Region, which makes it unsuitable for high-volume accounts.
- Events are per Region: each Region needs its own LookupEvents calls unless a multi-Region trail delivers them to one bucket.
Popular destinations for AWS CloudTrail
Choose a destination below to open the ready pipeline page.
- AAirtable
Relational spreadsheet destination for ops and go-to-market teams.
View pipeline - AAmazon Athena
Serverless SQL over S3 data lake tables.
View pipeline - AAmazon DynamoDB
Serverless key-value and document store on AWS.
View pipeline - AAmazon QuickSight
AWS serverless BI with SPICE and embedded analytics.
View pipeline - AAmazon Redshift
AWS petabyte-scale warehouse with Spectrum.
View pipeline - AAmazon S3 Data Lake
Object storage landing zone for parquet and snapshots.
View pipeline - AApache Superset
Open-source BI for SQL exploration, charts, and dashboard publishing.
View pipeline - AAzure Data Lake Storage
ADLS Gen2 object storage for analytics workloads.
View pipeline - AAzure Synapse
Microsoft analytics workspace with SQL pools.
View pipeline
AWS CloudTrail connector FAQ
- What AWS CloudTrail data does the connector extract?
- 6 objects: API events, identities, resources, event sources, error codes and request parameters. Each lands in its own table with types preserved; history-style objects (2: API events and event sources) load as append-only streams.
- Is the AWS CloudTrail integration incremental?
- Yes. After the initial full load, every run reads only records changed since the last watermark (updated-at or event timestamp) and applies an upsert or an append depending on the object.
- Where can I load AWS CloudTrail data?
- Into 43 destinations: relational databases, cloud warehouses, data lakes, spreadsheets and BI tools. Each AWS CloudTrail → destination pair has its own page with the object-to-table mapping.
Related sources
Other sources in the same category, each with its own connector page.
Early access
Launch your AWS CloudTrail pipeline with guided onboarding
Join the waitlist to get priority access for AWS CloudTrail integrations with guided setup, schema-aware mapping, and production-grade incremental sync.