#logs #cloudwatch #parse #parser

cw_parser

Parse cloudwatch logs in json format into something more useful

4 releases

0.1.3 Nov 2, 2021
0.1.2 Nov 2, 2021
0.1.1 Nov 2, 2021
0.1.0 Nov 1, 2021

#10 in #cloudwatch


Used in cft

MIT license

17KB
417 lines

cw_parser

Cloudwatch logs will be formatted differently depending on what runtime you are using. This library should make things abit easier.

Node: 2020-11-18T23:52:30.128Z 6e48723a-1596-4313-a9af-e4da9214d637 INFO {"data": "Hello World"}

Python: [INFO] 2020-11-18T23:52:30.128Z 6e48723a-1596-4313-a9af-e4da9214d637 {"data": "Hello World"}

Dotnet/Provided Runtimes just logs the raw message from the runtime: {"data": "Hello World"}

Dependencies

~12–25MB
~334K SLoC