The in_dummy input plugin generates dummy events. It is useful for testing, debugging, benchmarking and getting started with Fluentd.
in_dummy is included in Fluentd's core. No additional installation process is required.
<source>
type dummy
dummy {"hello":"world"}
</source>
NOTE: Please see the Config File article for the basic structure and syntax of the configuration file.
The value must be dummy.
The value is the tag assigned to the generated events.
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. By default, the value is [{"message":"dummy"}] (i.e., it continues to generate events with the record {"message":"dummy"}).
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}
It configures how many events to generate per second. The default value is 1.
INCLUDE: _log_level_params