mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
Merge pull request #1076 from mjr5749/patch-1
Fix syntax errors in kv examples
This commit is contained in:
commit
cd2c61271a
1 changed files with 3 additions and 3 deletions
|
@ -129,7 +129,7 @@ class LogStash::Filters::KV < LogStash::Filters::Base
|
|||
# To include "from" and "to", but exclude the "foo" key, you could use this configuration:
|
||||
# filter {
|
||||
# kv {
|
||||
# include_keys = [ "from", "to" ]
|
||||
# include_keys => [ "from", "to" ]
|
||||
# }
|
||||
# }
|
||||
config :include_keys, :validate => :array, :default => []
|
||||
|
@ -141,7 +141,7 @@ class LogStash::Filters::KV < LogStash::Filters::Base
|
|||
# To exclude "from" and "to", but retain the "foo" key, you could use this configuration:
|
||||
# filter {
|
||||
# kv {
|
||||
# exclude_keys = [ "from", "to" ]
|
||||
# exclude_keys => [ "from", "to" ]
|
||||
# }
|
||||
# }
|
||||
config :exclude_keys, :validate => :array, :default => []
|
||||
|
@ -151,7 +151,7 @@ class LogStash::Filters::KV < LogStash::Filters::Base
|
|||
#
|
||||
# filter {
|
||||
# kv {
|
||||
# default_keys = [ "from", "logstash@example.com",
|
||||
# default_keys => [ "from", "logstash@example.com",
|
||||
# "to", "default@dev.null" ]
|
||||
# }
|
||||
# }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue