Sha256: 3d306e9dc4a5a2b3cfc9da0820f0f9bb3607ade3e43f5dd96b66bb25c22c728d

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

# fluent-plugin-dummydata-producer

## DummyDataProducerInput

Fluentd plugin to produce/generate dummy data and emits these data into Fluentd.

## Configuration

Configuration to emit dummy data with 3 variation:

    <source>
      type dummydata_producer
      tag  dummy.data
      rate 500        # messages per second
      dummydata0   {"type":"sample","code":50,"format":"json string allowed"}
      dummydata1   {"message":"other format needed?"}
      dummydata2   {"comment":"N of dummydataN is number and not limited"}
    </source>

With this configuration, this plugin emits about 500 messages in 1 second (0 -> 1 -> 2 -> 0 -> ...).

If you need message id for acknowledgement tests, incremental id feature available.

    <source>
      type dummydata_producer
      tag  dummy.data
      rate 500        # messages per second
      
      dummydata0   {"type":"sample","code":50,"format":"json string allowed"}
      dummydata1   {"message":"other format needed?"}
      dummydata2   {"comment":"N of dummydataN is number and not limited"}
      
      auto_increment_key id
    </source>

## TODO

* patches welcome!

## Copyright

* Copyright
  * Copyright (c) 2013- TAGOMORI Satoshi (tagomoris)
* License
  * Apache License, Version 2.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-dummydata-producer-0.0.1 README.md