SlideShare a Scribd company logo
1 of 22
Download to read offline
2008–2017 © Tuxera Inc. All Rights Reserved.
Analysing performance
test results with ELK
Anoop Vijayan Maniankara
Tuxera Inc.
@maniankara
22008–2017 © Tuxera Inc. All Rights Reserved.
2008–2017 © Tuxera Inc. All Rights Reserved.
2008–2017 © Tuxera Inc. All Rights Reserved.
Elk (Elastic) stack 5.x
• Elastic search – Logs storing (~NoSQL database)
• Log stash – Log processor
• Kibana – Graphs and charts over JSON
Data shippers
• Filebeat
• Metricbeat
• Packet beat
• …
2008–2017 © Tuxera Inc. All Rights Reserved.
Anoop Vijayan
12+ years experience in designing,
developing, testing Continuous
Integration systems in bigger enterprises
to small companies
DevOps lead at Tuxera Inc.
@maniankara
Github, stackoverflow, etc.
2008–2017 © Tuxera Inc. All Rights Reserved.
Agenda
• All about logs
–Purpose of log handling, tools available
–With elkstack
• Live log monitoring or processing
• Static log/data analysis
–Demo
2008–2017 © Tuxera Inc. All Rights Reserved.
Purpose - Log handling
Time
Activities
Longer Time
• Search – Trace events from past
• Analyze – Tracking trends over time
Event
• Monitor – Detect events
• Compare – Two or more instances
2008–2017 © Tuxera Inc. All Rights Reserved.
Tools in the market
• Free and opensource:
– ELK stack/Elastic stack - More manual configurations
• Commercial (popular ones, not all)
– Splunk – 1GB/day $4.5k (Perpetual)/$1.8k (Annual)
– Loggly – Saas not available in-house $1.18k (1GB/day)/$2.38k (4GB/day)
– …
2008–2017 © Tuxera Inc. All Rights Reserved.
Architecture – ELK stack
Souce:	http://blog.arungupta.me/getting-started-elk-stack-wildfly/
L E K
2008–2017 © Tuxera Inc. All Rights Reserved.
ELK stack (Kibana) look and feel
Monitoring system logs Analyzing http request resources
2008–2017 © Tuxera Inc. All Rights Reserved.
ELK stack (Kibana) look and feel contd.
Analyzing event fields Comparing tools
2008–2017 © Tuxera Inc. All Rights Reserved.
Scope
• Live log handling
• Static data comparison
2008–2017 © Tuxera Inc. All Rights Reserved.
Live log parsing (nginx log)
…
192.168.75.130 - - [23/Apr/2017:10:03:34 +0300] "GET /elasticsearch/_site/vendor.js HTTP/1.1" 304 0 "http://sandbox.srv.tuxera.com:3005/elasticsearch/"
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36"
…
…
{"@timestamp":"2017-04-
23T07:55:37.886Z","beat":{"hostname":"sandbox.srv.tuxera.com","name":"sandbox.srv.tuxera.com","version":"5.2.2"},"input_type":"log","message":"192.168.75.
130 - - [23/Apr/2017:10:03:34 +0300] "GET /elasticsearch/_site/vendor.js HTTP/1.1" 304 0 "http://sandbox.srv.tuxera.com:3005/elasticsearch/" "Mozilla/5.0
(Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133
Safari/537.36"","offset":1595,"source":"/var/log/nginx/access.log","type":"log"}
…
FilebeatLog	collection
LogstashLog	processing
elasticsearchLog	storing
KibanaLog	visualization
access.log
ELK	stack
…
{”client”:” 192.168.75.130 ”,”time”:”23/Apr/2017:10:03:34 +0300”, ”request”:”GET”,”path”:” /elasticsearch/_site/vendor.js”,”response”:”304”,”host”:”
sandbox.srv.tuxera.com”,”client”:”"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133
Safari/537.36"”, ”beat”:{"hostname" : " sandbox.srv.tuxera.com","name" : " sandbox.srv.tuxera.com ","version" : "5.2.2”,
"offset":1595,"source":"/var/log/nginx/access.log","type":"log"}}
…
…
{ "_index" : ”logstash-2017-04-23", "_type" : ”log", "_id" : "AVmDwg6kHxnroGLuXlMG", "_version" : 1, "found": true, "_source" : {”client”:” 192.168.75.130
”,”time”:”23/Apr/2017:10:03:34 +0300”, ”request”:”GET”,”path”:” /elasticsearch/_site/vendor.js”,”response”:”304”,”host”:”
sandbox.srv.tuxera.com”,”client”:”"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133
Safari/537.36"”, ”beat”:{"hostname" : " sandbox.srv.tuxera.com","name" : " sandbox.srv.tuxera.com ","version" : "5.2.2”,
"offset":1595,"source":"/var/log/nginx/access.log","type":"log"}}}
2008–2017 © Tuxera Inc. All Rights Reserved.
Static data comparison
FilebeatLog	collection
LogstashLog	processing
elasticsearchLog	storing
KibanaLog	visualization
Syslog
ELK	stack
…
{”time”:” Apr 23 06:47:01”, ”host”:” sandbox”,
”application”:”CRON”, ”processid”:” 23259”, ”cmd”:”
(test -x /usr/sbin/anacron || ( cd / u0026u0026 run-
parts --report /etc/cron.weekly ))”,
”beat”:{"hostname" : "
sandbox.srv.tuxera.com","name" : "
sandbox.srv.tuxera.com ","version" : "5.2.2"}}
…
…
{ "_index" : ”logstash-2017-04-23", "_type" : ”log", "_id" : "AVmDwg6kHxnroGLuXlMG", "_version" : 1, "found": true, "_source" :
{”time”:” Apr 23 06:47:01”, ”host”:” sandbox”, ”application”:”CRON”, ”processid”:” 23259”, ”cmd”:” (test -x /usr/sbin/anacron || ( cd /
u0026u0026 run-parts --report /etc/cron.weekly ))”, ”beat”:{"hostname" : " sandbox.srv.tuxera.com","name" : "
sandbox.srv.tuxera.com ","version" : "5.2.2"}}}
…
{”time”:” Apr 23 06:47:01”, ”host”:” sandbox”,
”application”:”CRON”, ”processid”:” 23259”, ”cmd”:”
(test -x /usr/sbin/anacron || ( cd / u0026u0026 run-
parts --report /etc/cron.weekly ))”,
”beat”:{"hostname" : "
sandbox.srv.tuxera.com","name" : "
sandbox.srv.tuxera.com ","version" : "5.2.2"}}
…
2008–2017 © Tuxera Inc. All Rights Reserved.
Demos
• Github path: https://github.com/maniankara/elk5.x-perf-testing
2008–2017 © Tuxera Inc. All Rights Reserved.
Demo – 1 – Live monitoring of nginx access.log
• Demo1
– Live events
– Filtering based on string
FilebeatLog	collection
LogstashLog	processing
elasticsearchLog	storing
KibanaLog	visualization
access.log
ELK	stack
• Recap
2008–2017 © Tuxera Inc. All Rights Reserved.
Demo1 – live events of nginx access logs
2008–2017 © Tuxera Inc. All Rights Reserved.
Demo – 2 – Helsinki air quality stats
• Helsinki metropolitan air quality statistics (from HSY)
2008–2017 © Tuxera Inc. All Rights Reserved.
Demo 2 – all pollution dashboard
2008–2017 © Tuxera Inc. All Rights Reserved.
Demo2 – NO2 pollution dashboard
2008–2017 © Tuxera Inc. All Rights Reserved.
Demo – 3 –Tuxera performance tests
• Terms to know
• Effective read/write
• Cache read/write
–Performance improvement/degradation over time
–commit comparison
2008–2017 © Tuxera Inc. All Rights Reserved.
Demo4 - Alerts
• Elasticsearch aggregations
2008–2017 © Tuxera Inc. All Rights Reserved.
Thank you !
Slides: https://goo.gl/ZZi5EL
Demo: https://goo.gl/4JYBE9
Anoop Vijayan
@maniankara

More Related Content

What's hot

The Gnocchi Experiment
The Gnocchi ExperimentThe Gnocchi Experiment
The Gnocchi ExperimentGordon Chung
 
Gnocchi v4 (preview)
Gnocchi v4 (preview)Gnocchi v4 (preview)
Gnocchi v4 (preview)Gordon Chung
 
Gnocchi v4 - past and present
Gnocchi v4 - past and presentGnocchi v4 - past and present
Gnocchi v4 - past and presentGordon Chung
 
Elasticsearch und die Java-Welt
Elasticsearch und die Java-WeltElasticsearch und die Java-Welt
Elasticsearch und die Java-WeltFlorian Hopf
 
Counters At Scale - A Cautionary Tale
Counters At Scale - A Cautionary TaleCounters At Scale - A Cautionary Tale
Counters At Scale - A Cautionary TaleEric Lubow
 
Puppetcamp Melbourne - puppetdb
Puppetcamp Melbourne - puppetdbPuppetcamp Melbourne - puppetdb
Puppetcamp Melbourne - puppetdbm_richardson
 
MongoDB: Intro & Application for Big Data
MongoDB: Intro & Application  for Big DataMongoDB: Intro & Application  for Big Data
MongoDB: Intro & Application for Big DataTakahiro Inoue
 
Large Scale Log collection using LogStash & mongoDB
Large Scale Log collection using LogStash & mongoDB Large Scale Log collection using LogStash & mongoDB
Large Scale Log collection using LogStash & mongoDB Gaurav Bhardwaj
 
Managing your Black Friday Logs
Managing your Black Friday LogsManaging your Black Friday Logs
Managing your Black Friday LogsJ On The Beach
 
Hacking the Mesh: Extending Istio with WebAssembly Modules | DevNation Tech Talk
Hacking the Mesh: Extending Istio with WebAssembly Modules | DevNation Tech TalkHacking the Mesh: Extending Istio with WebAssembly Modules | DevNation Tech Talk
Hacking the Mesh: Extending Istio with WebAssembly Modules | DevNation Tech TalkRed Hat Developers
 
Time Series Data in a Time Series World
Time Series Data in a Time Series WorldTime Series Data in a Time Series World
Time Series Data in a Time Series WorldMapR Technologies
 
Building a Fast, Resilient Time Series Store with Cassandra (Alex Petrov, Dat...
Building a Fast, Resilient Time Series Store with Cassandra (Alex Petrov, Dat...Building a Fast, Resilient Time Series Store with Cassandra (Alex Petrov, Dat...
Building a Fast, Resilient Time Series Store with Cassandra (Alex Petrov, Dat...DataStax
 
Reactive programming on Android
Reactive programming on AndroidReactive programming on Android
Reactive programming on AndroidTomáš Kypta
 
Storing Cassandra Metrics (Chris Lohfink, DataStax) | C* Summit 2016
Storing Cassandra Metrics (Chris Lohfink, DataStax) | C* Summit 2016Storing Cassandra Metrics (Chris Lohfink, DataStax) | C* Summit 2016
Storing Cassandra Metrics (Chris Lohfink, DataStax) | C* Summit 2016DataStax
 
OpenStack APIs: Present and Future (Beta Talk)
OpenStack APIs: Present and Future (Beta Talk)OpenStack APIs: Present and Future (Beta Talk)
OpenStack APIs: Present and Future (Beta Talk)Wade Minter
 
opentsdb in a real enviroment
opentsdb in a real enviromentopentsdb in a real enviroment
opentsdb in a real enviromentChen Robert
 

What's hot (20)

Gnocchi v3
Gnocchi v3Gnocchi v3
Gnocchi v3
 
The Gnocchi Experiment
The Gnocchi ExperimentThe Gnocchi Experiment
The Gnocchi Experiment
 
Docker Monitoring Webinar
Docker Monitoring  WebinarDocker Monitoring  Webinar
Docker Monitoring Webinar
 
Gnocchi v4 (preview)
Gnocchi v4 (preview)Gnocchi v4 (preview)
Gnocchi v4 (preview)
 
Gnocchi v4 - past and present
Gnocchi v4 - past and presentGnocchi v4 - past and present
Gnocchi v4 - past and present
 
Elasticsearch und die Java-Welt
Elasticsearch und die Java-WeltElasticsearch und die Java-Welt
Elasticsearch und die Java-Welt
 
Counters At Scale - A Cautionary Tale
Counters At Scale - A Cautionary TaleCounters At Scale - A Cautionary Tale
Counters At Scale - A Cautionary Tale
 
Puppetcamp Melbourne - puppetdb
Puppetcamp Melbourne - puppetdbPuppetcamp Melbourne - puppetdb
Puppetcamp Melbourne - puppetdb
 
MongoDB: Intro & Application for Big Data
MongoDB: Intro & Application  for Big DataMongoDB: Intro & Application  for Big Data
MongoDB: Intro & Application for Big Data
 
Large Scale Log collection using LogStash & mongoDB
Large Scale Log collection using LogStash & mongoDB Large Scale Log collection using LogStash & mongoDB
Large Scale Log collection using LogStash & mongoDB
 
Managing your Black Friday Logs
Managing your Black Friday LogsManaging your Black Friday Logs
Managing your Black Friday Logs
 
Hacking the Mesh: Extending Istio with WebAssembly Modules | DevNation Tech Talk
Hacking the Mesh: Extending Istio with WebAssembly Modules | DevNation Tech TalkHacking the Mesh: Extending Istio with WebAssembly Modules | DevNation Tech Talk
Hacking the Mesh: Extending Istio with WebAssembly Modules | DevNation Tech Talk
 
Time Series Data in a Time Series World
Time Series Data in a Time Series WorldTime Series Data in a Time Series World
Time Series Data in a Time Series World
 
Building a Fast, Resilient Time Series Store with Cassandra (Alex Petrov, Dat...
Building a Fast, Resilient Time Series Store with Cassandra (Alex Petrov, Dat...Building a Fast, Resilient Time Series Store with Cassandra (Alex Petrov, Dat...
Building a Fast, Resilient Time Series Store with Cassandra (Alex Petrov, Dat...
 
Reactive programming on Android
Reactive programming on AndroidReactive programming on Android
Reactive programming on Android
 
Storing Cassandra Metrics (Chris Lohfink, DataStax) | C* Summit 2016
Storing Cassandra Metrics (Chris Lohfink, DataStax) | C* Summit 2016Storing Cassandra Metrics (Chris Lohfink, DataStax) | C* Summit 2016
Storing Cassandra Metrics (Chris Lohfink, DataStax) | C* Summit 2016
 
OpenStack APIs: Present and Future (Beta Talk)
OpenStack APIs: Present and Future (Beta Talk)OpenStack APIs: Present and Future (Beta Talk)
OpenStack APIs: Present and Future (Beta Talk)
 
opentsdb in a real enviroment
opentsdb in a real enviromentopentsdb in a real enviroment
opentsdb in a real enviroment
 
Unqlite
UnqliteUnqlite
Unqlite
 
Presentation
PresentationPresentation
Presentation
 

Viewers also liked

USGS Report on the Impact of Marcellus Shale Drilling on Forest Animal Habitats
USGS Report on the Impact of Marcellus Shale Drilling on Forest Animal HabitatsUSGS Report on the Impact of Marcellus Shale Drilling on Forest Animal Habitats
USGS Report on the Impact of Marcellus Shale Drilling on Forest Animal HabitatsMarcellus Drilling News
 
Heterogenous Persistence
Heterogenous PersistenceHeterogenous Persistence
Heterogenous PersistenceJervin Real
 
Deploying services: automation with docker and ansible
Deploying services: automation with docker and ansibleDeploying services: automation with docker and ansible
Deploying services: automation with docker and ansibleJohn Zaccone
 
Bsides Delhi Security Automation for Red and Blue Teams
Bsides Delhi Security Automation for Red and Blue TeamsBsides Delhi Security Automation for Red and Blue Teams
Bsides Delhi Security Automation for Red and Blue TeamsSuraj Pratap
 
Micro Services - Small is Beautiful
Micro Services - Small is BeautifulMicro Services - Small is Beautiful
Micro Services - Small is BeautifulEberhard Wolff
 
Combining sentences with the words although and despite
Combining sentences with the words although and despiteCombining sentences with the words although and despite
Combining sentences with the words although and despiteEmily Kissner
 
Data Visualization on the Tech Side
Data Visualization on the Tech SideData Visualization on the Tech Side
Data Visualization on the Tech SideMathieu Elie
 
Cloud Foundry Logging and Metrics
Cloud Foundry Logging and MetricsCloud Foundry Logging and Metrics
Cloud Foundry Logging and MetricsEd King
 
LXC - kontener pingwinów
LXC - kontener pingwinówLXC - kontener pingwinów
LXC - kontener pingwinówgnosek
 
AWS May Webinar Series - Streaming Data Processing with Amazon Kinesis and AW...
AWS May Webinar Series - Streaming Data Processing with Amazon Kinesis and AW...AWS May Webinar Series - Streaming Data Processing with Amazon Kinesis and AW...
AWS May Webinar Series - Streaming Data Processing with Amazon Kinesis and AW...Amazon Web Services
 
Roxar Multiphase Meter
Roxar Multiphase MeterRoxar Multiphase Meter
Roxar Multiphase Meterali_elkaseh
 
Can you handle The TRUTH ,..? Missing page history of JESUS and Hidden TRUTH
Can you handle The TRUTH ,..?  Missing page history of JESUS and Hidden TRUTHCan you handle The TRUTH ,..?  Missing page history of JESUS and Hidden TRUTH
Can you handle The TRUTH ,..? Missing page history of JESUS and Hidden TRUTHHeri kusrianto
 
LJC Mashup "Building Java Microservices for the Cloud && Chuck Norris Doesn't...
LJC Mashup "Building Java Microservices for the Cloud && Chuck Norris Doesn't...LJC Mashup "Building Java Microservices for the Cloud && Chuck Norris Doesn't...
LJC Mashup "Building Java Microservices for the Cloud && Chuck Norris Doesn't...Daniel Bryant
 
AppSphere 15 - Containers and Microservices Create New Performance Challenges
AppSphere 15 - Containers and Microservices Create New Performance ChallengesAppSphere 15 - Containers and Microservices Create New Performance Challenges
AppSphere 15 - Containers and Microservices Create New Performance ChallengesAppDynamics
 
Regex Considered Harmful: Use Rosie Pattern Language Instead
Regex Considered Harmful: Use Rosie Pattern Language InsteadRegex Considered Harmful: Use Rosie Pattern Language Instead
Regex Considered Harmful: Use Rosie Pattern Language InsteadAll Things Open
 

Viewers also liked (20)

114 Numalliance
114 Numalliance114 Numalliance
114 Numalliance
 
Is 875 wind load
Is 875   wind loadIs 875   wind load
Is 875 wind load
 
USGS Report on the Impact of Marcellus Shale Drilling on Forest Animal Habitats
USGS Report on the Impact of Marcellus Shale Drilling on Forest Animal HabitatsUSGS Report on the Impact of Marcellus Shale Drilling on Forest Animal Habitats
USGS Report on the Impact of Marcellus Shale Drilling on Forest Animal Habitats
 
Heterogenous Persistence
Heterogenous PersistenceHeterogenous Persistence
Heterogenous Persistence
 
Deploying services: automation with docker and ansible
Deploying services: automation with docker and ansibleDeploying services: automation with docker and ansible
Deploying services: automation with docker and ansible
 
Bsides Delhi Security Automation for Red and Blue Teams
Bsides Delhi Security Automation for Red and Blue TeamsBsides Delhi Security Automation for Red and Blue Teams
Bsides Delhi Security Automation for Red and Blue Teams
 
Micro Services - Small is Beautiful
Micro Services - Small is BeautifulMicro Services - Small is Beautiful
Micro Services - Small is Beautiful
 
Combining sentences with the words although and despite
Combining sentences with the words although and despiteCombining sentences with the words although and despite
Combining sentences with the words although and despite
 
Gsm jammer
Gsm jammerGsm jammer
Gsm jammer
 
Data Visualization on the Tech Side
Data Visualization on the Tech SideData Visualization on the Tech Side
Data Visualization on the Tech Side
 
Cloud Foundry Logging and Metrics
Cloud Foundry Logging and MetricsCloud Foundry Logging and Metrics
Cloud Foundry Logging and Metrics
 
LXC - kontener pingwinów
LXC - kontener pingwinówLXC - kontener pingwinów
LXC - kontener pingwinów
 
AWS May Webinar Series - Streaming Data Processing with Amazon Kinesis and AW...
AWS May Webinar Series - Streaming Data Processing with Amazon Kinesis and AW...AWS May Webinar Series - Streaming Data Processing with Amazon Kinesis and AW...
AWS May Webinar Series - Streaming Data Processing with Amazon Kinesis and AW...
 
Roxar Multiphase Meter
Roxar Multiphase MeterRoxar Multiphase Meter
Roxar Multiphase Meter
 
Can you handle The TRUTH ,..? Missing page history of JESUS and Hidden TRUTH
Can you handle The TRUTH ,..?  Missing page history of JESUS and Hidden TRUTHCan you handle The TRUTH ,..?  Missing page history of JESUS and Hidden TRUTH
Can you handle The TRUTH ,..? Missing page history of JESUS and Hidden TRUTH
 
Incident Response in the wake of Dear CEO
Incident Response in the wake of Dear CEOIncident Response in the wake of Dear CEO
Incident Response in the wake of Dear CEO
 
LJC Mashup "Building Java Microservices for the Cloud && Chuck Norris Doesn't...
LJC Mashup "Building Java Microservices for the Cloud && Chuck Norris Doesn't...LJC Mashup "Building Java Microservices for the Cloud && Chuck Norris Doesn't...
LJC Mashup "Building Java Microservices for the Cloud && Chuck Norris Doesn't...
 
AppSphere 15 - Containers and Microservices Create New Performance Challenges
AppSphere 15 - Containers and Microservices Create New Performance ChallengesAppSphere 15 - Containers and Microservices Create New Performance Challenges
AppSphere 15 - Containers and Microservices Create New Performance Challenges
 
TrendsByte Presentation
TrendsByte PresentationTrendsByte Presentation
TrendsByte Presentation
 
Regex Considered Harmful: Use Rosie Pattern Language Instead
Regex Considered Harmful: Use Rosie Pattern Language InsteadRegex Considered Harmful: Use Rosie Pattern Language Instead
Regex Considered Harmful: Use Rosie Pattern Language Instead
 

Similar to Elks for analysing performance test results - Helsinki QA meetup

How ElasticSearch lives in my DevOps life
How ElasticSearch lives in my DevOps lifeHow ElasticSearch lives in my DevOps life
How ElasticSearch lives in my DevOps life琛琳 饶
 
nuclio Overview October 2017
nuclio Overview October 2017nuclio Overview October 2017
nuclio Overview October 2017iguazio
 
iguazio - nuclio overview to CNCF (Sep 25th 2017)
iguazio - nuclio overview to CNCF (Sep 25th 2017)iguazio - nuclio overview to CNCF (Sep 25th 2017)
iguazio - nuclio overview to CNCF (Sep 25th 2017)Eran Duchan
 
Elk presentation 2#3
Elk presentation 2#3Elk presentation 2#3
Elk presentation 2#3uzzal basak
 
Running High-Speed Serverless with nuclio
Running High-Speed Serverless with nuclioRunning High-Speed Serverless with nuclio
Running High-Speed Serverless with nuclioiguazio
 
Managing Your Security Logs with Elasticsearch
Managing Your Security Logs with ElasticsearchManaging Your Security Logs with Elasticsearch
Managing Your Security Logs with ElasticsearchVic Hargrave
 
Migrating the elastic stack to the cloud, or application logging @ travix
 Migrating the elastic stack to the cloud, or application logging @ travix Migrating the elastic stack to the cloud, or application logging @ travix
Migrating the elastic stack to the cloud, or application logging @ travixRuslan Lutsenko
 
Log management with_logstash_and_elastic_search
Log management with_logstash_and_elastic_searchLog management with_logstash_and_elastic_search
Log management with_logstash_and_elastic_searchRishav Rohit
 
Learning the basics of Apache NiFi for iot OSS Europe 2020
Learning the basics of Apache NiFi for iot OSS Europe 2020Learning the basics of Apache NiFi for iot OSS Europe 2020
Learning the basics of Apache NiFi for iot OSS Europe 2020Timothy Spann
 
Testing kubernetes and_open_shift_at_scale_20170209
Testing kubernetes and_open_shift_at_scale_20170209Testing kubernetes and_open_shift_at_scale_20170209
Testing kubernetes and_open_shift_at_scale_20170209mffiedler
 
Introduction to Apache NiFi 1.11.4
Introduction to Apache NiFi 1.11.4Introduction to Apache NiFi 1.11.4
Introduction to Apache NiFi 1.11.4Timothy Spann
 
2021 04-20 apache arrow and its impact on the database industry.pptx
2021 04-20  apache arrow and its impact on the database industry.pptx2021 04-20  apache arrow and its impact on the database industry.pptx
2021 04-20 apache arrow and its impact on the database industry.pptxAndrew Lamb
 
Large Scale Crawling with Apache Nutch and Friends
Large Scale Crawling with Apache Nutch and FriendsLarge Scale Crawling with Apache Nutch and Friends
Large Scale Crawling with Apache Nutch and Friendslucenerevolution
 
Large Scale Crawling with Apache Nutch and Friends
Large Scale Crawling with Apache Nutch and FriendsLarge Scale Crawling with Apache Nutch and Friends
Large Scale Crawling with Apache Nutch and FriendsJulien Nioche
 

Similar to Elks for analysing performance test results - Helsinki QA meetup (20)

How ElasticSearch lives in my DevOps life
How ElasticSearch lives in my DevOps lifeHow ElasticSearch lives in my DevOps life
How ElasticSearch lives in my DevOps life
 
nuclio Overview October 2017
nuclio Overview October 2017nuclio Overview October 2017
nuclio Overview October 2017
 
iguazio - nuclio overview to CNCF (Sep 25th 2017)
iguazio - nuclio overview to CNCF (Sep 25th 2017)iguazio - nuclio overview to CNCF (Sep 25th 2017)
iguazio - nuclio overview to CNCF (Sep 25th 2017)
 
Elk presentation 2#3
Elk presentation 2#3Elk presentation 2#3
Elk presentation 2#3
 
Logstash
LogstashLogstash
Logstash
 
Running High-Speed Serverless with nuclio
Running High-Speed Serverless with nuclioRunning High-Speed Serverless with nuclio
Running High-Speed Serverless with nuclio
 
Streaming ETL for All
Streaming ETL for AllStreaming ETL for All
Streaming ETL for All
 
Managing Your Security Logs with Elasticsearch
Managing Your Security Logs with ElasticsearchManaging Your Security Logs with Elasticsearch
Managing Your Security Logs with Elasticsearch
 
K8s monitoring with elk
K8s monitoring with elkK8s monitoring with elk
K8s monitoring with elk
 
Migrating the elastic stack to the cloud, or application logging @ travix
 Migrating the elastic stack to the cloud, or application logging @ travix Migrating the elastic stack to the cloud, or application logging @ travix
Migrating the elastic stack to the cloud, or application logging @ travix
 
Log management with_logstash_and_elastic_search
Log management with_logstash_and_elastic_searchLog management with_logstash_and_elastic_search
Log management with_logstash_and_elastic_search
 
Learning the basics of Apache NiFi for iot OSS Europe 2020
Learning the basics of Apache NiFi for iot OSS Europe 2020Learning the basics of Apache NiFi for iot OSS Europe 2020
Learning the basics of Apache NiFi for iot OSS Europe 2020
 
Testing kubernetes and_open_shift_at_scale_20170209
Testing kubernetes and_open_shift_at_scale_20170209Testing kubernetes and_open_shift_at_scale_20170209
Testing kubernetes and_open_shift_at_scale_20170209
 
Postgres Toolkit
Postgres ToolkitPostgres Toolkit
Postgres Toolkit
 
Introduction to Apache NiFi 1.11.4
Introduction to Apache NiFi 1.11.4Introduction to Apache NiFi 1.11.4
Introduction to Apache NiFi 1.11.4
 
Vinetalk: The missing piece for cluster managers to enable accelerator sharing
Vinetalk: The missing piece for cluster managers to enable accelerator sharingVinetalk: The missing piece for cluster managers to enable accelerator sharing
Vinetalk: The missing piece for cluster managers to enable accelerator sharing
 
Data storage in clouds
Data storage in cloudsData storage in clouds
Data storage in clouds
 
2021 04-20 apache arrow and its impact on the database industry.pptx
2021 04-20  apache arrow and its impact on the database industry.pptx2021 04-20  apache arrow and its impact on the database industry.pptx
2021 04-20 apache arrow and its impact on the database industry.pptx
 
Large Scale Crawling with Apache Nutch and Friends
Large Scale Crawling with Apache Nutch and FriendsLarge Scale Crawling with Apache Nutch and Friends
Large Scale Crawling with Apache Nutch and Friends
 
Large Scale Crawling with Apache Nutch and Friends
Large Scale Crawling with Apache Nutch and FriendsLarge Scale Crawling with Apache Nutch and Friends
Large Scale Crawling with Apache Nutch and Friends
 

Recently uploaded

Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 

Recently uploaded (20)

Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 

Elks for analysing performance test results - Helsinki QA meetup

  • 1. 2008–2017 © Tuxera Inc. All Rights Reserved. Analysing performance test results with ELK Anoop Vijayan Maniankara Tuxera Inc. @maniankara 22008–2017 © Tuxera Inc. All Rights Reserved.
  • 2. 2008–2017 © Tuxera Inc. All Rights Reserved.
  • 3. 2008–2017 © Tuxera Inc. All Rights Reserved. Elk (Elastic) stack 5.x • Elastic search – Logs storing (~NoSQL database) • Log stash – Log processor • Kibana – Graphs and charts over JSON Data shippers • Filebeat • Metricbeat • Packet beat • …
  • 4. 2008–2017 © Tuxera Inc. All Rights Reserved. Anoop Vijayan 12+ years experience in designing, developing, testing Continuous Integration systems in bigger enterprises to small companies DevOps lead at Tuxera Inc. @maniankara Github, stackoverflow, etc.
  • 5. 2008–2017 © Tuxera Inc. All Rights Reserved. Agenda • All about logs –Purpose of log handling, tools available –With elkstack • Live log monitoring or processing • Static log/data analysis –Demo
  • 6. 2008–2017 © Tuxera Inc. All Rights Reserved. Purpose - Log handling Time Activities Longer Time • Search – Trace events from past • Analyze – Tracking trends over time Event • Monitor – Detect events • Compare – Two or more instances
  • 7. 2008–2017 © Tuxera Inc. All Rights Reserved. Tools in the market • Free and opensource: – ELK stack/Elastic stack - More manual configurations • Commercial (popular ones, not all) – Splunk – 1GB/day $4.5k (Perpetual)/$1.8k (Annual) – Loggly – Saas not available in-house $1.18k (1GB/day)/$2.38k (4GB/day) – …
  • 8. 2008–2017 © Tuxera Inc. All Rights Reserved. Architecture – ELK stack Souce: http://blog.arungupta.me/getting-started-elk-stack-wildfly/ L E K
  • 9. 2008–2017 © Tuxera Inc. All Rights Reserved. ELK stack (Kibana) look and feel Monitoring system logs Analyzing http request resources
  • 10. 2008–2017 © Tuxera Inc. All Rights Reserved. ELK stack (Kibana) look and feel contd. Analyzing event fields Comparing tools
  • 11. 2008–2017 © Tuxera Inc. All Rights Reserved. Scope • Live log handling • Static data comparison
  • 12. 2008–2017 © Tuxera Inc. All Rights Reserved. Live log parsing (nginx log) … 192.168.75.130 - - [23/Apr/2017:10:03:34 +0300] "GET /elasticsearch/_site/vendor.js HTTP/1.1" 304 0 "http://sandbox.srv.tuxera.com:3005/elasticsearch/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36" … … {"@timestamp":"2017-04- 23T07:55:37.886Z","beat":{"hostname":"sandbox.srv.tuxera.com","name":"sandbox.srv.tuxera.com","version":"5.2.2"},"input_type":"log","message":"192.168.75. 130 - - [23/Apr/2017:10:03:34 +0300] "GET /elasticsearch/_site/vendor.js HTTP/1.1" 304 0 "http://sandbox.srv.tuxera.com:3005/elasticsearch/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36"","offset":1595,"source":"/var/log/nginx/access.log","type":"log"} … FilebeatLog collection LogstashLog processing elasticsearchLog storing KibanaLog visualization access.log ELK stack … {”client”:” 192.168.75.130 ”,”time”:”23/Apr/2017:10:03:34 +0300”, ”request”:”GET”,”path”:” /elasticsearch/_site/vendor.js”,”response”:”304”,”host”:” sandbox.srv.tuxera.com”,”client”:”"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36"”, ”beat”:{"hostname" : " sandbox.srv.tuxera.com","name" : " sandbox.srv.tuxera.com ","version" : "5.2.2”, "offset":1595,"source":"/var/log/nginx/access.log","type":"log"}} … … { "_index" : ”logstash-2017-04-23", "_type" : ”log", "_id" : "AVmDwg6kHxnroGLuXlMG", "_version" : 1, "found": true, "_source" : {”client”:” 192.168.75.130 ”,”time”:”23/Apr/2017:10:03:34 +0300”, ”request”:”GET”,”path”:” /elasticsearch/_site/vendor.js”,”response”:”304”,”host”:” sandbox.srv.tuxera.com”,”client”:”"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36"”, ”beat”:{"hostname" : " sandbox.srv.tuxera.com","name" : " sandbox.srv.tuxera.com ","version" : "5.2.2”, "offset":1595,"source":"/var/log/nginx/access.log","type":"log"}}}
  • 13. 2008–2017 © Tuxera Inc. All Rights Reserved. Static data comparison FilebeatLog collection LogstashLog processing elasticsearchLog storing KibanaLog visualization Syslog ELK stack … {”time”:” Apr 23 06:47:01”, ”host”:” sandbox”, ”application”:”CRON”, ”processid”:” 23259”, ”cmd”:” (test -x /usr/sbin/anacron || ( cd / u0026u0026 run- parts --report /etc/cron.weekly ))”, ”beat”:{"hostname" : " sandbox.srv.tuxera.com","name" : " sandbox.srv.tuxera.com ","version" : "5.2.2"}} … … { "_index" : ”logstash-2017-04-23", "_type" : ”log", "_id" : "AVmDwg6kHxnroGLuXlMG", "_version" : 1, "found": true, "_source" : {”time”:” Apr 23 06:47:01”, ”host”:” sandbox”, ”application”:”CRON”, ”processid”:” 23259”, ”cmd”:” (test -x /usr/sbin/anacron || ( cd / u0026u0026 run-parts --report /etc/cron.weekly ))”, ”beat”:{"hostname" : " sandbox.srv.tuxera.com","name" : " sandbox.srv.tuxera.com ","version" : "5.2.2"}}} … {”time”:” Apr 23 06:47:01”, ”host”:” sandbox”, ”application”:”CRON”, ”processid”:” 23259”, ”cmd”:” (test -x /usr/sbin/anacron || ( cd / u0026u0026 run- parts --report /etc/cron.weekly ))”, ”beat”:{"hostname" : " sandbox.srv.tuxera.com","name" : " sandbox.srv.tuxera.com ","version" : "5.2.2"}} …
  • 14. 2008–2017 © Tuxera Inc. All Rights Reserved. Demos • Github path: https://github.com/maniankara/elk5.x-perf-testing
  • 15. 2008–2017 © Tuxera Inc. All Rights Reserved. Demo – 1 – Live monitoring of nginx access.log • Demo1 – Live events – Filtering based on string FilebeatLog collection LogstashLog processing elasticsearchLog storing KibanaLog visualization access.log ELK stack • Recap
  • 16. 2008–2017 © Tuxera Inc. All Rights Reserved. Demo1 – live events of nginx access logs
  • 17. 2008–2017 © Tuxera Inc. All Rights Reserved. Demo – 2 – Helsinki air quality stats • Helsinki metropolitan air quality statistics (from HSY)
  • 18. 2008–2017 © Tuxera Inc. All Rights Reserved. Demo 2 – all pollution dashboard
  • 19. 2008–2017 © Tuxera Inc. All Rights Reserved. Demo2 – NO2 pollution dashboard
  • 20. 2008–2017 © Tuxera Inc. All Rights Reserved. Demo – 3 –Tuxera performance tests • Terms to know • Effective read/write • Cache read/write –Performance improvement/degradation over time –commit comparison
  • 21. 2008–2017 © Tuxera Inc. All Rights Reserved. Demo4 - Alerts • Elasticsearch aggregations
  • 22. 2008–2017 © Tuxera Inc. All Rights Reserved. Thank you ! Slides: https://goo.gl/ZZi5EL Demo: https://goo.gl/4JYBE9 Anoop Vijayan @maniankara