-
Notifications
You must be signed in to change notification settings - Fork 219
Open
Labels
Description
Hi everyone,
Is possible set the bucket name with the name of a record field, or tag?
Example
<filter logs.**>
@type record_transformer
enable_ruby true
auto_typecast true
<record>
tenant ${record["attrs"]["tag"].split('|')[1]}
</record>
</filter>
(...)
<match **>
@type copy
<store>
@type s3
(...)
s3_bucket ${record["tenant"]}
(...)
I receved logs from diferents tenants and wish put each one in a bucket.
Tkz in advance!