This is a general question, forgive me if this is common knowledge, I don't even know what exactly to search for.
I deal with enormous logfiles (aren't they all) that are generally in the same format.
Date - Time <username> [calling binary] (error tuple) - severity
Error message
Error information
blank newline
What i would like to do is read each entry and then programmatically work with the errors, for example, delete every entry where user != root. Then delete every error with the following tuple. Then show me what's left, but only those where time is between 12:16 and 14:26
It's no problem to define these log entries vie regex or however.
Does anything like this exist? It must! What's it called? Is there an IDE, a python module?
Any help much appreciated!