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.0.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file zmunk_awslogs-1.0.0.tar.gz
.
File metadata
- Download URL: zmunk_awslogs-1.0.0.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 | 596d61cf596c930814e5947d901d4d04972aa5a1eb2cf3ce20de5c023e06b761 |
|
MD5 | aff39cc82ae7d5cce8cf629ef0ef3e80 |
|
BLAKE2b-256 | a0113be7c853dd4e24146dc0e964b9aef2fd52d95af190aaf84e66943c77f5e9 |
File details
Details for the file zmunk_awslogs-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: zmunk_awslogs-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.2 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 | 2eaf8756ce729255059a00afc797b3289792ee171a047c18af71ed56dd23fc2e |
|
MD5 | fa7473b55a227b2eb4bc4def25d80045 |
|
BLAKE2b-256 | 3e76b68175dd7b7031a300d892225da9b920e19afdfbe47ac422a305afe794df |