https://github.com/sonots/fluent-plugin-keep-forward
Fluentd plugin to keep forwarding to a node
https://github.com/sonots/fluent-plugin-keep-forward
fluentd-output-plugin fluentd-plugin to-do-v14 v10 v12
Last synced: 2 months ago
JSON representation
Fluentd plugin to keep forwarding to a node
- Host: GitHub
- URL: https://github.com/sonots/fluent-plugin-keep-forward
- Owner: sonots
- License: mit
- Created: 2013-03-15T07:22:16.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2017-09-14T19:57:15.000Z (almost 8 years ago)
- Last Synced: 2025-05-06T11:10:24.607Z (2 months ago)
- Topics: fluentd-output-plugin, fluentd-plugin, to-do-v14, v10, v12
- Language: Ruby
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# fluent-plugin-keep-forward [](http://travis-ci.org/sonots/fluent-plugin-keep-forward) [](https://gemnasium.com/sonots/fluent-plugin-keep-forward)
testing ruby: 1.9.2, 1.9.3, 2.0.0; fluentd: 0.10.x
## About
This is an extension of fluentd out\_forward plugin to keep fowarding log data to the same node (as long as possible).
## Parameters
Basically same with out\_forward plugin. See http://docs.fluentd.org/articles/out_forward
Following parameters are additionally available:
- keepalive (bool)
Keepalive connection. Default is `false`.
- keepalive_time (time)
Keepalive expired time. Default is nil (which means to keep connection as long as possible).
- heartbeat_type
The transport protocol to use for heartbeats. The default is “udp”, but you can select “tcp” as well.
Furthermore, in keep_forward, you can also select "none" to disable heartbeat.- keepforward
`one` for keep forwarding all data to the one node.
`thread` for keep forwarding to the different node in each thread.
`tag` for keep forwarding data with the same tag to the same node.
Default is `one`.- prefer_recover (bool)
Switch connection to a recovered node from standby nodes or less weighted nodes. Default is `true`.
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new [Pull Request](../../pull/new/master)## ChangeLog
See [CHANGELOG.md](CHANGELOG.md) for details.
## Copyright
Copyright (c) 2013 Naotoshi Seo. See [LICENSE](LICENSE) for details.