Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

elb/alb access log cli. List and show content of accesslog.

License

NotificationsYou must be signed in to change notification settings

dbgeek/elblogcat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 bywolviecb that made bash script that analyses elb/access logs.

Installation

Manual installation - compile it

  • Install go
  • Set upGOPATH and add$GOPATH/bin to yourPATH
  • Rungo 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"

About

elb/alb access log cli. List and show content of accesslog.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp