Skip to content

jayhding/fluentd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fluentd

This image is based off the fluent/fluentd base image with the following modifications:

  • added fluent-plugin-elasticsearch
  • added fluent-plugin-parser
  • added fluent-plugin-rewrite-tag-filter
  • changed fluent.conf to be a forwarder only with some basic additions

Using this image eg:

docker run nodeintegration/fluentd-elasticsearch fluentd -c /fluentd/etc/fluent.conf -i '
<source>
@type forward
port 24224
</source>
<match **>
@type stdout
</match>'

When using the -i flag it appends config to the current config...in this image its empty so all config is supplied on the command line...you could obviously just point it to a different config file that you bind mount if you wish. fluentd needs the config to be newline separated.

If you dont have the option to specify the new lines like this, docker supports '\n' to inject newlines.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published