Fluentd plugin for reading events from stdin
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
Author | Masahiro Nakagawa |
Copyright | Copyright (c) 2015- Masahiro Nakagawa |
License | MIT License |