-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
28 additions
and
8 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "awstail" | ||
version = "0.2.2" | ||
version = "0.3.0" | ||
authors = ["Yoandy Rodriguez <[email protected]>"] | ||
edition = '2018' | ||
[dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,29 @@ | |
|
||
[AWSTail](https://gitbuh.com/yorodm/awstail) is a tail like tool for [AWS Cloudwatch](https://aws.amazon.com/cloudwatch/). | ||
|
||
## **WARNING** | ||
This is a simple tool that allows you to monitor your [AWS Cloudwatch](https://aws.amazon.com/cloudwatch/) logs | ||
in a way similar to `tail -f`. | ||
|
||
This repository is a work in progress!!! I'm using this tool to get familiar | ||
with the [Rust](https://rust-lang.org) language. If you really need a CLI interface | ||
to Cloudwatch you should consider using [the official cli](https://aws.amazon.com/cli/) | ||
or [awslogs](https://github.com/jorgebastida/awslogs) | ||
To install just download the binaries from the release page or clone this repo and build it yourself. | ||
|
||
```sh | ||
awstail 0.3.0 | ||
Yoandy Rodriguez <[email protected]> | ||
like tail -f for AWS Cloudwatch | ||
|
||
USAGE: | ||
awstail.exe [OPTIONS] <LOG_GROUP> | ||
|
||
FLAGS: | ||
-h, --help Prints help information | ||
-V, --version Prints version information | ||
|
||
OPTIONS: | ||
-p <PROFILE> Profile if using other than 'default' | ||
-r <REGION> AWS region (defaults to us-east-1) | ||
-s <SINCE> Take logs since given time (defaults to 5 minutes) | ||
-w <WATCH> Keep watching for new logs every n seconds (defaults to 10) | ||
|
||
ARGS: | ||
<LOG_GROUP> Log group name | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ fn main() { | |
ctrlc::set_handler(move || std::process::exit(0)) | ||
.expect("Could not set Ctrl+C handler...bailing out"); | ||
let matches = App::new("awstail") | ||
.version("0.2.2") | ||
.version("0.3.0") | ||
.author("Yoandy Rodriguez <[email protected]>") | ||
.about("like tail -f for AWS Cloudwatch") | ||
.arg( | ||
|