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.
This commit is contained in:
Mathieu Martin 2018-05-02 10:35:55 -04:00 committed by GitHub
parent 6723601217
commit ce0cc8c12b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -188,6 +188,8 @@ match => {
"field2" => "value2"
...
}
# or as a single line. No commas between entries:
match => { "field1" => "value1" "field2" => "value2" }
----------------------------------
[[number]]