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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Olivier Dolbeau
November 15, 2015
Programming
820
4
Share
When monolog meets ELK (& bermudas!)
Talk given at PHPCON PL 2015.
Code:
https://github.com/odolbeau/elk-monolog-example
Olivier Dolbeau
November 15, 2015
More Decks by Olivier Dolbeau
See All by Olivier Dolbeau
Throw new \Exception(); Oui, mais laquelle ?
odolbeau
1
300
Jane & Webby
odolbeau
0
480
Translating a monolingual application
odolbeau
2
680
DX: Developer eXperience
odolbeau
1
120
DX: Developer eXperience
odolbeau
1
580
EasyAdminBundle introduction
odolbeau
0
220
REX API Platform
odolbeau
0
1.4k
Features flags at BlaBlaCar
odolbeau
5
1.2k
25+ million members in 22 countries, how to scale with Symfony2
odolbeau
2
660
Other Decks in Programming
See All in Programming
Rethinking API Platform Filters
vinceamstoutz
0
11k
Going Multiplatform with Your Android App (Android Makers 2026)
zsmb
2
370
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
190
レガシーPHP転生 〜父がドメインエキスパートだったのでDDD+Claude Codeでチート開発します〜
panda_program
0
650
Vibe하게 만드는 Flutter GenUI App With ADK , 박제창, BWAI Incheon 2026
itsmedreamwalker
0
550
安いハードウェアでVulkan
fadis
1
950
의존성 주입과 모듈화
fornewid
0
130
ローカルで稼働するAI エージェントを超えて / beyond-local-ai-agents
gawa
3
260
Coding as Prompting Since 2025
ragingwind
0
780
L’IA au service des devs : Anatomie d'un assistant de Code Review
toham
0
220
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
3
520
我々はなぜ「層」を分けるのか〜「関心の分離」と「抽象化」で手に入れる変更に強いシンプルな設計〜 #phperkaigi / PHPerKaigi 2026
shogogg
2
910
Featured
See All Featured
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
220
HDC tutorial
michielstock
1
610
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
270
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
Technical Leadership for Architectural Decision Making
baasie
3
320
Google's AI Overviews - The New Search
badams
0
960
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
310
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
430
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
220
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
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