For the complete documentation index, see llms.txt. This page is also available as Markdown.

AWS CloudTrail

AWS CloudTrail is cloud audit log data that describes activity across your AWS accounts. This is one of the most valuable data sources for running detections in AWS. This guide walks through how to set up AWS CloudTrail as a log source in Scanner Collect, so that logs can be ingested from S3, normalized, and indexed for search and detection.

Create an Index Rule

Since AWS CloudTrail logs already land in S3, follow the Create an Index Rule guide to index them via Scanner Collect.

AWS CloudTrail Defaults

During creation, select AWS: CloudTrail as the source type to have the following defaults pre-populated:

  • File Type: CloudTrailJson

  • Compression: Gzip

  • File Regex: .*/CloudTrail/.*\.json\.gz$

  • Transformations: Add Metadata, Parse JSON Columns, ECS Normalization: AWS CloudTrail

  • Timestamp Field: .eventTime

Last updated

Was this helpful?