Sha256: 3b5a19bc9487f6782776825d83e0497203075629f6ab8d9320266319a70ecc01

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

# AwsLogs

[![Gem Version](https://badge.fury.io/rb/GEMNAME.png)](http://badge.fury.io/rb/GEMNAME)

[![BoltOps Badge](https://img.boltops.com/boltops/badges/boltops-badge.png)](https://www.boltops.com)

Tail AWS CloudWatch Logs.

## Usage

    aws-logs tail LOG_GROUP

## Examples

Here's a couple of examples where the `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

Add this line to your application's Gemfile:

    gem "aws-logs"

And then execute:

    bundle

Or install it yourself as:

    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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aws-logs-0.1.0 README.md