Coder Social home page Coder Social logo

lancache-elk's Introduction

lancache-elk

Collect, process and visualise statistics from zeropingheroes/lancache with Elasticsearch, Logstash and Kibana

Screenshots

These screenshots are taken from a 100 person event, with the cache pre-loaded using zeropingheroes/lancache-autofill

Dashboard - General

Dashboard - General

Dashboard - Steam

Dashboard - General

Dashboard - Errors

Dashboard - General

Requirements

ELK Server

  • Ubuntu Server 16.04

Lancache Server

Installation

  1. git clone https://github.com/zeropingheroes/lancache-elk.git && cd lancache-elk

  2. cp .env.example .env

  3. nano .env

  4. ./install.sh

  5. Log into the Kibana web interface and go to Management > Saved Objects

  6. Import lancache-elk/configs/kibana/export.json accepting suggested index fixes

Available Dashboards

  • Overall - Global cumulative data about the cache
  • General - Visualisations that apply to any upstream
  • Steam - See which depots are cached, and which Steam users are downloading games

Known Issues

Incorrect Cache Hit/Miss Stats for Blizzard and Origin

Because we use slice for these upstreams, Nginx reports a cache hit for almost all requests from clients, as the single client request has spawned one or more subrequests which fill the cache. This also means that our statistics for how much data has been added to the cache is incorrect too. If you have a workaround for this behaviour, please submit a pull request.

Contributing

Please submit pull requests for improving the configuration files here.

For example:

  • Extracting additional fields from URIs
  • Useful Kibana visualisations

Useful sites:

lancache-elk's People

Contributors

ilumos avatar

Watchers

James Cloos 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.