Didn't know of that! Life saver

Thanks!
El 30/1/2015 11:17, "Krzysztof Krzyżaniak" <[email protected]>
escribió:

> W dni pią 30 sty, 2015 o 10∶34 użytkownik Victor Castell <
> [email protected]> 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
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to