cloudwatcher
Installation
$ npm install -g cloudwatcher
Features
- Tail logs from AWS CloudWatch and see incoming output
- Read logs from multiple groups and even regions, profiles
- And more in dev
Quick Start
Run cloudwatcher tail
to start tailing logs from CloudWatch, check cloudwatcher tail --help
for more options.
Use --include
to indicate profiles and regions you are tapping into.
$ cloudwatcher tail --include=default:ap-southeast-1 --include=another_profile:us-west-1
Then cloudwatcher will find available log groups from given regions and profiles, shown with checkboxs, press enter to confirm selection.
You might also filter log groups with --group-name
options, it supports filter with regex or string on log group name.
$ cloudwatcher tail --include=default:ap-southeast-1 --group-name=aws? Select the log groups to tail ◯ default:ap-southeast-1:/aws/aes/domains/api/logs ◯ default:ap-southeast-1:/aws/lambda/LambdaFunction1
Then output are streamed to your console, refreshing in 2 seconds interval.
Tests
To run the test suite, first install the dependencies, then run npm test
:
$ npm install$ npm test