Coder Social home page Coder Social logo

sushsampath / fluentd-coralogix-image Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coralogix/fluentd-coralogix-image

0.0 2.0 0.0 52 KB

It's a modificated version of official FluentD image with support of integration with Coralogix, multiprocessing and K8S.

Home Page: https://coralogix.com/integrations/https://coralogix.com/integrations/kubernetes-integration/

Makefile 4.95% Dockerfile 18.96% Ruby 76.09%

fluentd-coralogix-image's Introduction

FluentD-Coralogix-Docker-Image

It's a modificated version of official FluentD image with support of integration with Coralogix and K8S.

Installation

You can build image manually with cmake utility

$ make build

or pull ready image from our repository:

$ docker pull coralogixrepo/fluentd-coralogix-image:latest

Also you can deploy this image with docker-compose. For details watch Docker-compose example.

Features

This image provides collecting logs from:

Syslog

For example you can setup sending logs from nginx:

http {
...
access_log    syslog:server=<FLUENTD_HOST>:5140,tag=nginx_access;
error_log     syslog:server=<FLUENTD_HOST>:5140,tag=nginx_error info;
...

Graylog2

This service listen port 12201 and can receive message in Graylog2 format, for example from Docker GELF.

HTTP

It received logs in JSON format:

$ curl -X POST -d 'json={"action":"login","user":2}' \
$ http://<FLUENTD_HOST>:9880/applications.tag_name;

also data includes sender hostname information(hostname).

FluentD

Used to receive event logs from other Fluentd instances, the fluent-cat command, or client libraries.

For example can be provided for Docker.

If you run container manualy

$ docker run -dit \
$ --log-driver=fluentd \
$ --log-opt fluentd-address=<FLUENTD_HOST>:24224 \
$ alpine echo "Hello world!"

or with docker-compose:

version: "3"
services:
  web:
    restart: always
    image: nginx
    container_name: nginx
    environment:
      - NGINX_HOST=example.com
    logging:
      driver: fluentd
      options:
        fluentd-address: <FLUENTD_HOST>:24224
    ports:
      - "80:80"
      - "443:443"

Kubernetes (K8S)

This image have K8S support. For details watch Kubernetes example. Also you can install it with Helm package manager.

Development

This image build automatically with Travis CI. To provide image version add tag to your commit and it will be grabbed with CI worker.

Attention!

Image will be builded only if commit was made in master branch. If you want to change this condition see .travis.yml.

fluentd-coralogix-image's People

Contributors

eldaraliiev avatar

Watchers

 avatar  avatar

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.