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
運用に使えるログがほしい!
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
sugitak
May 21, 2026
Technology
37
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
運用に使えるログがほしい!
「運用」に使えるログを取るために考えたことなどを tamachi.sre #5 LT で発表しました。
sugitak
May 21, 2026
More Decks by sugitak
See All by sugitak
SREとQA 二人三脚で進めるSLO運用/sre-qa-slo
sugitak
2
2.9k
LLM Observability の権限整理の話/llmobs-permission
sugitak
0
160
QA チームのテストを活用した SLI を ECS on EC2 で動かした話/SLI on ECS on EC2 using QA Playwright E2E test
sugitak
0
490
デプロイ再考2024/reconsidering-deploy-in-2024
sugitak
22
6.7k
Prometheus の label をいいかんじに使う 〜多次元データってなんなのさ〜
sugitak
3
5.2k
Prometheus 監視で変わるもの
sugitak
7
6.8k
deploy.rb をきれいにするためにしたいくつかのこと
sugitak
0
140
Other Decks in Technology
See All in Technology
[JAWS-UG彩の国埼玉#12]そろそろ準備する?re:Invent2026をやさしく解説 / reinvent2026-sainokuni
sh_fk2
1
400
野蛮なアジャイル [サイボウズ発!]組織の常識を覆した反骨のスクラム実践記 / Barbaric Agile - Enterprise Agile Study Group
ama_ch
0
130
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
1.1k
What Is JetBrains Air
x5gtrn
PRO
0
150
AI駆動開発における開発環境のセキュリティの考え方
yamahiro
2
450
Code for Security プロジェクト紹介 2026年10月
yu23ki14
0
120
Microsoft のサポート ライフサイクルを理解する
murachiakira
PRO
0
140
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
140
Rustuna: Rustによる高速なOptuna実装
pfn
PRO
0
220
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
2
390
日本語に強いオープンな大規模言語モデル「LLM-jp」
odashi
5
1.2k
CloudWatch Logsのコスト最適化:どこまでAIに任せてどこから人間が承認すべきか
yama3133
0
170
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
540
Odyssey Design
rkendrick25
PRO
2
880
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Embracing the Ebb and Flow
colly
88
5.2k
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
750
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Test your architecture with Archunit
thirion
2
2.4k
[SF Ruby Conf 2025] Rails X
palkan
3
1.5k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
270
Transcript
運用に使えるログがほしい! estie sugitak (X:@sugitak06)
運用に使える ログがほしい! 1
• サービス運用観点でほしいログ、なんだか手に入りにくい • REST の頃はなにも困らなかった • GraphQL 時代、なにもわからない 2 さいきん、ログが取りにくい
• GraphQL 化 o HTTP Return Code からエラーがわからない o 何の命令なのかわからない
• Single Page Application 化 o ユーザアクセスがサーバサイドに来るとは限らない o 1アクションに複数来ることも • 内部 API 連携の高度化 o マイクロサービス、 BFF など o 情報処理の責務が分散しており、ログも一箇所で完結しない なぜわからない?
SPA GraphQL 環境でも 運用に使える ログがほしい! 4
ログの種類 Access Log HTTPレベルのログ 例: Nginx, Apache Log Activity Log
ユーザの行動ログ 「ユーザが何をした か」に着目したログ Audit Log 監査ログ 誰が、いつ、何に対し て、どういう操作をし て、どういう結果を得 たか Application Log 雑多なログ ライブラリが勝手に出 したり、デバッグ用途 で開発者が出したり
つまり REST 全盛期には Activity Log 作成をサボれていただけ ちゃんと Activity Log と向き合えばいい!
「GraphQL で困っている」 Access Log から Activity Log 情報が消えたから 「REST では困っていなかった」 Access Log が Activity Log を一部含んでいたから
• アクセス数が跳ねたものの調査 • アクセス自体の成否確認 • 困っているユーザを発見する • 操作内容の正当性確認 • など……
「運用で使う」ログの「運用」?
こんな感じでログを作ると良い感じ! HTTP 情報 • METHOD, PATH, QUERY, PORT, SCHEMA, ...
• アクセス元IPア ドレス • リファラ、UA • 返信データ長、 処理時間 ドメイン情報 • 呼び出してい る命令 • 命令に対する 引数 ユーザ情報 • ユーザID • 組織ID エラー情報 • エラーコード • エラーメッ セージ ログに関するID • Trace ID 類 • Log ID
ログ構築のポイント • ほしい人 (= SRE) が構築する • 共通ライブラリを作り、再現しやすくする • 分析基盤で使えるようにすると、便利さが伝わる
• 前例があって便利なら最終的に広まっていく まだまだ道半ばなので、やっていき
estie tech blog の記事にもう少し書きました https://zenn.dev/estie/articles/f4523adedad6bf
© 2026 estie Inc. We are hiring! 11 https://hrmos.co/pages/estie/jobs?category=1756293647827165184