Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
When monolog meets ELK (& bermudas!)
Search
Olivier Dolbeau
November 15, 2015
Programming
4
780
When monolog meets ELK (& bermudas!)
Talk given at PHPCON PL 2015.
Code:
https://github.com/odolbeau/elk-monolog-example
Olivier Dolbeau
November 15, 2015
Tweet
Share
More Decks by Olivier Dolbeau
See All by Olivier Dolbeau
Throw new \Exception(); Oui, mais laquelle ?
odolbeau
1
220
Jane & Webby
odolbeau
0
390
Translating a monolingual application
odolbeau
2
560
DX: Developer eXperience
odolbeau
1
92
DX: Developer eXperience
odolbeau
1
540
EasyAdminBundle introduction
odolbeau
0
180
REX API Platform
odolbeau
0
1.3k
Features flags at BlaBlaCar
odolbeau
5
1.1k
25+ million members in 22 countries, how to scale with Symfony2
odolbeau
2
500
Other Decks in Programming
See All in Programming
A full stack side project webapp all in Kotlin (KotlinConf 2025)
dankim
0
150
おやつのお供はお決まりですか?@WWDC25 Recap -Japan-\(region).swift
shingangan
0
140
Model Pollution
hschwentner
1
160
코딩 에이전트 체크리스트: Claude Code ver.
nacyot
0
930
商品比較サービス「マイベスト」における パーソナライズレコメンドの第一歩
ucchiii43
0
180
ご注文の差分はこちらですか? 〜 AWS CDK のいろいろな差分検出と安全なデプロイ
konokenj
3
570
TypeScriptでDXを上げろ! Hono編
yusukebe
3
770
効率的な開発手段として VRTを活用する
ishkawa
0
160
ふつうの技術スタックでアート作品を作ってみる
akira888
1
1.3k
Flutterで備える!Accessibility Nutrition Labels完全ガイド
yuukiw00w
0
170
Hack Claude Code with Claude Code
choplin
7
2.5k
状態遷移図を書こう / Sequence Chart vs State Diagram
orgachem
PRO
2
200
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
53
7.7k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Making Projects Easy
brettharned
116
6.3k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
How GitHub (no longer) Works
holman
314
140k
How STYLIGHT went responsive
nonsquared
100
5.6k
The Cult of Friendly URLs
andyhume
79
6.5k
Gamification - CAS2011
davidbonilla
81
5.4k
Navigating Team Friction
lara
187
15k
Transcript
When Monolog meets ELK and bermudas!
Olivier Dolbeau @odolbeau Web Architect Me
None
Which logs are we talking about?
None
None
None
The old way...
Where is my fucking error?
Which server?
None
I found the criticity !
Maybe it’s the one I want?
Tool box
SSH tail cat grep more less sed
SSH tail cat grep more less sed
SSH tail cat grep more less sed
My roommate uses this to colorize his access logs... This
is specific to his access logs… and ugly as hell!
None
We are in 2015!
E L K
• real time data • distributed • multi-tenancy • document
oriented • schema free • per operation persistence • real time analytics • high availability • full text search • conflict management • restful api • built on top of apache lucene
Logstash
Kibana
None
Some configuration
Logstash input for syslog
Logstash input for gelf
What is Gelf?
Logstash filter example (for syslog)
Logstash output example
None
Heka RSYSLOG
None
Monolog
Live coding
Create a logger.
Add another handler.
Add some processors.
PSR\Log\LoggerInterface.
Use context!
PsrLogMessageProcessor.
Name your loggers.
Bermudas vs pants!
• Bermudas rocks! • Logs are really important, take care
of them! • Take a look at ELK. Write beautiful logs. Olivier Dolbeau @odolbeau We’re hiring! In Paris & Warsaw! http://blbl.cr/dreamjobs