View on GitHub

cw

The best way to tail AWS CloudWatch Logs from your terminal

cw

Release Software License Github All Releases CircleCI branch

The best way to tail AWS CloudWatch Logs from your terminal.

Author - Luca Grulla - https://www.lucagrulla.com

Features

Installation

Mac OSX

using Homebrew

brew tap lucagrulla/tap
brew install cw

Linux

using Linuxbrew

brew tap lucagrulla/tap
brew install cw

.deb/.rpm

Download the .deb or .rpm from the releases page and install with dpkg -i and rpm -i respectively.

using Snapcraft.io

snap install cw-sh
sudo snap alias cw-sh cw

cw snap can’t currently access the .aws/ files. Please use AWS_CONFIG_FILE and AWS_SHARED_CREDENTIALS_FILE env variables to specify the location.

Get it from the Snap Store

On Windows

using Scoop.sh

scoop bucket add cw https://github.com/lucagrulla/cw-scoop-bucket.git
scoop install cw

Go tools

go get github.com/lucagrulla/cw

Commands and options

Global flags

Commands

Examples

Time and Dates

Time and dates are treated as UTC by default. If you prefer to use Local zone just set the --local flag.

AWS credentials and configuration

cw uses the default credentials profile (stored in ./aws/credentials) for authentication and shared config (.aws/config) for identifying the target AWS region. Both profile and region are overridable with the profile and region global flags.

Breaking changes notes

Read here