Amazon Security Lake Destination
Use Observability Pipelines’ Amazon Security Lake destination to send logs to Amazon Security Lake.
Prerequisites
You need to do the following before setting up the Amazon Security Lake destination:
The Amazon Security Lake destination is in Preview. Complete the
form to request access.
- Follow the Getting Started with Amazon Security Lake to set up Amazon Security Lake, and make sure to:
- Enable Amazon Security Lake for the AWS account.
- Select the AWS regions where S3 buckets will be created for OCSF data.
- Take note of the Amazon Security Lake S3 bucket name. The bucket name is used when you set up the Amazon Security Lake destination in Observability Pipelines.
- Follow Collecting data from custom sources in Security Lake to create a custom source in Amazon Security Lake.
Setup
Set up the Amazon Security Lake destination and its environment variables when you set up a pipeline. The information below is configured in the pipelines UI.
Set up the destination
- Enter your S3 bucket name.
- Enter the AWS region.
- Optionally, toggle the switch to enable TLS. If you enable TLS, the following certificate and key files are required.
Note: All file paths are made relative to the configuration data directory, which is /var/lib/observability-pipelines-worker/config/
by default. See Advanced Configurations for more information. The file must be owned by the observability-pipelines-worker group
and observability-pipelines-worker
user, or at least readable by the group or user.Server Certificate Path
: The path to the certificate file that has been signed by your Certificate Authority (CA) Root File in DER or PEM (X.509).CA Certificate Path
: The path to the certificate file that is your Certificate Authority (CA) Root File in DER or PEM (X.509).Private Key Path
: The path to the .key
private key file that belongs to your Server Certificate Path in DER or PEM (PKCS#8) format.
Notes:
- When you add the Amazon Security Lake destination, the OCSF processor is automatically added so that you can convert your logs to Parquet before they are sent to Amazon Security Lake. See Remap to OCSF documentation for setup instructions.
- Only logs formatted by the OCSF processor are converted to Parquet.
Set the environment variables
There are no environment variables to configure for the Amazon Security Lake destination.
How the destination works
AWS Authentication
The Observability Pipelines Worker uses the standard AWS credential provider chain for authentication. See AWS SDKs and Tools standardized credential providers for more information.
Permissions
For Observability Pipelines to send logs to Amazon Security Lake, the following policy permissions are required:
s3:ListBucket
s3:PutObject
Event batching
A batch of events is flushed when one of these parameters is met. See event batching for more information.
Max Events | Max Bytes | Timeout (seconds) |
---|
None | 256,000,000 | 300 |