Hi, Is there any way to do DropStat into an StatAccumInput from a custom Lua-based filter? Something like what StatFilter does internally, and what StatsdInput does too.
I have a decoder that takes apart logfmt ([1]) formatted loglines already. And now I would like to have a custom filter that reads message fields and finds Heroku-suggested "measure#something=x" and "sample#something=y" style (see [2]) fields and injects them into StatAccumInput. Or should my filter just inject new messages for any found "measure#/sample#" fields one by one and have a generic StatFilter rule pick them up? Though this sounds like a bit too much overhead. [1] https://github.com/kr/logfmt [2] https://devcenter.heroku .com/articles/add-on-provider-log-integration#format -- Erki
_______________________________________________ Heka mailing list [email protected] https://mail.mozilla.org/listinfo/heka

