mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
parent
bb0694d69a
commit
5a4d4bc3ba
1 changed files with 2 additions and 0 deletions
|
@ -37,7 +37,9 @@ module LogStash
|
|||
def multi_filter(events)
|
||||
@metric_events.increment(:in, events.size)
|
||||
|
||||
start = Time.now
|
||||
new_events = @filter.multi_filter(events)
|
||||
@filter.metric.increment(:time_ms, ((Time.now - start)*1000).to_i)
|
||||
|
||||
# There is no garantee in the context of filter
|
||||
# that EVENTS_INT == EVENTS_OUT, see the aggregates and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue