Dummy
The dummy input plugin, generates dummy events. It is useful for testing, debugging, benchmarking and getting started with Fluent Bit.
Configuration Parameters
The plugin supports the following configuration parameters:
Key | Description | Default |
---|---|---|
Dummy | Dummy JSON record. |
|
Metadata | Dummy JSON metadata. |
|
Start_time_sec | Dummy base timestamp, in seconds. |
|
Start_time_nsec | Dummy base timestamp, in nanoseconds. |
|
Rate | Rate at which messages are generated expressed in how many times per second. |
|
Interval_sec | Set time interval, in seconds, at which every message is generated. If set, |
|
Interval_nsec | Set time interval, in nanoseconds, at which every message is generated. If set, |
|
Samples | If set, the events number will be limited. For example, if Samples=3, the plugin generates only three events and stops. | none |
Copies | Number of messages to generate each time they are generated. |
|
Flush_on_startup | If set to |
|
Threaded | Indicates whether to run this input in its own thread. |
|
Getting Started
You can run the plugin from the command line or through the configuration file:
Command Line
Configuration File
In your main configuration file append the following Input & Output sections:
Last updated