Giter Club home page Giter Club logo

Comments (3)

KodrAus avatar KodrAus commented on July 20, 2024

Hi @Ergamon 👋

We actually don't have a nice way to do this currently. Seq's CLI has this concept of extraction patterns that would be a good fit for this. We don't have a Rust implementation of them yet but I think this sounds like a great addition.

from seq-input-gelf.

Ergamon avatar Ergamon commented on July 20, 2024

Thanks for your quick reply. At least I now know that I have not overlooked something ;)

Intitially I had thought about some regex replace mechanism, but what you showed is also fine.

As every container has its own "logging syntax" it cannot be something hard wired in the gelf server.

If I could wish for this new feature, my idea would be to have some label on the container for the extraction pattern.
So server side I would configure the name of the label for the pattern, which is then not send to the seq.
On the container side I would have to add the label and add the label to the logging options for gelf.

from seq-input-gelf.

KodrAus avatar KodrAus commented on July 20, 2024

Coming back to this, the way you could do this today would be through something like fluentbit, which lets you transform and reshape your logs between their producer and the eventual consumer. In the future we might consider some similar data pipelining functionality in Seq itself, but don't have any immediate plans for it.

This would be great to support, but having thought about it I think we should avoid accumulating these sorts of configurable transformations in the GELF input itself.

Thanks again for the suggestion @Ergamon!

from seq-input-gelf.

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.