{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/9"}],"enrichment":{"capability":"awslogs is a command-line tool for querying and streaming logs from Amazon CloudWatch, supporting log group and stream filtering, time-range queries, and real-time log watching.","skillfed_tags":["aws-cloudwatch","cli-tool","log-aggregation"],"use_cases":["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."],"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\u2014all 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.\n\nThe 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\u2014no active development but no known vulnerabilities and a solid user base.","worth_installing":"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."},"id":"awslogs","links":{"html":"https://skillfed.io/packages/awslogs","md":"https://skillfed.io/packages/awslogs.md","pypi":"https://pypi.org/project/awslogs/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-04-02","license_spdx":null,"license_treatment":"permissive","name":"awslogs","python_support":"supports_current","summary":"awslogs is a simple command line tool to read aws cloudwatch logs."},"popularity":{"monthly_downloads":151403,"position":10934,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.15.0"}
