mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- note the 'fieldname => pattern' is deprecated
This commit is contained in:
parent
da2501cc64
commit
91f30fa9b9
1 changed files with 4 additions and 1 deletions
|
@ -140,7 +140,10 @@ class LogStash::Filters::Grok < LogStash::Filters::Base
|
|||
#
|
||||
# # same as:
|
||||
# match => [ "foo", "some pattern" ]
|
||||
config /[A-Za-z0-9_-]+/, :validate => :string
|
||||
#
|
||||
# It is preferable to use the 'match' setting instead of this one, because
|
||||
# this one is going to be removed..
|
||||
config /[A-Za-z0-9_-]+/, :validate => :string, :deprecated => true
|
||||
|
||||
#
|
||||
# logstash ships by default with a bunch of patterns, so you don't
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue