Giter Site home page Giter Site logo

docker-fluentd-gelf's Introduction

Docker image of Fluentd with GELF output plugin

Official fluentd image is used as a base image plus GELF output plugin is included. It uses TCP connection to Graylog2 server by default, so that log entries should not be lost due to network outages.

It is based on ideas/code from

What is Fluentd?

Fluentd is an open source data collector, which lets you unify the data collection and consumption for a better use and understanding of data.

www.fluentd.org

Fluentd Logo

Image versions

This image is based on the popular Alpine Linux project, available in the alpine official image. Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.

References

Build docker image

Based on the provided Dockerfile you can build and customize the docker image.

docker build -t qiiq/fluentd-gelf .

Running docker image

First run fluentd container

docker run --name fluentd -p 127.0.0.1:24224:24224 -p 127.0.0.1:24224:24224/udp -e GRAYLOG2_HOST=graylog.host -e GRAYLOG2_PORT=12201 qiiq/fluentd-gelf

Then you can start other containers with fluentd log driver:

docker run -d  --log-driver=fluentd --log-opt fluentd-address=127.0.0.1:24224 --log-opt fluentd-async-connect=true alpine sh

docker-fluentd-gelf's People

Contributors

qiq avatar

Watchers

 avatar  avatar

Forkers

sleighzy

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.