Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Also, sometimes logs stretch across multiple lines, and the other lines won't have the identifier you are searching for. For example, Java stack traces. In that case if you are stuck parsing unstructured logs, the simplest thing to do is to look at the entire file and search for the timestamp that found the first line.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: