W dni pią 30 sty, 2015 o 10∶34 użytkownik Victor Castell
<vic...@victorcastell.com> napisał:
Hi!
I have a centralized rsyslog formatted logfile and I'm extracting
nginx logs from there using heka and the nginx access log decoder.
The problem is that the parser also logs every other log message out
to heka.log.
The volume of non nginx logs mixed in my rsyslog log is really huge
so heka.log file is growing like crazy (I have logrotating before you
ask)
Is there a way to conditionally/intentionally suppress the parsing
errors of a given decoder?
You probably want to use MultiDecoder which split nginx logs from the
rest and use log_sub_errors = false in MultiDecoder section.
eloy
_______________________________________________
Heka mailing list
Heka@mozilla.org
https://mail.mozilla.org/listinfo/heka