<commit_before># fluent-plugin-script

Fluent filter plugin to external ruby script.

[![Build Status](https://travis-ci.org/SNakano/fluent-plugin-script.svg)](https://travis-ci.org/SNakano/fluent-plugin-script)
[![Gem](https://img.shields.io/gem/dt/fluent-plugin-script.svg)](https://rubygems.org/gems/fluent-plugin-script)

## install

``
gem install fluent-plugin-filter-script
``

### Requirements

| fluent-plugin-script | fluentd    |
|----------------------|------------|
| >= 0.1.0             | >= v0.14.0 |
| <  0.0.4             | <  v0.14.0 |

## Configuration

#### fluent.conf
```<commit_msg>Fixing incorrect gem install ...<commit_after># fluent-plugin-script

Fluent filter plugin to external ruby script.

[![Build Status](https://travis-ci.org/SNakano/fluent-plugin-script.svg)](https://travis-ci.org/SNakano/fluent-plugin-script)
[![Gem](https://img.shields.io/gem/dt/fluent-plugin-script.svg)](https://rubygems.org/gems/fluent-plugin-script)

## install

``
gem install fluent-plugin-script
``

### Requirements

| fluent-plugin-script | fluentd    |
|----------------------|------------|
| >= 0.1.0             | >= v0.14.0 |
| <  0.0.4             | <  v0.14.0 |

## Configuration

#### fluent.conf
```
{'fraction_non_alphanumeric': 0.24183006535947713, 'fraction_numerical': 0.02287581699346405, 'mean_word_length': 2.592375366568915, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1932243', 'n_tokens_mistral': 458, 'n_tokens_neox': 437, 'n_words': 54}