Public | Automated Build

Last pushed: 2 years ago
Short Description
A Fluentd Docker container customized for send Docker logs to elasticsearch
Full Description

fluentd

A Fluentd Docker container customized for send Docker logs to elasticsearch

Default configurations

  • Expose port 24284

Testing

  • If we only want display logs at the screen

    $ docker run --name fluentd -p 24224:24224 scatt89/fluentd
    
  • Otherside, we can run an elasticsearch container first and later run this fluentd image linked to elasticsearch container

$ docker run --name fluentd -p 24224:24224 --link elasticsearch_container scatt89/fluentd
  • Finally we run our application containner with --log-driver option set to "fluentd" value
$ docker run --name myapp.jar -p 8080:8080 --link someImage
Docker Pull Command
Owner
scatt89
Source Repository