From 42d185c9023793d92f553b82cd0567276653296d Mon Sep 17 00:00:00 2001 From: Francisco Valente <1435136+franciscovalentecastro@users.noreply.github.com> Date: Fri, 27 Oct 2023 18:43:31 +0000 Subject: [PATCH] in_dummy: Updates after feature PR review. Signed-off-by: Francisco Valente <1435136+franciscovalentecastro@users.noreply.github.com> --- pipeline/inputs/dummy.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pipeline/inputs/dummy.md b/pipeline/inputs/dummy.md index 3d5bc3b6c..2ed42f335 100644 --- a/pipeline/inputs/dummy.md +++ b/pipeline/inputs/dummy.md @@ -12,8 +12,9 @@ The plugin supports the following configuration parameters: | 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 | -| Time\_interval | Time interval in seconds to generate logs at the set rate. Default: 1 | -| Rate | Rate at which messages are generated expressed in how many times per Time_interval. Default: 1 | +| Rate | Rate at which messages are generated expressed in how many times per second. Default: 1 | +| Interval\_sec | Set seconds of time interval at which to generate every message. If set, `Rate` configuration will be ignored. Default: 0 | +| Interval\_nsec | Set nanoseconds of time interval at which to generate every message. If set, `Rate` configuration will be ignored. Default: 0 | | 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. |