Sha256: 9b6ea75d0602b9bacd89776e28e1e3dbe9824c724ee8a5373ed0babed03391e1

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

# fluent-plugin-multi-type-parser

[Fluentd](http://fluentd.org/) filter plugin to parse multi format message.

## Installation

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

### If using `td-agent`

```
td-agent-gem install fluent-plugin-multi-type-parser
```

### Offline install

For example you cannot access the Gem repositories, you can install by store the file.

You store the file [filter_multi_type_parser.rb](./lib/fluent/plugin/filter_multi_type_parser.rb) in `/etc/fluent/plugin` (if using td-agent, `/etc/td-agent/plugin`). Plugin will be loaded automatically by fluentd/td-agent.

see also : "Plugin Management" - https://docs.fluentd.org/deployment/plugin-management

## Example 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>
```

## Copyright

* Copyright(c) 2017-2022 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.2 README.md