mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
don't cancel an event if our types don't match, just pass on filtering it
This commit is contained in:
parent
7e3c7b5a33
commit
e21ef0e48f
1 changed files with 0 additions and 1 deletions
|
@ -42,7 +42,6 @@ class LogStash::Filters::Grep < LogStash::Filters::Base
|
|||
def filter(event)
|
||||
if event.type != @type
|
||||
@logger.debug("grep: skipping type #{event.type} from #{event.source}")
|
||||
event.cancel
|
||||
return
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue