Sha256: d575bcd4dcfdd059808503c23a061b00df3bdf3a48db02cc2379f5e840698af8

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

# fluent-plugin-multi-type-parser

[Fluentd](http://fluentd.org/) filter plugin to do something.

**for v1.0(v0.14) / td-agent3 only!**

## Configuration

This plugin is a parser filter plugin.

    <filter raw.syslog.**>
      @type multi_type_parser
      key_name message

      <parsers>
        <parse>
          @type regexp
          expression /.../
        </parse>
        <parse>
          @type regexp
          expression /.../
        </parse>
        <parse>
          @type custom_parser
          custom_parser_param  foo
          custom_parser_param2 bar
        </parse>
        <parse>
          @type none
        </parse>
      </parsers>
    </filter>

## Installation

### RubyGems

```
$ gem install fluent-plugin-multi-type-parser
```

### Bundler

Add following line to your Gemfile:

```ruby
gem "fluent-plugin-multi-type-parser"
```

And then execute:

```
$ bundle
```

## Configuration

You can generate configuration template:

```
$ fluent-plugin-format-config filter multi-type-parser
```

You can copy and paste generated documents here.

## Copyright

* Copyright(c) 2017- msysh
* License
  * Apache License, Version 2.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-multi-type-parser-0.0.1 README.md