S3
- 07 Aug 2025
- 1 Minute to read
- Print
- DarkLight
S3
- Updated on 07 Aug 2025
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback!
Overview
This Adapter allows you to ingest files/blobs stored in AWS S3.
Note that this adapter operates as a sink by default, meaning it will "consume" files from the S3 bucket by deleting them once ingested.
AWS S3 Requirements
Required IAM Permissions:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:GetObject",
"s3:DeleteObject"
],
"Resource": [
"arn:aws:s3:::your-bucket-name",
"arn:aws:s3:::your-bucket-name/*"
]
}
]
}
Configurations
Adapter Type: s3
client_options
: common configuration for adapter as defined here.bucket_name
: the name of the bucket to ingest from.access_key
: an Access Key from S3 used to access the bucket.secret_key
: the secret key associated with theaccess_key
used to access the bucket.prefix
: only ingest files with a given path prefix. Do not include a leading/
in the prefix.single_load
: iftrue
, the adapter will not operate as a sink, it will ingest all files in the bucket once and will then exit.
Infrastructure as Code Deployment
# AWS S3 Specific Docs: https://docs.limacharlie.io/docs/adapter-types-s3
# For cloud sensor deployment, store credentials as hive secrets:
# access_key: "hive://secret/aws-access-key"
# secret_key: "hive://secret/aws-secret-key"
sensor_type: "s3"
s3:
bucket_name: "your-s3-bucket-name-for-logs"
access_key: "hive://secret/aws-s3-access-key"
secret_key: "hive://secret/aws-s3-secret-key"
client_options:
identity:
oid: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
installation_key: "YOUR_LC_INSTALLATION_KEY_S3"
hostname: "aws-s3-adapter"
platform: "json"
sensor_seed_key: "s3-log-processor"
mapping:
sensor_hostname_path: "source_host"
event_type_path: "event_category"
event_time_path: "timestamp"
indexing: []
# Optional S3-specific configuration
prefix: "logs/application_xyz/" # Filter by object prefix
parallel_fetch: 5 # Parallel downloads
single_load: false # Continuous processing
API Doc
See the official documentation.
Was this article helpful?