Skip to content

log tool with multiple channels. extendable using interfaces

License

Notifications You must be signed in to change notification settings

amitavaghosh1/rift

Repository files navigation

Requirements:

  • golang

Usage

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.

Cloudwatch

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

SQS

Presently it displays in whatever is there in request body

Usage

  • Download the executable specific to your OS.
  • Build the project run ./release.sh. And use the executable for your OS

TODO:

  • Check possibility of using proto. And how to parse non-JSON body
  • Improve code
  • Support more backends
  • Suppor only matching flag

About

log tool with multiple channels. extendable using interfaces

Resources

License

Stars

Watchers

Forks

Packages

No packages published