~/talk

Centralized Logging Patterns

Talkat Dutch PHP Conference 2019 · 2019-06-06..06-08· [devops-and-delivery]
slides:none on file

Five concrete logging patterns (Parse, Send, Structure, Containerize, Orchestrate) get shown with live demos using the Elastic Stack (Elasticsearch, Logstash, Kibana, Beats). A PHP fizz‑buzz demo emits 40 log events but naive grok parsing produces 43 because of multiline stack traces; fixing multiline rules or switching to structured JSON yields the correct 40 and simpler ingestion. Implementations include a host Sidecar mounting container logs, Filebeat enrichment via the Docker socket, registry state to avoid duplicates, and a Kubernetes DaemonSet for per‑namespace indices.

AI-written summary · about

  1. 0:00Start
  2. 12:31Bind Mount Logs
  3. 12:50Metadata
  4. 35:07Docker Logs
  5. 37:21Registry File
  6. 39:37Unknown Fields
  7. 39:58Configuration Templates
  8. 42:09Customize Indices
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.