awslogs
awslogs copied to clipboard
AWS CloudWatch logs for Humans™
I'm trying to use awslogs to grab the name of the newest log group. It would be good to be able to sort by name, or add some "--after" in...
awslogs produces a NoRegionError when using an AWS profile that has a default region defined in ~/.aws/config but no region defined in the profile's section in ~/.aws/credentials. No error is...
Version: 0.15.0 Python: 3.12.3 (tags/v3.12.3:f6650f9, Apr 9 2024, 14:05:25) [MSC v.1938 64 bit (AMD64)] boto3 version: 1.34.86 Platform: Windows-11-10.0.22631-SP0 Traceback (most recent call last): File "C:\Users\user1\AppData\Local\Programs\Python\Python312\Lib\site-packages\awslogs\bin.py", line 210, in main...
I don't think is technically qualifies as a bug. Probably more of a feature request, but since the output is asking me to open I ticket I am. When the...
The first commit allows filtering logs via [jq](https://jqlang.github.io/jq/) syntax. The second one makes this tool output JSON lines for processing with other JSON log pretty-printing utilities.
Hi, I'm getting the following error when reading logs from AppRunner: Affected log line: ``` {'@timestamp': '2024-09-05T15:09:20.073Z', '@version': '1', 'logger_name': 'com.xxx.controller.authentication.JwtController', 'thread_name': 'http-nio-8080-exec-176', 'level': 'ERROR', 'level_value': 40000, 'application': 'xxxx'} ```...
The documentation mentions the dates as `dd/mm/yyyy` or `d/m/yyyy` but it seems it is `mm/dd/yyyy` or `m/d/yyyy`` So for the 23th of January 2025 it is `1/23/2025` or `01/23/2025' could...
Attaching traceback: You've found a bug! Please, raise an issue attaching the following traceback https://github.com/jorgebastida/awslogs/issues/new Version: 0.15.0 Python: 3.13.2 (main, Feb 4 2025, 14:51:09) [Clang 16.0.0 (clang-1600.0.26.6)] boto3 version: 1.35.37...
Do we have any plans to support the cross account data that is synced to a monitoring account to pull all the logs from shared accounts. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/logs/client/describe_log_groups.html
When running in windows powershell and pipe to a file an error similar to this occurs: `UnicodeEncodeError: 'charmap' codec can't encode characters in position 83-120: character maps to ` Specifying...