Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bitpatty/fluent-plugin-filter-split-message
A fluentd plugin for splitting incoming messages into multiple message
https://github.com/bitpatty/fluent-plugin-filter-split-message
fluentd fluentd-plugin
Last synced: 3 days ago
JSON representation
A fluentd plugin for splitting incoming messages into multiple message
- Host: GitHub
- URL: https://github.com/bitpatty/fluent-plugin-filter-split-message
- Owner: BitPatty
- License: mit
- Created: 2023-10-03T10:15:09.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-03T10:19:04.000Z (about 1 year ago)
- Last Synced: 2024-12-13T00:05:53.467Z (10 days ago)
- Topics: fluentd, fluentd-plugin
- Language: Ruby
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fluent-plugin-filter-split-message
A [fluentd](https://www.fluentd.org/) filter plugin for splitting messages by a customizable delimiter.
## Sample
```ruby
{"message": "abc,def,ghi"}
```.. is turned into ..
```ruby
{"message": "abc"}
{"message": "def"}
{"message": "ghi"}
```## Usage
Install the plugin:
```sh
# See https://github.com/BitPatty/fluent-plugin-filter-split-message/releases for a list of valid versions
gem install fluent-plugin-filter-split-message --version ""
```Create a logdrain and update your fluent configuration:
```conf
@type split_message
# (Optional) The delimiter to use, defaults to ","
delimiter ,# (Optional) The target field, defaults to "message"
field_key message```
## Credit
- [fluent-plugin-split-event](https://github.com/uken/fluent-plugin-split-event) used as plugin reference