fluent-plugin-named_pipe
Named pipe input/output plugin for Fluentd.
Input Plugin
Configuration
<source>
type named_pipe
path /path/to/file
tag foo.bar
format ltsv
</match>
Parameters
-
path
The file path of the named pipe
-
tag
The emit tag name
-
format
The input format such as regular expression,
apache2
,ltsv
, etc. Same within_tail
plugin. See http://docs.fluentd.org/articles/in_tail
Output Plugin
Configuration
<match foo.bar.**>
type named_pipe
path /path/to/file
</match>
The output to the named pipe would be like:
foo.bar: {"foo":"bar"}
Parameters
-
path
The file path of the named pipe
-
format
The output format such as
out_file
,json
,ltsv
,single_value
. Default isout_file
.
ChangeLog
See CHANGELOG.md for details.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright
Copyright (c) 2014 Naotoshi Seo. See LICENSE for details.