Coder Social home page Coder Social logo

Comments (10)

daipom avatar daipom commented on July 23, 2024

I have moved the issue here because it is about out_s3.

from fluent-plugin-s3.

daipom avatar daipom commented on July 23, 2024

out_s3 plugin does not support append feature.
So, we need to upload files without duplicating file names.

I would like to have single log file on MinIO per day.

You can make out_s3 to upload files once a day.
(if you can tolerate very slow upload frequency...)

from fluent-plugin-s3.

arepusb avatar arepusb commented on July 23, 2024

You can make out_s3 to upload files once a day.
(if you can tolerate very slow upload frequency...)

Fluentd is already configured to upload logs to MinIO once per day. I attached config in the description.
Here is part of the config

timekey 1440m  
timekey_wait 10m

Anyway I get more than one file per day often. Their time difference is no more than two minutes (much less than 10m).

from fluent-plugin-s3.

daipom avatar daipom commented on July 23, 2024

Hmm, tag key or chunk_limit_size can be the cause.

<buffer tag,time>
chunk_limit_size 256m

from fluent-plugin-s3.

arepusb avatar arepusb commented on July 23, 2024

Size of log files ~ 200-300 bytes. It's much less than 256m.

from fluent-plugin-s3.

daipom avatar daipom commented on July 23, 2024

Then, please try removing tag key

- <buffer tag,time>
+ <buffer time>

from fluent-plugin-s3.

arepusb avatar arepusb commented on July 23, 2024

Then, please try removing tag key

- <buffer tag,time>
+ <buffer time>

To be honest I tested both variants before creation this request. Thank you for trying to help!

from fluent-plugin-s3.

github-actions avatar github-actions commented on July 23, 2024

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

from fluent-plugin-s3.

github-actions avatar github-actions commented on July 23, 2024

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

from fluent-plugin-s3.

daipom avatar daipom commented on July 23, 2024

@arepusb
Sorry for the interval.
Did you find out anything?

from fluent-plugin-s3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.