Skip to content

TUI for reviewing error logs from AWS Cloudwatch

License

Notifications You must be signed in to change notification settings

prikhi/cloudwatcher

Repository files navigation

cloudwatcher

cloudwatcher Build Status

A TUI for finding & reviewing 500 errors in AWS cloudwatch.

Requires stack:

stack run

Install

You can install the CLI exe by running stack install. This lets you call the executable directly instead of through stack:

stack install
export PATH="${HOME}/.local/bin/:${PATH}"
cloudwatcher

Usage

AWS authentication details are read from ~/.aws/{config,credentials}.

Navigate the TUI with vim or arrow keys(+ Home, PageUp, etc), Enter to move to the next pane, Esc to move to the previous pane, & q to quit.

By default, only the last 15 minutes of 500 errors are shown. You can change this by passing the number of minutes to search when you launch cloudwatcher:

# Show any 500s in the last hour
cloudwatcher 60

Build

You can build the project with stack:

stack build

For development, you can enable fast builds with file-watching, documentation-building, & test-running:

stack test --haddock --fast --file-watch --pedantic

To build & open the documentation, run:

stack haddock --open cloudwatcher

LICENSE

BSD-3