Versions | v1.0 (td-agent3) | v0.12 (td-agent2)

dummy Input Plugin

The in_dummy input plugin generates dummy events. It is useful for testing, debugging, benchmarking and getting started with Fluentd.

Table of Contents

Example Configuration

in_dummy is included in Fluentd’s core. No additional installation process is required.

  @type dummy
  dummy {"hello":"world"}
Please see the Config File article for the basic structure and syntax of the configuration file.

Plugin helpers


Common Parameters


The value must be dummy.


type default version
string Nothing 0.14.0

The value is the tag assigned to the generated events.


type default version
integer 1 0.14.4

The number of events in event stream of each emits.


type default version
integer 1 0.14.0

It configures how many events to generate per second.


type default version
string nil 0.14.0

If specified, each generated event has an auto-incremented key field.

For example, with auto_increment_key foo_key, the first couple of events look like:

2014-12-14 23:23:38 +0000 test: {"message":"dummy","foo_key":0}
2014-12-14 23:23:38 +0000 test: {"message":"dummy","foo_key":1}
2014-12-14 23:23:38 +0000 test: {"message":"dummy","foo_key":2}


type default version
bool false 0.14.2

The boolean to suspend-and-resume incremental value after restart.


type default version
string [{"message": "dummy"}] 0.14.0

The dummy data to be generated. It should be either an array of JSON hashes or a single JSON hash. If it is an array of JSON hashes, the hashes in the array are cycled through in order.

Last updated: 2019-03-22 16:31:59 +0000

Versions | v1.0 (td-agent3) | v0.12 (td-agent2)

If this article is incorrect or outdated, or omits critical information, please let us know. Fluentd is a open source project under Cloud Native Computing Foundation (CNCF). All components are available under the Apache 2 License.