From 2a63a956c524a4c0c0963b81d7e1fe18fb65caf3 Mon Sep 17 00:00:00 2001 From: Jeff Kirk Date: Wed, 14 Nov 2018 06:37:38 -0800 Subject: [PATCH] Populated clones array is not optional If you leave the "clones" array empty, no cloned events will be produced. I would think this implies the clones array is not an optional parameter. --- docs/index.asciidoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/index.asciidoc b/docs/index.asciidoc index 8fd3ea8..fdfe815 100644 --- a/docs/index.asciidoc +++ b/docs/index.asciidoc @@ -21,7 +21,7 @@ include::{include_path}/plugin_header.asciidoc[] ==== Description The clone filter is for duplicating events. -A clone will be created for each type in the clone list. +A clone will be created for each type defined in the "clones" list. The original event is left unchanged. Created events are inserted into the pipeline as normal events and will be processed by the remaining pipeline configuration @@ -35,7 +35,7 @@ This plugin supports the following configuration options plus the <> |<>|No +| <> |<>|Yes |======================================================================= Also see <> for a list of options supported by all @@ -50,8 +50,9 @@ filter plugins. * Default value is `[]` A new clone will be created with the given type for each type in this list. +Note: an empty list will produce no output. [id="plugins-{type}s-{plugin}-common-options"] -include::{include_path}/{type}.asciidoc[] \ No newline at end of file +include::{include_path}/{type}.asciidoc[]