Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with dynamic bucket creation. #354

Open
mrmassis opened this issue Oct 6, 2020 · 3 comments
Open

problem with dynamic bucket creation. #354

mrmassis opened this issue Oct 6, 2020 · 3 comments

Comments

@mrmassis
Copy link

mrmassis commented Oct 6, 2020

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!

@github-actions
Copy link

github-actions bot commented Jul 6, 2021

This issue has been automatically marked as stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 30 days

@github-actions github-actions bot added the stale label Jul 6, 2021
@kenhys
Copy link
Contributor

kenhys commented Jul 8, 2021

Related to : #360, #363

@github-actions
Copy link

github-actions bot commented Oct 6, 2021

This issue has been automatically marked as stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 30 days

@github-actions github-actions bot added the stale label Oct 6, 2021
@kenhys kenhys removed the stale label Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants