Giter VIP home page Giter VIP logo

yell-adapters-gelf's Issues

Allow to set UDP or TCP protocoll

Since GELF protocoll supports TCP as well as TCP it would be good if one could set the protocol also within yell-adapters-gelf. Currently it is sending via UDP as a default.

List on Graylog Marketplace

We have launched the beta of the Graylog Marketplace: https://marketplace.graylog.org/

The Marketplace is the central directory of all Graylog add-ons and integrations, including GELF libraries.

You would help us a lot if you could submit your GELF library there as we will be shutting down the old listing of GELF libraries soon.

Make it possible to use global additional gelf parameter

Hi Rudi,

as discussed here: rudionrails/yell#24 (comment) I wanted to add a feature request for the yell-adapters-gelf.

It would be great if one could add a global additional gelf parameter/ field so that every message send to the server would also carry the additional field without explicitly add it to every message directly.

For example additional field "logger_name" submitted for every message:

logger.adapter :gelf, :host => '192.168.65.144',
                              :port => 12201,
                              :facility => DAEMON_NAME + curr_env,
                              "_logger_name" => name

Don't know if such a thing is even possible but I would find this very much useful!

best
Martin

Support for custom fields

How about adding support for custom fields?

Perhaps something like this in greylog.rb :
_datagrams = datagrams(
{'version' => '1.0',
...
...
}.merge(Thread.current["custom_log_fields"] || {})
)

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.