I had a outage incident a few days ago and the support team has asked for any available logs for the period, while thinking about how to do this, it occurred to me that it would be generally handy to be able to parse many log files at once for entries between 2 dates.
I see many tools that would make this possible, had we had the foresight to configure them, not least;
and others that stash logs to some searchable backend such as mysql.
(I am definitely planning to install a central log host to fulfill this requirement)
However for the short term I am interested in a tool that would blaze through the
/var/log/* folder and dump to stdout, preferably with a simple options syntax (find options are nice +mtime etc) and written in something that can do this fast (so probably C rather than perl or ruby)
I see a bunch of tools that I am looking at which may or may not be fit for purpose, such as
but none are really jumping out as obviously good for this, which is odd because I would expect this to be the sort of thing that is done to death on unix tools.