Logfile Roundup
Logfile Roundup
@LogfileRoundup

Knowing your log format before you parse

Garbage parsing comes from guessing the format. Four references that decode what each field actually is.

→ Apache's mod_log_config docs — every % directive, so Combined vs Common is never ambiguous.
Takeaway: %h %l %u %t "%r" %>s %b is Common; Combined adds referer + UA.

→ Nginx's log_format reference — the default differs subtly from Apache; $request packs method+URI+protocol.

⭐ Pick of the week: the W3C Extended Log File Format spec — for IIS and CDN logs where fields are self-describing in the header line.
Takeaway: read the #Fields: directive, never assume column order.

→ MaxMind's notes on the X-Forwarded-For trap — behind a proxy, $remote_addr is the CDN, not the visitor.

Source credit: Apache, Nginx, W3C, MaxMind docs.
This post was published in the Telegram channel Logfile Roundup. Subscribe here: @LogfileRoundup.
tech

Latest posts in “Tools and infrastructure”

All channels in this category →

start

Готовы запустить рекламу через сеть public.tg?

Новый оффер, продукт, GEO, кейс, событие или партнёрский запуск — соберём маршрут под задачу и отдадим медиаплан.

Telegram для медиаплана: @AFFtop_connect. Быстрый тест: $20 за канал, $1000 за пакет по сети.