From a2a024fef03de25785417e8d35004133ca886067 Mon Sep 17 00:00:00 2001 From: Daniel Jaglowski Date: Mon, 31 Aug 2020 15:25:44 -0400 Subject: [PATCH] Update generate_input.md --- docs/operators/generate_input.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/docs/operators/generate_input.md b/docs/operators/generate_input.md index c892f5edd..ecc12cb05 100644 --- a/docs/operators/generate_input.md +++ b/docs/operators/generate_input.md @@ -21,20 +21,25 @@ coupled with the [`rate_limit`](/docs/operators/rate_limit.md) operator. Configuration: ```yaml - type: generate_input - record: - message1: log1 - message2: log2 + entry: + record: + message1: log1 + message2: log2 ``` Output records: ```json { - "message1": "log1", - "message2": "log2" + "record": { + "message1": "log1", + "message2": "log2" + }, }, { - "message1": "log1", - "message2": "log2" + "record": { + "message1": "log1", + "message2": "log2" + }, }, ... ```