awslogs
awslogs is a simple command line tool to read aws cloudwatch logs.
Decision gist · record as of 2026-08-14
Yes, if you need a lightweight CLI for CloudWatch log queries and don't require active development. The package is stable, has low install friction, and integrates well with Unix tools. The dormant maintenance status is acceptable for a mature tool with no known vulnerabilities, but expect no new features or rapid bug fixes. Use it for operational tasks and ad-hoc log inspection; avoid if you need ongoing feature development or support.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires AWS credentials configured via aws-cli, environment variables, or command-line flags; requires CloudWatch Logs read permissions.
- Low install friction with four lightweight runtime dependencies.
- Maintenance is dormant (864 days since last release), though the repository remains active with 4988 stars and a recent commit in May 2024.
License · maintenance · safety
BSD (permissive) — BSD permissive license allows use in commercial and proprietary projects with minimal restrictions.
last release 2024-04-02 (864 days) · last repo commit 2024-05-17 · 4,988 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 151,403 downloads/mo, #10,934 on PyPI
Alternatives
Verify before relying
pip install awslogs
awslogs groups
awslogs get /var/log/syslog ALL --start='2h ago' | grep ERROR- Whether the package works with boto3 versions released after May 2024.
- Current compatibility with modern AWS CloudWatch API changes or new log features.
What it is and what it does
awslogs is a lightweight CLI wrapper around boto3 for querying Amazon CloudWatch Logs. It lets you list log groups and streams, retrieve log events across multiple streams with time filtering, and watch logs in real-time—all from the command line. The tool supports human-friendly time syntax (e.g., '2h ago', '1d ago'), regex-based stream matching, CloudWatch filter patterns, and JSON query extraction, making it useful for ad-hoc log inspection and integration with Unix tools like grep.
The package depends on boto3, jmespath, termcolor, and python-dateutil. It requires Python 3.8 or later and AWS credentials configured through aws-cli, environment variables, or command-line arguments. The project is dormant but stable—no active development but no known vulnerabilities and a solid user base.
Use it for
- Grep logs from multiple CloudWatch streams in the last 2 hours to find ERROR entries across a log group.
- List all log groups and streams in your AWS account without opening the AWS console.
- Watch logs in real-time as they arrive in CloudWatch using the --watch flag.
- Extract specific JSON fields from structured logs using --query to filter message content.
- Retrieve logs matching a CloudWatch filter pattern to find specific event types (e.g., Lambda REPORT lines).
- Integrate CloudWatch logs into shell scripts and CI/CD pipelines for log analysis and alerting.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need a lightweight CLI for CloudWatch log queries and don't require active development.
The package is stable, has low install friction, and integrates well with Unix tools. The dormant maintenance status is acceptable for a mature tool with no known vulnerabilities, but expect no new features or rapid bug fixes. Use it for operational tasks and ad-hoc log inspection; avoid if you need ongoing feature development or support.
Install
awslogs on PyPI
Before you install
Low install friction with four lightweight runtime dependencies. Maintenance is dormant (864 days since last release), though the repository remains active with 4988 stars and a recent commit in May 2024. Suitable for stable, established workflows but expect no active development.
Requires AWS credentials configured via aws-cli, environment variables, or command-line flags; requires CloudWatch Logs read permissions.
License in practice
BSD permissive license allows use in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install awslogs
awslogs groups
awslogs get /var/log/syslog ALL --start='2h ago' | grep ERROR
Verify before relying
- Whether the package works with boto3 versions released after May 2024.
- Current compatibility with modern AWS CloudWatch API changes or new log features.
Package facts
| License | BSD permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesboto3jmespathtermcolorpython-dateutil |
| Maintenance | Dormant 864 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 151,403 / month, #10,934 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Topic :: Utilities |
Evidence: awslogs-0.15.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “cloudwatch logs cli”
- awslogsawslogs is a command-line tool for querying and streaming logs from…
- watchtowerWatchtower is a Python logging handler that sends log messages…
- kappaKappa is a command-line tool that automates the deployment,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also aws-cdk.aws-logs · watchtower · aws-embedded-metrics · awslabs.cloudwatch-mcp-server · awscli · cloudwatch · kappa · lambda-warmer-py · parsedmarc · django-activity-stream