Giter Site home page Giter Site logo

johnwebbcole / elasticsearch-paris-accidentology-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bahaaldine/elasticsearch-paris-accidentology-demo

0.0 2.0 0.0 17.17 MB

Demonstrating ELK capabilities through Paris city accidentology use case

Python 100.00%

elasticsearch-paris-accidentology-demo's Introduction

elasticsearch-paris-accidentology-demo

Introduction

This Docker Compose project is an application which intends to demonstrate ELK capabilities through Paris city accidentology use case

Architecture

This application is a ES based logging architecture that combines:

  • A logtsash-forwarder that consumes the source/accidentology-with-geo-final.csv file
  • A logstash instance that processes the message before pushing to a Kafka cluster
  • A Kafka cluster (composed of 2 instances) that receives message and buffer them
  • A logstash instance that indexes the message in Elasticsearch
  • A single Elasticsearch node cluster
  • A Kibana 4 instance to visualize the data

This application also showcases Elasticsearch commercial plugin:

  • Marvel is installed and let you follow the activity of the ES cluster
  • Shield is included and secure the overall ES cluster: you need to refer to the below LDAP section to understand which user should be used in order to interact with the cluster.
  • Watcher is installed but no watch are included.

Running the application

Use Docker Compose in the project root folder to build the application:

docker-compose build

then run:

docker-compose run

Kibana dashboards

The dashboard are saved in the https://github.com/bahaaldine/elasticsearch-paris-accidentology-demo/blob/master/dashboards/export.json

Import them in the settings tab on the Kibana application.

Authentication is required and provided by the user contained in the LDAP (description below)

Workbook

The workbook is accessible in the following URL

http://DOCKER_MACHINE_IP:9200/_plugin/elastic-workbook

To get your docker machine IP address, issue the following command line:

docker-machine ip default

Where default is my docker machine name.

Authentication is required and provided by the user contained in the LDAP (description below)

LDAP Users and Groups

This application is using the users and groups present by default in the LDAP.

Groups

The DN template used to designate all groups is:

`ou={GROUP_NAME},dc=elastic,dc=co`

There are 3 groups : Users, Marvels and Watcher

Users

The DN template used to designate all users is:

`cn={USER_NAME},ou={GROUP_NAME},dc=elastic,dc=co`

Here is the list of users splitted by groups:

  • Users:

    • bahaaldine / bazarmi
    • morgan / mgoeller
    • steve / smayzak
    • dimitri / dmarx
    • matias / mcascallares
  • Marvels

    • alan / ahardy
    • christoph / cwurm
    • david / derickson
    • agent / amarvel
  • Watchers

    • antoine / agirbal
    • catherine / cjohnson
    • christian / cdahlqvist
    • jeremy / jhorton
    • peter / pkim

The LDAP admin user has the following credentials:

DN: cn=admin,dc=elastic,dc=co user : admin password: password

Installing the Workbook

The workbook will help you to demo search feature based on the accidentology dataset

bin/plugin --install bahaaldine/elastic-workbook

elasticsearch-paris-accidentology-demo's People

Contributors

bahaaldine avatar

Watchers

 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.