Metrics filter is broken

Description

Metrics filter does not flush aggregated metrics. it seems that Logstash::FilterWorker is not instantiated and therefore flush logic is never executed.

Gliffy Diagrams

Activity

Show:

Jason Kendall March 17, 2014 at 3:20 PM

PR merged - Closing.

Bernd Ahlers October 3, 2013 at 12:15 PM

I created a pull request to restore the periodic filter flush thread.

See: https://github.com/logstash/logstash/pull/689

Bernd Ahlers October 2, 2013 at 11:46 PM

Confirmend. Looks like this got lost during the agent -> agent2 migration in commit https://github.com/logstash/logstash/commit/9542246.

Avishai Ish-Shalom September 4, 2013 at 10:41 AM

i did, then i reviewed the code. the problem is that metric events are generated using the `flush` method which is never called.

Richard Pijnenburg September 4, 2013 at 10:17 AM

Could you run Logstash with the -vv option behind it and try it?
it should give some debuging output then.

Fixed

Details

Assignee

Reporter

Affects versions

Created September 4, 2013 at 10:06 AM
Updated March 17, 2014 at 3:20 PM
Resolved March 17, 2014 at 3:20 PM