Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prikhi/cloudwatcher
TUI for reviewing error logs from AWS Cloudwatch
https://github.com/prikhi/cloudwatcher
cloudwatch cloudwatch-logs haskell tui
Last synced: 4 months ago
JSON representation
TUI for reviewing error logs from AWS Cloudwatch
- Host: GitHub
- URL: https://github.com/prikhi/cloudwatcher
- Owner: prikhi
- License: bsd-3-clause
- Created: 2020-09-19T05:51:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-27T17:16:14.000Z (7 months ago)
- Last Synced: 2024-06-27T20:46:29.237Z (7 months ago)
- Topics: cloudwatch, cloudwatch-logs, haskell, tui
- Language: Haskell
- Homepage:
- Size: 26.4 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# cloudwatcher
[![cloudwatcher Build Status](https://travis-ci.org/prikhi/cloudwatcher.svg?branch=master)](https://travis-ci.org/prikhi/cloudwatcher)
A TUI for finding & reviewing 500 errors in AWS cloudwatch.
Requires [`stack`][get-stack]:
```sh
stack run
```[get-stack]: https://docs.haskellstack.org/en/stable/README/
## Install
You can install the CLI exe by running `stack install`. This lets you call the
executable directly instead of through stack:```sh
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:```sh
# Show any 500s in the last hour
cloudwatcher 60
```## Build
You can build the project with stack:
```sh
stack build
```For development, you can enable fast builds with file-watching,
documentation-building, & test-running:```sh
stack test --haddock --fast --file-watch --pedantic
```To build & open the documentation, run:
```sh
stack haddock --open cloudwatcher
```## LICENSE
BSD-3