- golang
This cli tool expects you to pass a proto file to parse log messages. Each log backend can have its own proto to be parsed.
A sample proto for a sample cloudwatch log stream has been provided in proto/cloudwatch/log.proto
.
There are few fields that are required for a cloudwatch log.
- time : timestamp of the request
- request_id : a trace id for each request
- msg : the actual message
- level : log level of the message
Presently it displays in whatever is there in request body
- Download the executable specific to your OS.
- Build the project run
./release.sh
. And use the executable for your OS
- Check possibility of using proto. And how to parse non-JSON body
- Improve code
- Support more backends
- Suppor only matching flag