On Fri, 24 Jul 2020 at 14:23, Tim Požár wrote:
> You can post process the logs with something like sed. See:
>
>
> https://superuser.com/questions/380772/removing-ansi-color-codes-from-text-stream
Yeah; we're injesting using filebeat and you can do sed style parsing on
lines into it using
You can post process the logs with something like sed. See:
https://superuser.com/questions/380772/removing-ansi-color-codes-from-text-stream
On 7/23/20 5:10 PM, Andrew Yager wrote:
Hi,
Is there a way to drop the ANSI colour strings from log files? In
particular, I've got JSON logging
Well I skipped reading the part where you say “only for log files” :-(
On Thu, Jul 23, 2020 at 21:06 Joel Serrano wrote:
> Have you tried starting asterisk with the "-n" param?
>
>-n Disable console colorization
>
> On Thu, Jul 23, 2020 at 5:11 PM Andrew Yager wrote:
>
>> Hi,
Have you tried starting asterisk with the "-n" param?
-n Disable console colorization
On Thu, Jul 23, 2020 at 5:11 PM Andrew Yager wrote:
> Hi,
>
> Is there a way to drop the ANSI colour strings from log files? In
> particular, I've got JSON logging throwing logs over to ES,
Hi,
Is there a way to drop the ANSI colour strings from log files? In
particular, I've got JSON logging throwing logs over to ES, but they have
the ANSI colour escape sequences.
Ideally I don't want to lose coloured logs from the console though, and I
can't "see" a way to do this.
Ast 16 at the