devopsdays amsterdam 2016 workshop

17
DevOpsDays 2016 Amsterdam First steps to create your IT Operations data lake with ELK Stack and Graphite Han ds -on Wor ks h op

Upload: arnold-van-wijnbergen

Post on 12-Apr-2017

188 views

Category:

Software


0 download

TRANSCRIPT

Page 1: DevOpsDays Amsterdam 2016 workshop

DevOpsDays 2016Amsterdam

First steps to create your IT Operations data lake with ELK Stack and Graphite

Hands

-on

Works

hop

Page 2: DevOpsDays Amsterdam 2016 workshop

2

Arnold van Wijnbergen@BSMConsultant / [email protected]

•16 years working experience with automating IT•DevOps Evangelist with great passion about Architecture andAutomation Tooling•Full time Tooling Geek

Automation Monitoring, tasted them all Predictive Analytics Infrastructure-as-Code

#IlovIT ☁

Page 3: DevOpsDays Amsterdam 2016 workshop

3

INTRODUCE OURSELVES

Who we are and what do we expect

Page 4: DevOpsDays Amsterdam 2016 workshop

4

CHOOSE YOUR WAY

Dev, Ops or just DevOps

DOD-AMS-WORKSHOP-BANKIT

TOURIST ROUTE

DOD-AMS-WORKSHOP

DANGER ROUTE

Page 5: DevOpsDays Amsterdam 2016 workshop

JUST ANOTHER DATA LAKE CONCEPT

Metrics, logs, health-states, etc

Page 6: DevOpsDays Amsterdam 2016 workshop

“ELK Stack + Graphite + Kafka makes a great combination”

Page 7: DevOpsDays Amsterdam 2016 workshop

ElasticsearchLogstash Kibana

GrafanaGraphiteKafka/ZookeeperJava

Consumer

JavaProducer

BankITLogfile

Topic:Events

Topic:Metrics

Syslog

Page 8: DevOpsDays Amsterdam 2016 workshop

Main component for managing your element is LogStash

Reference : https://www.elastic.co/guide/en/logstash/current/introduction.html

Page 9: DevOpsDays Amsterdam 2016 workshop

Logstash Structured way of Working – Processing Pipeline

Reference : https://www.elastic.co/guide/en/logstash/current/pipeline.html

Page 10: DevOpsDays Amsterdam 2016 workshop

Pipeline processing of an event is mainly existing of three important stages

Reference : https://www.elastic.co/guide/en/logstash/current/filter-plugins.html

(Filter) Processing

Parsefields out

Enrichfields values

CorrelateOn field value matching

Page 11: DevOpsDays Amsterdam 2016 workshop

Parse unstructured data and make IT readable structured

Page 12: DevOpsDays Amsterdam 2016 workshop

Enrich & correlate our structured data set

Page 13: DevOpsDays Amsterdam 2016 workshop

13

Success with the workshop

https://goo.gl/97xOX2

Page 14: DevOpsDays Amsterdam 2016 workshop

14

Backup slides

Page 15: DevOpsDays Amsterdam 2016 workshop

Meet Mr LogStashWhat can he do for you ?I Love your data … :-)

Page 16: DevOpsDays Amsterdam 2016 workshop

Many test options are available to validate your code and expected functional behaviour

Code Validation withCONFIGTEST

Unit Testing with RSPEC

Reference : https://www.elastic.co/blog/logstash-functionality-through-testing

Page 17: DevOpsDays Amsterdam 2016 workshop

Now combine the forces and create a structured configuration

Configuration folder

Input.conf

Input.conf

Input.conf

Filter.conf

Input.conf

Output.conf

filestdin

mutategrok

stdoutelasticsear

chredis

Reference : https://www.elastic.co/guide/en/logstash/current/configuration-file-structure.html