No commit activity in last 3 years
No release in over 3 years
Fluentd custom plugin to generate random values
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 0
 Project Readme

fluent-plugin-random

(Yet another Fluentd plugin)

What

Allows to replace generate random value (only in integer at the time of this README) in a the specified key.

How

You want to define :

  • Output field : field.
  • Integer interval : integer (syntax is the Ruby range..syntax)

More random type could come in the future (float, string)

Examples

Example 0

<match *.test>
    type random
    add_tag_prefix random.
    integer 15..100
    field key1
</match>

Example of records :

{
    'foo' => "bar"
}

... can output :

{
    'key1' => 42,
    'foo' => "bar"
}