CLI-friendly AWS log viewer
Project description
AWS Logs Viewer
A tool for viewing AWS CloudWatch logs nicely in the terminal.
Installation
You can install it from PyPI:
python -m pip install zmunk-awslogs
The tool is supported on Python 3.10 and above.
How to use
$ export AWS_DEFAULT_PROFILE=<your-profile>
$ python
>>> from awslogs import trail_logs
>>> trail_logs("/aws/lambda/your-function", "5m")
You could also use it from the command line.
$ python -m awslogs /aws/lambda/your-function 5m
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zmunk_awslogs-1.0.1.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file zmunk_awslogs-1.0.1.tar.gz
.
File metadata
- Download URL: zmunk_awslogs-1.0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fda38f6f66dda250cce5da90144adeabe7af22440e174ed2192da8bdc4468e9e |
|
MD5 | 9941039e0dfa7678c18265b666316273 |
|
BLAKE2b-256 | 0db74b350e476334fbee68a9de44c4fd16a20fe776d1411e04baeaa138ed5b04 |
File details
Details for the file zmunk_awslogs-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: zmunk_awslogs-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d1c85ea02ff3eea9527606abc4af6ca64a26d6a35057c99bf55fdd806a0e2cb |
|
MD5 | 509582ae5e7f34b9ed30d593592f97b3 |
|
BLAKE2b-256 | bf0fba15e0eda7972c5f793ea465d7d9b0069c9ebd80726c1aa4aaa04fa2b90c |