Code Monkey home page Code Monkey logo

Comments (6)

okkez avatar okkez commented on May 28, 2024

Sorry for delay.
I cannot imagine concrete use case. Could you describe concrete use case with real log examples?

from fluent-plugin-concat.

dontub avatar dontub commented on May 28, 2024

I'm using Supervisor to start services in a Docker container. In my case it's simplest to print everything to stdout/stderr and use the Docker fluentd logging driver so I also know from which container a message comes. Messages from Supervisor might be multiline. I can recognize by regular expression if a message comes from Supervisor or a service. If a message from a service arrives a possible previous Supervisor multiline message is finished.

from fluent-plugin-concat.

okkez avatar okkez commented on May 28, 2024

How about multiline_start_regexp?

<filter>
  @type concat
  multiline_start_regexp /(supervisord log start line regexp|application log start line)/
</filter>

from fluent-plugin-concat.

dontub avatar dontub commented on May 28, 2024

This would treat the application log as multiline, too. So I would need to use flush_interval and timeout_label and additional code to handle the timeout to get the last log. This would make the config unnecessary complicated.

from fluent-plugin-concat.

okkez avatar okkez commented on May 28, 2024

@dontub Sorry for delay, could you show me the concrete logs.
I want to know how complex supervisord and application log.

from fluent-plugin-concat.

okkez avatar okkez commented on May 28, 2024

No response.

from fluent-plugin-concat.

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.