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:

Getting Started

You can run the plugin from the command line or through the configuration file:

Key Description
Dummy Dummy JSON record. Default: {"message":"dummy"}
Rate Events number generated per second. Default: 1

Command Line

  1. $ fluent-bit -i dummy -o stdout
  2. Fluent Bit v1.x.x
  3. * Copyright (C) 2019-2020 The Fluent Bit Authors
  4. * Copyright (C) 2015-2018 Treasure Data
  5. * Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
  6. * https://fluentbit.io
  7. [2017/07/06 21:55:29] [ info] [engine] started
  8. [0] dummy.0: [1499345730.015265366, {"message"=>"dummy"}]
  9. [1] dummy.0: [1499345731.002371371, {"message"=>"dummy"}]
  10. [2] dummy.0: [1499345732.000267932, {"message"=>"dummy"}]
  11. [3] dummy.0: [1499345733.000757746, {"message"=>"dummy"}]

Configuration File

In your main configuration file append the following Input & Output sections:

  1. [INPUT]
  2. Name dummy
  3. Tag dummy.log
  4. [OUTPUT]
  5. Name stdout
  6. Match *