Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
When monolog meets ELK (& bermudas!)
Search
Olivier Dolbeau
November 15, 2015
Programming
850
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
350
Jane & Webby
odolbeau
0
530
Translating a monolingual application
odolbeau
2
710
DX: Developer eXperience
odolbeau
1
140
DX: Developer eXperience
odolbeau
1
600
EasyAdminBundle introduction
odolbeau
0
270
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
690
Other Decks in Programming
See All in Programming
速習iPhone Duo対応
yuukiw00w
2
970
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
190
wkhtmltopdfの次どうするか問題2026
willnet
2
1.9k
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.8k
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
5k
カツオ、ご期待ください
suneo3476
0
150
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
120
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
930
手動確認はもう限界 〜XCUITestでCustom URL Schemeの遷移を起動種別ごとに自動テストする〜 / Testing Custom URL Schemes with XCUITest
otouto
0
390
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
140
Ghostty + Neovimで作る 透明でカッコ良い開発環境
j341nono
0
150
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
Featured
See All Featured
The Invisible Side of Design
smashingmag
301
52k
The Cult of Friendly URLs
andyhume
79
7k
From π to Pie charts
rasagy
1
390
Automating Front-end Workflow
addyosmani
1369
210k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
320
Embracing the Ebb and Flow
colly
88
5.2k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
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