mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Merge pull request #1314 from jordansissel/fix-hash-syntax-docs
Correct hash syntax (no commas!)
This commit is contained in:
commit
531b9d6af7
1 changed files with 5 additions and 1 deletions
|
@ -116,7 +116,11 @@ The above makes 'path' a 3-element array including all 3 strings.
|
|||
A hash is basically the same syntax as Ruby hashes.
|
||||
The key and value are simply pairs, such as:
|
||||
|
||||
match => { "field1" => "value1", "field2" => "value2", ... }
|
||||
match => {
|
||||
"field1" => "value1"
|
||||
"field2" => "value2"
|
||||
...
|
||||
}
|
||||
|
||||
## <a name="fieldreferences"></a>Field References
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue