mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
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:
parent
6723601217
commit
ce0cc8c12b
1 changed files with 2 additions and 0 deletions
2
docs/static/configuration.asciidoc
vendored
2
docs/static/configuration.asciidoc
vendored
|
@ -188,6 +188,8 @@ match => {
|
|||
"field2" => "value2"
|
||||
...
|
||||
}
|
||||
# or as a single line. No commas between entries:
|
||||
match => { "field1" => "value1" "field2" => "value2" }
|
||||
----------------------------------
|
||||
|
||||
[[number]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue