How to view what happened to server in specific time period and specific date?
For example: I want to see what happened 23.03.2013 from 6-8am
i want to use command line, maybe cat+grep+sort ?
log looks like "Mar 24 22:32:49 serv named"
My syslog timestamps look like this:
|show 1 more comment|
In your viewer or editor, open the log file, and then use its search function for text that matches the logfile's format that corresponds with the beginning of the time period. Then continue scrolling in the forward direction (which may be up or down, depends on how your application writes its logs.)
If you need more instructions, you'll need to clarify what you're looking for; try editing your question.