Sha256: 29fe8b19569a9d664656750e87b9f68f84546363aa644edf4f2b704e8fd987fb

Contents?: true

Size: 830 Bytes

Versions: 6

Compression:

Stored size: 830 Bytes

Contents

# Fluent::MutateFilter

This gem provides the `mutate` filter for Fluentd which is designed to replicate the way `mutate` works in Logstash as much as possible. 

To be honest, this is a translation of [logstash-filter-mutate](https://github.com/logstash-plugins/logstash-filter-mutate) bordering on copy-paste.

## Requirements

* Fluentd v0.12+

## Installation

```bash
gem install fluent-plugin-mutate_filter
```

## Configuration Options

All of the documentation and potential options are documented in the config_params section of the filter module. Below, only a subset of the options are displayed.

```
<filter *>
  @type     mutate
  rename {
    "old_field_name": "new_field_name",
    "old_nest.field_name": "new_nest.field_name"
  }
  replace {
    "new_nest.field_name": "%{old_nest.field_name}"
  }
</filter>
```

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fluent-plugin-mutate_filter-0.3.0 README.md
fluent-plugin-mutate_filter-0.2.1 README.md
fluent-plugin-mutate_filter-0.2.0 README.md
fluent-plugin-mutate_filter-0.1.2 README.md
fluent-plugin-mutate_filter-0.1.1 README.md
fluent-plugin-mutate_filter-0.1.0 README.md