Coder Social home page Coder Social logo

Comments (6)

repeatedly avatar repeatedly commented on August 25, 2024 1

There are 3 situations. Configuration example below:

  • Keep default format

format_json: false

2012-12-06T03:14:50Z    s3.hoge {"json":"message"}
  • Remove time / tag from same line

format_json: true

{"json":"message"}
  • Remove time / tag from same line and add removed time / tag to the record via default mixins

format_json: true
include_tag_key: true
include_time_key: true

{"json":"message", "tag":"s3.hoge", "time":1354763690}

What do you think?

from fluent-plugin-s3.

kzk avatar kzk commented on August 25, 2024

discussed with @frsyuki, and he prefers 'format_json' as an option name.

from fluent-plugin-s3.

tagomoris avatar tagomoris commented on August 25, 2024

FYI: output_include_time and output_include_tag options available with:

  • fluent-plugin-webhdfs
  • fluent-plugin-file-alternative
  • or other fluent-mixin-plaintextformatter included

from fluent-plugin-s3.

kzk avatar kzk commented on August 25, 2024

btw, @x0jellio sent a note to me that he's only interested in records. Meaning no need to include time and tag to the record.

from fluent-plugin-s3.

repeatedly avatar repeatedly commented on August 25, 2024

All

I pushed first implementation to suppor-format-json branch.
Please check!

from fluent-plugin-s3.

repeatedly avatar repeatedly commented on August 25, 2024

I think this issue is already resolved.

If you have more opinions, please reopen this issue.

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.