Skip to content
This repository has been archived by the owner on Sep 13, 2019. It is now read-only.

A fluentd filter plugin that will split period separated fields to nested hashes

License

Notifications You must be signed in to change notification settings

JonathanSerafini/fluent-plugin-explode_filter

Repository files navigation

Abandoned Project

NOTE: This project is no longer being maintained.

Fluent::Plugin::ExplodeFilter

This gem provides the explode Fluentd filter which is used to convert period separated fields to nested hashes.

The current use case being to expand Gelf formatted messages as well as to ensure compatibility with newer elasticsearch versions.

Requirements

  • Fluentd v0.12+
  • fluent-plugin-mutate_filter

Installation

gem install fluent-plugin-explode_filter

Configuration Options

<filter *>
  @type explode
</filter

Example

{
  "short_message": "a short message",
  "context.level": 5,
  "context.revision": "sha256"
}
{
  "short_message": "a short message",
  "context": {
    "level": 5,
    "revision": "sha256"
  }
}

About

A fluentd filter plugin that will split period separated fields to nested hashes

Resources

License

Stars

Watchers

Forks

Packages

No packages published