/zoufzouf

Multithreaded AWS CloudFront log Analyser

Primary LanguageJavaMIT LicenseMIT

CI Tool Badge
AppVeyor Build status
Codeship Build Status
Drone.io Build Status
Travis CI Build Status
Snap CI Build Status
Circle CI Circle CI
Buddy NA
Wercker wercker status

Note: this project is also used to evaluate the different CI/CD solutions listed above.

ZoufZouf

Dependency Status GitHub tag GitHub release GitHub license

Log Analysis for Amazon CloudFront

Technology stack

  • Gradle
  • Spock
  • Java 8
  • Persistence layer options
    • MongoDB

Usage

Configuration

Put a properties.yml file under your resources root folder.

Here's an example:

# AWS Access
awsAccessKey: A....
awsSecretKey: xyz..

# Run mode
dryRun: true

# Persistance Store
storage: MongoDB
servers:
  - 192.168.99.100

Run

Docker

Docker image: https://hub.docker.com/r/glnds/zoufzouf/

  • Run with docker-compose:

     $ docker-compose up
    
  • Run MongoDB as a separate container

     docker run --name my-local-mongo -v mongo-data:/data/db -p 27017:27017 -d mongo
    

Standalone

To run as standalone application run:

./gradlew run

When running the app as standalone either a local MongoDB or MongoDB container should be running.

Analytics