-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add go report card recommendations for gofmt
- Loading branch information
Xoán Mallón
committed
Apr 8, 2020
1 parent
661fc04
commit 6bc8704
Showing
8 changed files
with
94 additions
and
97 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -17,31 +17,31 @@ Go to [release page](https://github.com/xoanmm/log-stream-filter/releases) and d | |
## Usage | ||
|
||
NAME: | ||
aws-log-filter - retrieves all event logs from all streamLogGroup of a specific logGroup of AWS | ||
|
||
log-stream-filter - retrieves all event logs from all streamLogGroup of a specific logGroup of AWS | ||
USAGE: | ||
aws-log-filter [--log-group <log-group-name>] [--log-stream-filter <filter>] [--log-stream-filter-position <position>][--aws-profile <aws-profile>] [--aws-region <aws-region>] [--path <path>] [--start-date <date>] [--end-date <date>] | ||
|
||
log-stream-filter [--log-group <log-group-name>] [--log-stream-filter <filter>] [--log-stream-filter-position <position>][--aws-profile <aws-profile>] [--aws-region <aws-region>] [--path <path>] [--start-date <date>] [--end-date <date>] | ||
VERSION: | ||
1.0.0 | ||
|
||
1.0.0 | ||
AUTHOR: | ||
Xoan Mallon <[email protected]> | ||
|
||
Xoan Mallon <[email protected]> | ||
COMMANDS: | ||
help, h Shows a list of commands or help for one command | ||
|
||
help, h Shows a list of commands or help for one command | ||
GLOBAL OPTIONS: | ||
--log-group value, -n value log group name on which all logStreams will be obtained and will apply the filtering (default: "my-lo-group") | ||
--log-stream-filter value, -l value filter to apply on logStreams name to retrieve eventLogs or not (default: "service-name-1") | ||
--log-stream-filter-position value, -f value position in which to apply the log-stream-filter in the logStreams of the logGroup by splitting by the character / (Example of logStreamGroup: log-group/log-stream-group-prefix/ccc7b271-83ee-4487-b8f0-4246ce2d90ad) (default: 1) | ||
--aws-profile value, -a value aws-profile to use for credentials (default: "my-profile") | ||
--aws-region value, -r value aws region to use for call operations to aws sdk (default: "us-east-1") | ||
--path value, -p value path where to store the logs (default: "/tmp/") | ||
--start-date value, -s value filter only from a date specified (UTC format) (default: "03/17/2020 05:33:54") | ||
--end-date value, -e value filter only until a date specified (UTC format) (default: "03/17/2020 13:33:54") | ||
--help, -h show help (default: false) | ||
--version, -v print the version (default: false) | ||
--log-group value, -n value log group name on which all logStreams will be obtained and will apply the filtering (default: "my-lo-group") | ||
--log-stream-filter value, -l value filter to apply on logStreams name to retrieve eventLogs or not (default: "service-name-1") | ||
--log-stream-filter-position value, -f value position in which to apply the log-stream-filter in the logStreams of the logGroup by splitting by the character / (Example of logStreamGroup: log-group/log-stream-group-prefix/ccc7b271-83ee-4487-b8f0-4246ce2d90ad) (default: 1) | ||
--aws-profile value, -a value aws-profile to use for credentials (default: "my-profile") | ||
--aws-region value, -r value aws region to use for call operations to aws sdk (default: "us-east-1") | ||
--path value, -p value path where to store the logs (default: "/tmp/") | ||
--start-date value, -s value filter only from a date specified ('mm/dd/yyyy hh:mm:ss' format UTC time) (default: $ACTUAL_DATE - 8hours) | ||
--end-date value, -e value filter only until a date specified ('mm/dd/yyyy hh:mm:ss' format UTC time) (default: $ACTUAL_DATE) | ||
--help, -h show help (default: false) | ||
--version, -v print the version (default: false) | ||
|
||
### Dependencies & Refs | ||
|
||
|
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
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
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
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
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
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
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