Skip to content

awslogs-watch is a cli tool that makes it easy to use awslogs.

License

Notifications You must be signed in to change notification settings

deresmos/awslogs-watch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

awslogs-watch

PyPI Python Test License: MIT

About

awslogs-watch is a CLI tool that makes it easy to use awslogs.
Default cache directory is $XDG_CACHE_HOME/awslogs_watch or ~/.cache/awslogs_watch

Installation

To install awslogs-watch, use pip.

pip install awslogs_watch

Examples

Update awglogs groups cache

$ awslogs-watch
Command: update

or

$ awslogs-watch --update

Interactive mode

option: -i

$ awslogs-watch -i
Profile: default
Command: get
Group  : group_name
Option : --start="1d"

Interactive mode (Default value is recent history)

option: -r

$ awslogs-watch -ir
Profile: default
Command: get
Group  : group_name
Option : --start="1d"

Get awslogs

$ awslogs-watch
Command: get
group: select interactive group name

or

$ awslogs-watch --get
group: select interactive group name

Tail awslogs

$ awslogs-watch
Command: tail
group: select interactive group name

or

$ awslogs-watch --tail
group: select interactive group name

Change profile

$ awslogs-watch --profile develop

Set awslogs option

$ awslogs-watch --option="-S"

About

awslogs-watch is a cli tool that makes it easy to use awslogs.

Resources

License

Stars

Watchers

Forks

Packages

No packages published