Can I write unparsed log lines to another log?
Is there action to write unparsed records to a file? For example
...
otherwise {
stat["other"]++
write /var/log/unparsed.log //???
}
There isn't.
A feature of mtail 2.0 (the internal Google one) that I didn't migrate to the open source version, because no-one internally used it, was to emit the log lines to the status page and the INFO log.
I think we could support this, but I'm not super keen to have mtail also manage log writing just yet.
On Tue, 18 Apr 2023 at 22:52, Mikhail Kirichenko @.***> wrote:
Is there action to write unparsed records to a file? For example
... otherwise { stat["other"]++ write /var/log/unparsed.log //??? }
— Reply to this email directly, view it on GitHub https://github.com/google/mtail/issues/724, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXFX66EA3VL6UCG5FEWK23XB2FBHANCNFSM6AAAAAAXCS5DZE . You are receiving this because you are subscribed to this thread.Message ID: @.***>