From ce0cc8c12b09050194fb30ffa50301a8e66c695e Mon Sep 17 00:00:00 2001 From: Mathieu Martin Date: Wed, 2 May 2018 10:35:55 -0400 Subject: [PATCH] Give an example of a single line Hash. (#9505) Single kv hashes look like Ruby hashes, and people get confused because they don't actually support commas, to separate each pair. This adds a more explicit example under the preferred multi-line hash example. --- docs/static/configuration.asciidoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/static/configuration.asciidoc b/docs/static/configuration.asciidoc index 91680b7a4..a828fbc30 100644 --- a/docs/static/configuration.asciidoc +++ b/docs/static/configuration.asciidoc @@ -188,6 +188,8 @@ match => { "field2" => "value2" ... } +# or as a single line. No commas between entries: +match => { "field1" => "value1" "field2" => "value2" } ---------------------------------- [[number]]