8000 GitHub - tanan/fluent-plugin-onekeyparse
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tanan/fluent-plugin-onekeyparse

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0