Displaying 2 results from an estimated 2 matches for "380772".
Did you mean:
370772
2020 Jul 24
4
Remove ANSI colour trings from log files only
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 moment…
Andrew
-------------- next part --------------
An HTML attachment was
2020 Jul 24
0
Remove ANSI colour trings from log files only
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 throwing logs over to ES, but they
> have the ANSI colour escape sequences.
>...