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
2014-10-11_chiba.pm5
Search
SUZUKI Masashi
October 27, 2014
Technology
630
0
Share
2014-10-11_chiba.pm5
アプリケーションのログ収集/監視ほかの会社はどうしてるのかしら?というお話
SUZUKI Masashi
October 27, 2014
More Decks by SUZUKI Masashi
See All by SUZUKI Masashi
2026-04-14 Jagu'e'r Cloud Native分科会 Terraform Stateにおけるシークレットの平文保存という課題とその解決
masasuzu
1
49
2026-03-27 #terminalnight 変数展開とコマンド展開でターミナル作業をスマートにする方法
masasuzu
0
390
2026-03-23 Ops-JAWS Meetup39 Session Managerを使った セキュアなサーバーアクセス
masasuzu
2
140
2026-03-11 JAWS-UG 茨城 #12 改めてALBを便利に使う
masasuzu
3
470
2026-03-03 Jagu'e'r Tech Writer Meetup #19 登壇のネタ作りについて
masasuzu
0
190
2026-02-24 月末 Tech Lunch Online #10 Cloud Runのデプロイの課題から考えるアプリとインフラの境界線
masasuzu
0
170
2025-11-21 社内エンジニア勉強会 改めて理解するVPC Endpoint
masasuzu
0
390
2025-11-08 Security JAWS TerraformによるIAM Policy記述ガイド
masasuzu
2
1.4k
2025-09-25 SRETT #13 ConftestによるTerraformのPolicy as Codeを試してみる
masasuzu
0
540
Other Decks in Technology
See All in Technology
layerx-fde-practices
cipepser
6
2.9k
Spring Boot における AOT Cache 活用テクニックと 起動時間改善事例
ntt_dsol_java
0
170
AI駆動開発でなんでもハンズオン環境をつくってみた
yoshimi0227
0
170
組織の中で自分を経営する技術
shoota
0
220
OpenID Connectによるサービス間連携
takesection
0
140
Claude code Orchestra
ozakiomumkj
2
330
Spring AI × MCP 入門〜AIエージェントへのツール公開、境界設計から始める最小構成 〜
yuyamiyamoto
0
170
電子辞書Brainをネットに繋げてみた(自力編)
raspython3
0
310
Dynamic Workersについて
yusukebe
1
420
食べログのサーキットブレーカー導入を振り返って
atpons
1
150
oracle-to-databricks-migration-with-llm-and-dbt
casek
1
360
Javaコミュニティをもっと楽しむための9箇条
takasyou
0
460
Featured
See All Featured
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
310
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
290
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
1
120
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Balancing Empowerment & Direction
lara
6
1.1k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
540
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Utilizing Notion as your number one productivity tool
mfonobong
4
310
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
270
Transcript
ログ監視の話 chiba.pm #5 すずきまさし / @masasuz 1
2
ネタは特に話さないです 3
ログ監視の話 chiba.pm #5 すずきまさし / @masasuz 4
おまえだれよ すずきまさし / @masasuz 五反田の辺りにある中小web企業 開発基盤的なものを整備しているらし い zsh / perl
/ mysql / Ubuntu / Debian 5
最近江戸川区と葛飾区は千葉だっ てずっと言い続けていたら、西葛 西在住の人に怒られたので自重し ます。 6
ログ監視 ログ収集 7
コンテキスト ウェブサービス 自社サービス 物理サーバ 数百台の中小規模 8
ログ監視の話 9
エラーログ監視 定期的に アクセスログから4xx 5xxのログをvhost 毎、path毎に集計し、 一日あたりのᮢ値(デフォルト10件)越 えたらIRC、メールで通知する 当日ᮢ値は更新可能 10
問題 ᮢ値が一律10件(デフォルト)なので、 件数少ないけど重要なエラーを見逃す。 syntaxエラーとか仕込んでしまうと全 てのアクセスで500が上がるので、ᮢ値 上げ大変。 11
別ソリューション 単位時間当たりで5xx 4xxを集計すると か? 12
ログ収集の話 13
昔の話 監視サーバから 各アプリケーションサーバに serverlist.sh | xargs -I% ssh % ‘egrep
“status:(4|5)[0-9]{2}” access.log ‘ 14
現在 fluentdでログサーバに転送 fluentdがごにょごにょして、vhost毎 にアクセスログ分けてファイル保存 15
問題 複数ファイルをzgrepするのであまり効 率よくない 結局logサーバにsshしないといけない webアプリでごにょごにょしにくい 16
将来? fluentd => elasticsearch 検証し始めた aggrecationsがだいぶ使えそう kabana3良い kibana4??? 17
緩募: 事例 ベタープラクティス 18
ありがとう ございました 19