mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
- Allow events to override another (needed for multiline)
This commit is contained in:
parent
35529dcd8f
commit
928e72a690
1 changed files with 4 additions and 0 deletions
|
@ -66,5 +66,9 @@ module LogStash; class Event
|
|||
|
||||
def to_hash; return @data end # def to_hash
|
||||
|
||||
def overwrite(event)
|
||||
@data = event.to_hash
|
||||
end
|
||||
|
||||
def include?(key); return @data.include?(key) end
|
||||
end; end # class LogStash::Event
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue