Skip to content

nodeintegration/logspout-fluentd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logspout-fluentd

Tiny Logspout adapter to send Docker container logs to Fluentd via UDP or TCP. This just the hosted working version of segmentio/logspout-fluentd.

Example

A sample docker-compose.yaml file:

version: '2'
services:
  logspout:
    image: nodeintegration/logspout-fluentd
    restart: on-failure
    environment:
      ROUTE_URIS: fluentd-tcp://fluentd:24224
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

  fluentd:
    image: nodeintegration/fluentd
    command: |+
      fluentd -c /fluentd/etc/fluent.conf -i '
      <source>
      @type forward
      port 24224
      </source>
      <match **>
      @type stdout
      </match>'

About

Hosted Logstash adapter for logspout https://hub.docker.com/r/nodeintegration/logspout-fluentd

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published