No commit activity in last 3 years
No release in over 3 years
Fluentd plugin to parse parse values of your selected key.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.14
~> 12.0
~> 3.0

Runtime

< 2, >= 0.14.10
 Project Readme

fluent-plugin-onekeyparse

Fluentd filter plugin to parse values of your selected key.

Requirements

fluent-plugin-onkeyparse fluentd ruby
>= v0.1.0 >= v0.14 >= v2.4.3

Installation

RubyGems

$ gem install fluent-plugin-onekeyparse

Bundler

Add following line to your Gemfile:

gem "fluent-plugin-onekeyparse"

And then execute:

$ bundle

Configuration

name type description
in_format string parser format
in_key string a key you want to parse
out_record_keys string output record keys
out_record_types string output record types

A sample configuration is following.

<filter>
  @type onekeyparse
  in_format ^(?<val1>[^ ]*) (?<val2>[^ ]*) (?<val3>[^ ]*)$
  in_key key1
  out_record_keys val1,val2,val3
  out_record_types string,string,string
</filter>

You can generate configuration template:

$ fluent-plugin-config-format filter onekeyparse

You can copy and paste generated documents here.

Copyright

  • Copyright(c) 2018- tanan
  • License
    • Apache License, Version 2.0