Skip to content

jfollmann/cloudwatch-tail

Repository files navigation

CloudWatchTail (CWT)

CLI Utility for Watching AWS CloudWatch Logs

Github GitHub GitHub package.json version (branch) node-current CI Coverage Status CodeFactor

Table of Contents

💻 Install

npm i -g cloudwatch-tail

🚀 CLI in action

cli


🔴 Usage

cwt

🔁 Repeat the last tail

cwt provides many options to make it easier to rerun the last log tail, either through having it selected as default option the next time you run the ntl command, or by using one of the following:

  • Convenient way: cw command shorhand 🥰
  • Using a --rerun or -r, e.g: cwt -r
  • Prepending the CWT_RERUN env variable, e.g: CWT_RERUN=true cwt

😍 Features

  • Interactive interface to filter your log groups
  • Support AWS profiles
  • Select any log group to start watching
  • Filter log group list (autocomplete fuzzy search)
  • Easy to repeat last tail (cwt and cw options)
  • Define alias to repeat any tail
  • Possibility to import/export alias list

🙋 Help

cwt --h 

⬢  CloudWatchTail (CWT)
Usage: cwt [options]

Options:
  -r, --rerun                re run (default: false)
  -a, --alias <alias saved>  re run with saved alias
  -l --listAlias             list all alias saved
  -e --export                aliases export to file
  -i --import <file name>    aliases import from file
  -v, --version              output the version number
  -h, --help                 display help for command

🎉 Contributors

Made with contrib.rocks.

© 2022 Jefferson Follmann

About

🛠 CLI Utility for Watching AWS CloudWatch Logs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published