https://github.com/boltops-tools/aws-logs
Tail AWS CloudWatch Logs
https://github.com/boltops-tools/aws-logs
Last synced: about 1 year ago
JSON representation
Tail AWS CloudWatch Logs
- Host: GitHub
- URL: https://github.com/boltops-tools/aws-logs
- Owner: boltops-tools
- License: mit
- Created: 2019-11-27T23:08:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-16T01:09:18.000Z (about 2 years ago)
- Last Synced: 2025-04-07T03:22:14.103Z (about 1 year ago)
- Language: Ruby
- Size: 58.6 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# aws-logs
[](http://badge.fury.io/rb/aws-logs)
[](https://www.boltops.com)
Tail AWS CloudWatch Logs.
## Usage
aws-logs tail LOG_GROUP
## Examples
Here's a couple of examples where `LOG_GROUP=/aws/codebuild/demo`:
aws-logs tail /aws/codebuild/demo --since 60m
aws-logs tail /aws/codebuild/demo --since "2018-08-08 08:00:00"
aws-logs tail /aws/codebuild/demo --no-follow
aws-logs tail /aws/codebuild/demo --format simple
aws-logs tail /aws/codebuild/demo --filter-pattern Wed
* By default, the tail command **will** follow the logs. To not follow use the `--no-follow` option.
* The default format is detailed. The detailed format includes the log stream name.
## Installation
Install with:
gem install aws-logs
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am "Add some feature"`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request