No release in over a year
Message splitter filter for Fluentd
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 2.1
~> 13.0
~> 3.3

Runtime

 Project Readme

fluent-plugin-filter-split-message

A fluentd filter plugin for splitting messages by a customizable delimiter.

Sample

  {"message": "abc,def,ghi"}

.. is turned into ..

  {"message": "abc"}
  {"message": "def"}
  {"message": "ghi"}

Usage

Install the plugin:

# 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 "<desired version>"

Create a logdrain and update your fluent configuration:

<filter>
  @type split_message

  # (Optional) The delimiter to use, defaults to ","
  delimiter ,

  # (Optional) The target field, defaults to "message"
  field_key message
</source>

Credit