SlideShare a Scribd company logo
From zero to production hero:
Log analysis with Elasticsearch
Rafał Kuć
Radu Gheorghe
Who are we?
RaduRafał
Our Company → Sematext
HQ: NYC + Globally Distributed Team
Search & Big Data Consulting
Production Support for Solr & Elasticsearch
Training for Solr & Elasticsearch (online and
onsite)
Training in NYC
next week!
Oct 19 & 20
Our Company → Sematext
Agenda
Kibana
Elasticsearch
essentials, tuning and scaling
Logstash
rsyslog
Logstash + rsyslog
Commands & Configs:
https://github.com/sematext/velocity
Lucene Essentials
{"verb": "GET"}
document
Lucene Essentials
{"verb": "GET"}
1)GETdocument
stored
Lucene Essentials
GET 1,3,5
PUT 2,4
{"verb": "GET"}
1)GETdocument
stored
indexed
Analysis
(Macintosh; Intel Mac OSX; en)
["Macintosh", "Intel", "Mac", "OSX", "en"]
["macintosh", "intel", "mac", "osx", "en"]
standard tokenizer
lowercase token filter
Field data
GET 1,2
PUT 2,3
Field data
GET 1,2
PUT 2,3
Field data
GET 1,2
PUT 2,3
1) GET
2) GET,PUT
3) PUT
Field data
GET 1,2
PUT 2,3
1) GET
2) GET,PUT
3) PUT
expensive
Field data
GET 1,2
PUT 2,3
1) GET
2) GET,PUT
3) PUT
expensive
heap
Field data
GET 1,2
PUT 2,3
1) GET
2) GET,PUT
3) PUT
expensive
heap
http://bio-img.s3.amazonaws.com/bds/formhdr-cvr-5-memory-killing-foods-v2.png
DocValues
GET 1,2
PUT 2,3
1) GET
2) GET,PUT
3) PUT
at index time;
on disk
https://www.lorextechnology.com/images/products/HDD250GB/900x600/security-certified-HDD250GB-L1.png
DocValues
GET 1,2
PUT 2,3
1) GET
2) GET,PUT
3) PUT
no uninverting!
at index time;
on disk
https://www.lorextechnology.com/images/products/HDD250GB/900x600/security-certified-HDD250GB-L1.png
OS caches
instead of heap
Logstash
/var/log/apache.log
GET /index.html
grok
{
"verb": "GET",
"path": "/index.html"
}
- w $numberOfWorkers
workers => 2
filter
output
input
Elasticsearch
rsyslog
/var/log/apache.log
GET /index.html
mmnormalize
{
"verb": "GET",
"path": "/index.html"
}
queue.workerThreads
queue.dequeueBatchSize
omelasticsearch
imfile input
module
Elasticsearch
main queue (RAM+Disk)
queue.type
queue.size
...
mmnormalize parse tree
sys
tem log
d -ng
=> scales very well with # of rules
(performance depends more on log length)
rsyslog + Redis via Kafka
rsyslog Apache Kafka Logstash Elasticsearch
file input
mmnormalize
omkafka +
JSON template
Kafka input +
JSON codec Elasticsearch
output
Free eBooks @ sematext.com
We are hiring too
http://sematext.com/about/jobs.html
From Zero to Production Hero: Log Analysis with Elasticsearch (from Velocity NYC 2015)
Thank you!
Rafał Kuć
@kucrafal
rafal.kuc@sematext.com
Radu Gheorghe
@radu0gheorghe
radu.gheorghe@sematext.com
Sematext
@sematext
http://sematext.com

More Related Content

What's hot (20)

PDF
ELK introduction
Waldemar Neto
 
PDF
Machine Learning in a Twitter ETL using ELK
hypto
 
PDF
Journée DevOps : Des dashboards pour tous avec ElasticSearch, Logstash et Kibana
Publicis Sapient Engineering
 
PPTX
Introduction to ELK
Harshakumar Ummerpillai
 
PDF
Docker Monitoring Webinar
Sematext Group, Inc.
 
PPTX
ELK Stack
Phuc Nguyen
 
PPTX
Elasticsearch, Logstash, Kibana. Cool search, analytics, data mining and more...
Oleksiy Panchenko
 
PDF
Null Bachaav - May 07 Attack Monitoring workshop.
Prajal Kulkarni
 
PDF
Monitoramento com ELK - Elasticsearch - Logstash - Kibana
Waldemar Neto
 
PPTX
Logstash
Rajgourav Jain
 
PDF
Log analysis with the elk stack
Vikrant Chauhan
 
PPTX
More kibana
琛琳 饶
 
PDF
ELK, a real case study
Paolo Tonin
 
PPTX
Elastic - ELK, Logstash & Kibana
SpringPeople
 
PDF
Open Source Logging and Monitoring Tools
Phase2
 
PDF
Experiences in ELK with D3.js for Large Log Analysis and Visualization
Surasak Sanguanpong
 
PDF
Elk devops
Ideato
 
PDF
Introduction to Elasticsearch
Ruslan Zavacky
 
PDF
Mobile Analytics mit Elasticsearch und Kibana
inovex GmbH
 
PDF
ELK: a log management framework
Giovanni Bechis
 
ELK introduction
Waldemar Neto
 
Machine Learning in a Twitter ETL using ELK
hypto
 
Journée DevOps : Des dashboards pour tous avec ElasticSearch, Logstash et Kibana
Publicis Sapient Engineering
 
Introduction to ELK
Harshakumar Ummerpillai
 
Docker Monitoring Webinar
Sematext Group, Inc.
 
ELK Stack
Phuc Nguyen
 
Elasticsearch, Logstash, Kibana. Cool search, analytics, data mining and more...
Oleksiy Panchenko
 
Null Bachaav - May 07 Attack Monitoring workshop.
Prajal Kulkarni
 
Monitoramento com ELK - Elasticsearch - Logstash - Kibana
Waldemar Neto
 
Logstash
Rajgourav Jain
 
Log analysis with the elk stack
Vikrant Chauhan
 
More kibana
琛琳 饶
 
ELK, a real case study
Paolo Tonin
 
Elastic - ELK, Logstash & Kibana
SpringPeople
 
Open Source Logging and Monitoring Tools
Phase2
 
Experiences in ELK with D3.js for Large Log Analysis and Visualization
Surasak Sanguanpong
 
Elk devops
Ideato
 
Introduction to Elasticsearch
Ruslan Zavacky
 
Mobile Analytics mit Elasticsearch und Kibana
inovex GmbH
 
ELK: a log management framework
Giovanni Bechis
 

Similar to From Zero to Production Hero: Log Analysis with Elasticsearch (from Velocity NYC 2015) (20)

PPTX
Elasticsearch workshop presentation
Laura Steggles
 
PPTX
About elasticsearch
Minsoo Jun
 
PDF
Elasticsearch for Logs & Metrics - a deep dive
Sematext Group, Inc.
 
PPTX
Intro elasticsearch taswarbhatti
Taswar Bhatti
 
PDF
From Zero to Hero - Centralized Logging with Logstash & Elasticsearch
Sematext Group, Inc.
 
PDF
From zero to hero - Easy log centralization with Logstash and Elasticsearch
Rafał Kuć
 
PPTX
Tuning Elasticsearch Indexing Pipeline for Logs
Sematext Group, Inc.
 
PDF
You're not using ElasticSearch (outdated)
Timon Vonk
 
PPTX
Scaling Massive Elasticsearch Clusters
Sematext Group, Inc.
 
PDF
On Centralizing Logs
Sematext Group, Inc.
 
PPTX
Elastic pivorak
Pivorak MeetUp
 
PDF
Explore Elasticsearch and Why It’s Worth Using
Inexture Solutions
 
PPTX
BigData Search Simplified with ElasticSearch
TO THE NEW | Technology
 
PDF
Managing your Black Friday Logs
J On The Beach
 
PDF
Elasticsearch in Netflix
Danny Yuan
 
PPTX
The Elastic Stack as a SIEM
John Hubbard
 
PDF
Log Management: AtlSecCon2015
cameronevans
 
PPTX
Scaling an ELK stack at bol.com
Renzo Tomà
 
PDF
Scalability and Real-time Queries with Elasticsearch
Ivo Andreev
 
PPTX
ElasticSearch in Production: lessons learned
BeyondTrees
 
Elasticsearch workshop presentation
Laura Steggles
 
About elasticsearch
Minsoo Jun
 
Elasticsearch for Logs & Metrics - a deep dive
Sematext Group, Inc.
 
Intro elasticsearch taswarbhatti
Taswar Bhatti
 
From Zero to Hero - Centralized Logging with Logstash & Elasticsearch
Sematext Group, Inc.
 
From zero to hero - Easy log centralization with Logstash and Elasticsearch
Rafał Kuć
 
Tuning Elasticsearch Indexing Pipeline for Logs
Sematext Group, Inc.
 
You're not using ElasticSearch (outdated)
Timon Vonk
 
Scaling Massive Elasticsearch Clusters
Sematext Group, Inc.
 
On Centralizing Logs
Sematext Group, Inc.
 
Elastic pivorak
Pivorak MeetUp
 
Explore Elasticsearch and Why It’s Worth Using
Inexture Solutions
 
BigData Search Simplified with ElasticSearch
TO THE NEW | Technology
 
Managing your Black Friday Logs
J On The Beach
 
Elasticsearch in Netflix
Danny Yuan
 
The Elastic Stack as a SIEM
John Hubbard
 
Log Management: AtlSecCon2015
cameronevans
 
Scaling an ELK stack at bol.com
Renzo Tomà
 
Scalability and Real-time Queries with Elasticsearch
Ivo Andreev
 
ElasticSearch in Production: lessons learned
BeyondTrees
 
Ad

More from Sematext Group, Inc. (20)

PDF
Tweaking the Base Score: Lucene/Solr Similarities Explained
Sematext Group, Inc.
 
PDF
OOPs, OOMs, oh my! Containerizing JVM apps
Sematext Group, Inc.
 
PPTX
Is observability good for your brain?
Sematext Group, Inc.
 
PDF
Introducing log analysis to your organization
Sematext Group, Inc.
 
PPTX
Solr Search Engine: Optimize Is (Not) Bad for You
Sematext Group, Inc.
 
PDF
Solr on Docker - the Good, the Bad and the Ugly
Sematext Group, Inc.
 
PDF
Monitoring and Log Management for
Sematext Group, Inc.
 
PDF
Introduction to solr
Sematext Group, Inc.
 
PDF
Building Resilient Log Aggregation Pipeline with Elasticsearch & Kafka
Sematext Group, Inc.
 
PDF
How to Run Solr on Docker and Why
Sematext Group, Inc.
 
PDF
Tuning Solr & Pipeline for Logs
Sematext Group, Inc.
 
PPTX
Running High Performance & Fault-tolerant Elasticsearch Clusters on Docker
Sematext Group, Inc.
 
PDF
Top Node.js Metrics to Watch
Sematext Group, Inc.
 
PPT
Running High Performance and Fault Tolerant Elasticsearch Clusters on Docker
Sematext Group, Inc.
 
PDF
Large Scale Log Analytics with Solr (from Lucene Revolution 2015)
Sematext Group, Inc.
 
PDF
Docker Logging Webinar
Sematext Group, Inc.
 
PDF
Solr Anti Patterns
Sematext Group, Inc.
 
PDF
Tuning Solr for Logs
Sematext Group, Inc.
 
PDF
(Elastic)search in big data
Sematext Group, Inc.
 
PDF
Side by Side with Elasticsearch and Solr
Sematext Group, Inc.
 
Tweaking the Base Score: Lucene/Solr Similarities Explained
Sematext Group, Inc.
 
OOPs, OOMs, oh my! Containerizing JVM apps
Sematext Group, Inc.
 
Is observability good for your brain?
Sematext Group, Inc.
 
Introducing log analysis to your organization
Sematext Group, Inc.
 
Solr Search Engine: Optimize Is (Not) Bad for You
Sematext Group, Inc.
 
Solr on Docker - the Good, the Bad and the Ugly
Sematext Group, Inc.
 
Monitoring and Log Management for
Sematext Group, Inc.
 
Introduction to solr
Sematext Group, Inc.
 
Building Resilient Log Aggregation Pipeline with Elasticsearch & Kafka
Sematext Group, Inc.
 
How to Run Solr on Docker and Why
Sematext Group, Inc.
 
Tuning Solr & Pipeline for Logs
Sematext Group, Inc.
 
Running High Performance & Fault-tolerant Elasticsearch Clusters on Docker
Sematext Group, Inc.
 
Top Node.js Metrics to Watch
Sematext Group, Inc.
 
Running High Performance and Fault Tolerant Elasticsearch Clusters on Docker
Sematext Group, Inc.
 
Large Scale Log Analytics with Solr (from Lucene Revolution 2015)
Sematext Group, Inc.
 
Docker Logging Webinar
Sematext Group, Inc.
 
Solr Anti Patterns
Sematext Group, Inc.
 
Tuning Solr for Logs
Sematext Group, Inc.
 
(Elastic)search in big data
Sematext Group, Inc.
 
Side by Side with Elasticsearch and Solr
Sematext Group, Inc.
 
Ad

Recently uploaded (20)

PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
Advancing WebDriver BiDi support in WebKit
Igalia
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Advancing WebDriver BiDi support in WebKit
Igalia
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
July Patch Tuesday
Ivanti
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 

From Zero to Production Hero: Log Analysis with Elasticsearch (from Velocity NYC 2015)