Skip to content

Commit 2d1f980

Browse files
authored
in_dummy: add missing 'metadata' property (#1129)
Signed-off-by: Takahiro Yamashita <[email protected]>
1 parent 22b34b0 commit 2d1f980

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

pipeline/inputs/dummy.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The plugin supports the following configuration parameters:
99
| Key | Description |
1010
| :--- | :--- |
1111
| Dummy | Dummy JSON record. Default: `{"message":"dummy"}` |
12+
| Metadata | Dummy JSON metadata. Default: `{}` |
1213
| Start\_time\_sec | Dummy base timestamp in seconds. Default: 0 |
1314
| Start\_time\_nsec | Dummy base timestamp in nanoseconds. Default: 0 |
1415
| Rate | Rate at which messages are generated expressed in how many times per second. Default: 1 |
@@ -23,17 +24,13 @@ You can run the plugin from the command line or through the configuration file:
2324

2425
```bash
2526
$ fluent-bit -i dummy -o stdout
26-
Fluent Bit v1.x.x
27-
* Copyright (C) 2019-2020 The Fluent Bit Authors
28-
* Copyright (C) 2015-2018 Treasure Data
27+
Fluent Bit v2.x.x
28+
* Copyright (C) 2015-2022 The Fluent Bit Authors
2929
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
3030
* https://fluentbit.io
3131

32-
[2017/07/06 21:55:29] [ info] [engine] started
33-
[0] dummy.0: [1499345730.015265366, {"message"=>"dummy"}]
34-
[1] dummy.0: [1499345731.002371371, {"message"=>"dummy"}]
35-
[2] dummy.0: [1499345732.000267932, {"message"=>"dummy"}]
36-
[3] dummy.0: [1499345733.000757746, {"message"=>"dummy"}]
32+
[0] dummy.0: [[1686451466.659962491, {}], {"message"=>"dummy"}]
33+
[0] dummy.0: [[1686451467.659679509, {}], {"message"=>"dummy"}]
3734
```
3835

3936
### Configuration File

0 commit comments

Comments
 (0)