Skip to main content

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

Project description

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"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

awslogs_watch-0.2.1.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

awslogs_watch-0.2.1-py3-none-any.whl (8.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page