-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
Description
Component(s)
receiver/awss3
Is your feature request related to a problem? Please describe.
When configuring AWS to write VPC Flow Logs/Cloudtrail Logs/... to S3 bucket it uses <year>/<month>/<day>/<hour>/ partitioning. However, awss3receiver uses a hardcoded partitioning year=<year>/month=<month>/day=<day>/hour=<hour>/ code.
It also adds logs_ to the file prefix with no possibility to override it. The file_prefix param only prepends the prefix, but the logs_ (or metric_/traces_) remain
Which results in "No telemetry found for time" messages
Describe the solution you'd like
- Add a
s3_partition_formatparameter like it is done inawss3exporterlink - Add possibility to override file prefix (for Logs telemetry type it is
logs_) code
Describe alternatives you've considered
Workaround:
- enable "Hive compatible partitioning" (option available for VPC Flow Logs)
- set
file_prefixto<aws-account-id>_vpcflow(the filename begins with<aws-account-id>_vpcflowlogs_<aws-region>_..., so it haslogs_in it)
Additional context
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
axw and Vlaaaaaaad