GitHub

Folders and files

NameName

Last commit message

Last commit date

Reading events from stdin for testing or small bulk loading.

Installation

Use RubyGems:

gem install fluent-plugin-stdin

Configuration

<source>
  type stdin
  # Input pattern. It depends on Parser plugin
  format none
  # Optional. default is stdin.events
  tag test.input
</source>

After that, you can send logs to fluentd via stdin like below.

cat /path/to/logs | fluentd -c stdin.conf

This plugin works on only non-daemon mode.

Copyright

AuthorMasahiro Nakagawa
CopyrightCopyright (c) 2015- Masahiro Nakagawa
LicenseMIT License

Read the original on github.com ↗