Giter Site home page Giter Site logo

ictu / logspout-logstash Goto Github PK

View Code? Open in Web Editor NEW

This project forked from looplab/logspout-logstash

0.0 8.0 0.0 18 KB

A minimalistic adapter for github.com/gliderlabs/logspout to write to Logstash UDP

License: Apache License 2.0

Go 100.00%

logspout-logstash's Introduction

logspout-logstash

A minimalistic adapter for github.com/gliderlabs/logspout to write to Logstash UDP

Follow the instructions in https://github.com/gliderlabs/logspout/tree/master/custom on how to build your own Logspout container with custom modules. Basically just copy the contents of the custom folder and include:

import (
  _ "github.com/looplab/logspout-logstash"
  _ "github.com/gliderlabs/logspout/transports/udp"
)

in modules.go.

Use by setting ROUTE_URIS=logstash://host:port to the Logstash host and port for UDP.

In your logstash config, set the input codec to json e.g:

input {
  udp {
    port => 5000
    codec => json
  }
}

logspout-logstash's People

Contributors

maxekman avatar joakim666 avatar hekaldama avatar amouat avatar frederiknjs avatar samber avatar mut3 avatar bn0ir avatar

Watchers

James Cloos avatar Greyarch BV avatar Jeroen Peeters avatar Frank Niessink avatar Eduardo Lucas avatar Giovanni Renfurm avatar Johan Piet 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.