Sha256: 1786c5e0d6bac8462d0e84e9c1592274ae386c7014c1f35384fc767744263da9

Contents?: true

Size: 829 Bytes

Versions: 1

Compression:

Stored size: 829 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

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-mutate_filter-0.3.1 README.md