mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Correct hash syntax
This commit is contained in:
parent
9ab36e44e1
commit
054c1b4366
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