aws/cloudtrail
Vendor | Amazon Web Services (AWS) |
Author | CrowdStrike |
Version | 1.1.0 |
Minimum LogScale Version | 1.142.0 |
This package provides a parser for Amazon Web Services (AWS) CloudTrail events in JSON format.
Breaking Changes
This update includes parser changes, which means that data ingested after upgrade will not be backwards compatible with logs ingested with the previous version.
Updating to version 1.0.0 or newer will therefore result in issues with existing queries in for example dashboards or alerts created prior to this version.
See CrowdStrike Parsing Standard (CPS) 1.0 for more details on the new parser schema.
Follow the CPS Migration to update your queries to use the fields and tags that are available in data parsed with version 1.0.0.
Configurations and Sending The Logs to LogScale
First you need to follow Amazon's instructions to configure CloudTrail to send logs into an S3 bucket of your choice.
Then you need to configure LogScale to collect data from AWS S3 buckets using the aws-cloudtrail parser. Ingest Data from AWS S3 or self-hosted Ingest Data from AWS S3 LogScale deployments to send logs directly from S3 bucket into LogScale repository.
Installing the Amazon CloudTrail Package in LogScale
Find the repository where you want to send the CloudTrail logs, or create a new one.
Navigate to your repository in the LogScale interface, click Settings and then on the left.
Click
and install the LogScale package for CloudTrail (i.e. amazon/cloudtrail).
Verify Data is Arriving in LogScale
Once you have completed the above steps the CloudTrail data should be arriving in your LogScale repository.
You can verify this by doing a simple search for
#event.module = "cloudtrail" | #Vendor =
"aws"
to see the CloudTrail events.
Package Contents Explained
This package is only for parsing incoming data, and normalizing the data as part of that parsing. The parser normalizes the data to a subset of this schema based on OpenTelemetry standards, while still preserving the original data.
If you want to search using the original field names and values, you can access those in the fields whose names are prefixed with the word "Vendor". Fields which are not prefixed with "Vendor" are standard fields which are either based on the schema (e.g. source.ip) or on LogScale conventions (e.g. @rawstring).
The fields which the parser currently maps the data to, are chosen based on what seems the most relevant, and will potentially be expanded in the future. But the parser won't necessarily normalize every field that has potential to be normalized.