awslogs
awslogs copied to clipboard
AWS CloudWatch logs for Humans™
You've found a bug! Please, raise an issue attaching the following traceback https://github.com/jorgebastida/awslogs/issues/new Version: 0.14.0 Python: 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] boto3 version: 1.24.51...
Python 3.12 has removed its bundled `setuptools` (aka `pkg_resources`): https://docs.python.org/3.12/whatsnew/3.12.html#removed
Version: 0.14.0 Python: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] boto3 version: 1.34.16 Platform: Linux-5.15.133.1-microsoft-standard-WSL2-x86_64-with-glibc2.35 Args: ['/home/valgutu/.local/bin/awslogs', '--profile=dashfx', 'groups'] Config: {'aws_access_key_id': 'SENSITIVE', 'aws_secret_access_key': 'SENSITIVE', 'aws_session_token': 'SENSITIVE', 'aws_profile': 'SENSITIVE', 'aws_region':...
If logs contained non ASCII characters, `awslogs get` could fail with: ``` UnicodeEncodeError: 'charmap' codec can't encode characters in position: character maps to ``` In `print(' '.join(output))` This commit forces...
After logging in through sso with PowerUserAccess I can list log groups, but not streams: ``` > aws sso login Successfully logged into Start URL: https://... > awslogs groups ......
``` You've found a bug! Please, raise an issue attaching the following traceback https://github.com/jorgebastida/awslogs/issues/new Version: 0.14.0 Python: 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] boto3 version: 1.28.41 Platform: Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35...
It is not always obvious where awslogs binary will be installed. For example if installed with `python3 -m venv .venv --system-site-packages && .venv/bin/pip3 install awslogs` it can be in `.venv/bin/`...
When calling `awslogs get` with a log stream that contains square brackets (`[` `]`) I get the following error: ``` Traceback (most recent call last): File "/Users/jdray/.pyenv/versions/3.8.12/lib/python3.8/site-packages/awslogs/bin.py", line 179, in...
You've found a bug! Please, raise an issue attaching the following traceback https://github.com/jorgebastida/awslogs/issues/new Version: 0.14.0 Python: 3.9.16 (main, Feb 23 2023, 00:00:00) [GCC 11.3.1 20221121 (Red Hat 11.3.1-4)] boto3 version:...