Git Product home page Git Product logo

scan-alb-logs's Introduction

Scan ALB Logs

This repository is a set of scritps and binaries that makes scanning AWS Application Load Balancer (ALB) logs stored in AWS S3 easier.

Installation

Installation requires you have a few utilities already available. Use homebrew to install them for macOS.

brew install coreutils jq go gunzip

Build the tools

Before using this tool build the tools:

make build

You must have ./bin and ./scripts on your $PATH. You can use direnv to do so or you can manage it manually.

Examples

Example with no date (uses current UTC date):

../scripts/scan-alb-logs bucket_name app-prod 403

Example for single code 504:

../scripts/scan-alb-logs bucket_name app-prod 504 2019/02/14,2019/02/16

Example with Pattern matching all 5XX codes:

 ../scripts/scan-alb-logs bucket_name app-prod "5" 2019/02/22

Example with Pattern matching all 5XX codes for a domain:

 ../scripts/scan-alb-logs bucket_name app-prod "5" 2019/02/22 example.com

License

This project constitutes a work of the United States Government and is not subject to domestic copyright protection under 17 USC § 105. However, because the project utilizes code licensed from contributors and other third parties, it therefore is licensed under the MIT License. See LICENSE file for more information.

References

This code was originally developed as part of the Transcom Mymove repository. Original code and code history can be found in that repository.

scan-alb-logs's People

Contributors

chrisgilmerproj avatar

Stargazers

Alex Efimov avatar Benjamin Doherty avatar Atanasio Park avatar CHAIYEON CHO avatar Jaisung Lee avatar Martin(Seongju) Mun avatar

Watchers

 avatar James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.