https://github.com/sonots/fluent-plugin-filter_linefeeder
A fluentd filter plugin to convert "\\n" to "\n" (line feed)
https://github.com/sonots/fluent-plugin-filter_linefeeder
fluentd-filter-plugin fluentd-plugin v12 v14
Last synced: about 1 month ago
JSON representation
A fluentd filter plugin to convert "\\n" to "\n" (line feed)
- Host: GitHub
- URL: https://github.com/sonots/fluent-plugin-filter_linefeeder
- Owner: sonots
- License: mit
- Created: 2015-05-08T01:29:05.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-07-26T12:31:00.000Z (almost 9 years ago)
- Last Synced: 2025-03-06T00:35:20.071Z (about 1 year ago)
- Topics: fluentd-filter-plugin, fluentd-plugin, v12, v14
- Language: Ruby
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# fluent-plugin-filter_linefeeder
[](http://travis-ci.org/sonots/fluent-plugin-filter_linefeeder)
A Fluentd filter plugin to convert `\\n` to `\n` (line feed)
## What to do
I usually output rails application stacktrace logs with one line using my [oneline_log_formatter](https://github.com/sonots/oneline_log_formatter) so that I can easily collect logs.
This plugin recovers its `\\n` strings into `\n` (line feed)
## Requirements
Fluentd >= v0.12
## Install
Use RubyGems:
```
gem install fluent-plugin-filter_linefeeder
```
## Configuration Example
See [example.conf](example.conf)
## Parameters
* keys
* record keys seperated by comma (,)
## ChangeLog
See [CHANGELOG.md](CHANGELOG.md) for details.
## 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)
## Copyright
Copyright (c) 2015 Naotoshi Seo. See [LICENSE](LICENSE) for details.