<b>grep for logs: the patterns I keep reaching for</b>
Not a beginner intro — these are the references that sharpened my filtering.
🔗 <b>Julia Evans' grep zine</b> — <code>grep -P</code> for Perl regex and why <code>-F</code> (fixed strings) is faster when you just want a literal IP.
🔗 <b>ripgrep (BurntSushi) docs</b> — rg over gzipped logs with <code>-z</code> is dramatically faster than zcat | grep on big archives.
★ <b>Pick of the week — "Use The Index, Luke"-style log thinking by Jon Henshaw</b> — combining grep with <code>grep -v</code> chains to strip your own monitoring/uptime bots before counting real crawl. The cleanup nobody documents.
🔗 <b>Greg's Wiki on grep+zcat pipelines</b> — handling rotated <code>.gz</code> logs without decompressing to disk.
Takeaway: learn ripgrep's <code>-z</code> and the <code>grep -v</code> exclusion chain. Faster searches, cleaner counts.
Logfile Roundup
@LogfileRoundup
<b>grep for logs: the patterns I keep reaching for</b>
Этот пост опубликован в Telegram-канале Logfile Roundup. Подписаться можно по ссылке: @LogfileRoundup.