elblogcat

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2019 License: MIT Imports: 1 Imported by: 0

README

ELBLOGCAT

Go Report Card

elblogcat is tool to list accesslogs for aws loadbalancers and cat them to see the content of them without need to download them local and cat them manual.

This cli program is inspired by wolviecb that made bash script that analyses elb/access logs.

Installation

Manual installation - compile it
  • Install go
  • Set up GOPATH and add $GOPATH/bin to your PATH
  • Run go get -u github.com/dbgeek/elblogcat
Download github release
curl https://github.com/dbgeek/elblogcat/releases/download/<release>/elblogcat_<release>_<os>_<arch>.tar.gz --out elblogcat_0.0.1-rc2_darwin_amd64.tar.gz

Usage

list all accesslog with prefix
elblogcat list --aws-account-id 1234567890 --s3-prefix-bucket lb-bucket --s3-prefix team-xxx
list all accesslog with without prefix
elblogcat list --aws-account-id 1234567890 --s3-prefix-bucket lb-bucket
cat accesslog for one load-balancer between a timerange
elblogcat cat --load-balancer-id load-balancer-id --start-time "2019-03-03 11:00:00" --end-time "2019-03-03 12:00:00"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL