mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
parent
c39502af99
commit
30e7adfdae
1 changed files with 2 additions and 3 deletions
|
@ -44,12 +44,11 @@ module LogStash
|
|||
clock.stop
|
||||
|
||||
# There is no guarantee in the context of filter
|
||||
# that EVENTS_INT == EVENTS_OUT, see the aggregates and
|
||||
# that EVENTS_IN == EVENTS_OUT, see the aggregates and
|
||||
# the split filter
|
||||
c = new_events.count { |event| !event.cancelled? }
|
||||
@metric_events.increment(:out, c) if c > 0
|
||||
|
||||
return new_events
|
||||
new_events
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue