No commit activity in last 3 years
No release in over 3 years
de-dot field name for elasticsearch 2.x
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.11
~> 10.0
>= 0

Runtime

< 2, >= 0.14.0
 Project Readme

fluent-plugin-dedot_filter

Gem Version Build Status Maintainability Coverage Status downloads MIT License

Fluentd Filter plugin to de-dot field name for elasticsearch.

Requirements

fluent-plugin-dedot_filter fluentd
>= 1.0.0 >= v0.14.0
< 1.0.0 >= v0.12.0

Installation

Add this line to your application's Gemfile:

# for fluentd v0.12
fluent-gem install fluent-plugin-dedot_filter -v "< 1.0.0"

# for fluentd v0.14 or higher
fluent-gem install fluent-plugin-dedot_filter

# for td-agent2
td-agent-gem install fluent-plugin-dedot_filter -v "< 1.0.0"

# for td-agent3
td-agent-gem install fluent-plugin-dedot_filter

Usage

<filter access.apache>
  @type             dedot
  de_dot            true
  de_dot_separator  _
  de_dot_nested     false
</filter>

parameters

  • de_dot (default: true)
  • de_dot_separator (default: '_')
  • de_dot_nested (default: false)

de_dot_separator cannot be or contain '.'. de_dot_nested will cause the plugin to recurse through nested structures (hashes and arrays), and remove dots in those key-names too.

License

The gem is available as open source under the terms of the MIT License.