Giter VIP home page Giter VIP logo

elk-docker's Introduction

ELK Eurocopter

Ce projet permet de disposer d'une stack ELK associée à MySQL.

Installation

# Lancement des machines
docker-compose up -d

# Import des données contenues dans MySQL vers ElasticSearch vi Logstash
docker exec -i -t eurocopter_elk_1 /bin/bash
cd /opt/logstash
gosu logstash bin/logstash -f /tmp/import-mysql.conf

Accès à Kibana

Accéder à l'adresse : http://0.0.0.0:5601/

Ajouter dans kibana.yml ################################################################################

Custom CONFIG

################################################################################ kibrand.enabled: true kibrand.name: "NULL"

Accès à PHPMyAdmin

faire un docker-compose ps et identifier le port utilisé par PHPMyAdmin

Accéder à l'adresse http://0.0.0.0:PORT_UTILISE

Scripted field :

* test	(doc['capacity'].value > 0 && doc['occupancy'].value > 0) ? (doc['occupancy'].value)/(doc['capacity'].value) : 0	Percentage
* Remplissage	(doc['capacity'].value > 0 && doc['occupancy'].value > 0) ? (doc['occupancy'].value)/(doc['capacity'].value) : 0	Percentage
* Remplissage 100	(doc['capacity'].value > 0 && doc['occupancy'].value > 0) ? (doc['occupancy'].value)/(doc['capacity'].value)*100 : 0	Percentage	 
* Efficacité	(doc['occupancy'].value > 0) ? ((20/(doc['surface'].value/doc['occupancy'].value))-1)*100 : 0	Number
* Disponibilité 100	(doc['capacity'].value > 0 && doc['occupancy'].value > 0) ? 100 - (doc['occupancy'].value)/(doc['capacity'].value)*100 : 100

Login

Le login / mot de passe est stocké dans le fichier kibana/plugins/kibana-auth-plugin/server/auth-local-cookie.js, ligne 3 Pour l'instant, la variable d'environnement passée dans docker-compose.yml (LOCAL_AUTH_LOGINS) ne semble pas fonctionner

elk-docker's People

Contributors

bluekvirus avatar eamonnfaherty avatar harbulot avatar jchannon avatar jimtonic avatar kenwdelong avatar nikolay avatar npotier avatar pli01 avatar spujadas avatar timc3 avatar

Watchers

 avatar  avatar  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.