Ceci est une ancienne révision du document !


Atelier T5.A05

Titre: Hands On Elastic Stack 5.4

Porteur: David Pilato

Abstract

Elastic stack is built of:

  • Beats to collect data and transport them to elasticsearch or logstash
  • Logstash to collect data (from beats or other sources), transform them on the fly and transport them to other tools, like elasticsearch.
  • Elasticsearch to store, index, search and analyze the collected data
  • Kibana to display all that

Let's start to discover elastic stack 5.4.

For this session, you will need:

  a JVM (java 8) with JAVA_HOME properly set
  a modern browser

You will learn to

  • install elasticsearch, Beats, Logstash and Kibana
  • search and compute data in elasticsearch
  • parse a CSV file with logstash and send its content to elasticsearch
  • parse a CSV file with filebeat and send its raw content to elasticsearch
  • parse a CSV file with filebeat and send its raw content to logstash which will enrich it and send it to elasticsearch
  • create a ingest pipeline in elasticsearch
  • parse a CSV file with filebeat and enrich it in elasticsearch with the ingest pipeline
  • collect some metrics with metricbeat
  • collect some network frames with packetbeat
  • visualize all the data with Kibana

Requirements

Java 1.8. java -version should display something like:

java version “1.8.0_121” Java(TM) SE Runtime Environment (build 1.8.0_121-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

Prérequis

Voici les prérequis pour l'atelier.

Tout d'abord, veuillez télécharger https://s3.eu-central-1.amazonaws.com/xeraa/public/elastic-stack.ova

Windows
  64bit Windows
  VT-x (Intel) or AMD-V (on AMD CPUs) doit être activé dans le BIOS pour permettre le support 64bits de la VM.
  VirtualBox 5.1+
  Vagrant 1.9+
  Un client SSH tel que PuTTy
Mac
  VirtualBox 5.1+
  Vagrant 1.9+
Linux
  64bit Linux
  VT-x (Intel) or AMD-V (on AMD CPUs) doit être activé dans le BIOS pour permettre le support 64bits de la VM.
  VirtualBox 5.1+
  Vagrant 1.9+

Lancement

Une fois installé, veuillez :

  • Importer le fichier OVA dans VirtualBox et vous assurer que vous avez 2.5Go de RAM: File → Import Appliance… → choisir le fichier et démarrer
  • Connecter à l'instance avec les login/pwd vagrant/vagrant dans la fenêtre de VirtualBox.
  • Ou mieux, utiliser SSH avec les mêmes login/pwd :

Windows: Utilisez http://www.putty.org et connectez-vous à vagrant@127.0.0.1 sur le port 2222.

      Mac and Linux: $ ssh vagrant@127.0.0.1 -p 2222 -o PreferredAuthentications=password
 
jdev2017/t5.a05.1498745386.txt.gz · Dernière modification: 2017/06/29 16:09 par olivier.sallou@irisa.fr
 
Recent changes RSS feed Powered by PHP Powered by Pxxo Driven by DokuWiki