The dummy input plugin, generates dummy events. It is useful for testing, debugging, benchmarking and getting started with Fluent Bit.
The plugin supports the following configuration parameters:
Key | Description |
---|---|
You can run the plugin from the command line or through the configuration file:
In your main configuration file append the following Input & Output sections:
Dummy
Dummy JSON record. Default: {"message":"dummy"}
Metadata
Dummy JSON metadata. Default: {}
Start_time_sec
Dummy base timestamp in seconds. Default: 0
Start_time_nsec
Dummy base timestamp in nanoseconds. Default: 0
Rate
Rate at which messages are generated expressed in how many times per second. Default: 1
Samples
If set, the events number will be limited. e.g. If Samples=3, the plugin only generates three events and stops.
Copies
Number of messages to generate each time they are generated. Defaults to 1.