← sources

ngl, dumping raw server logs into a massive context window is way better than writing regex

source: reddit (reddit:devops)published 2026-10-08 14:51ingested 2026-10-09 02:36

retained text

was fighting a phantom kubernetes pod crash for like 3 hours this morning. elasticsearch was just a wall of useless healthcheck noise and I was losing my mind trying to grep for the actual error.

usually pasting raw logs into chatgpt is a waste of time because it hits the token limit immediately or truncates the most important part. but out of pure frustration i just grabbed this new model on openrouter (step 5 preview) because i saw it had a free api promo running and i didn't want to pay anthropic $5 just to read my garbage logs.

i literally just copy-pasted a massive text wall of terminal vomit into it and told it to find the crash loop reason. it didn't even choke on the length and actually pointed out a stupid IAM permission issue I missed in the terraform state.

kind of making me rethink how I troubleshoot. why bother writing complex log queries when you can just brute force it with a huge context window? is anyone else just abandoning proper log parsing for LLMs lately?

document fetched 2026-10-09 00:26 · canonical https://reddit.com/r/devops/comments/1x0syyd/ngl_dumping_raw_server_logs_into_a_massive