mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
reverted the initializer back to what is in logstash mainline
This commit is contained in:
parent
3044decbb3
commit
cdda171138
1 changed files with 1 additions and 2 deletions
|
@ -103,8 +103,7 @@ class LogStash::Filters::Grok < LogStash::Filters::Base
|
||||||
|
|
||||||
public
|
public
|
||||||
def initialize(params)
|
def initialize(params)
|
||||||
super
|
super(params)
|
||||||
|
|
||||||
@match["@message"] ||= []
|
@match["@message"] ||= []
|
||||||
@match["@message"] += @pattern if @pattern # the config 'pattern' value (array)
|
@match["@message"] += @pattern if @pattern # the config 'pattern' value (array)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue