Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Limited log on specific timelines

$
0
0
Hi Gurus,

We have a very huge size log files (around 3-4 GBs), in which all the versions (nothing but a log entries) of orders would be saved... It is very hard to find out the exact piece of log for a specific order (by moving the cursor or by searching with specific key words in vi).

I know the timelines of the order and the log file also will be having the time entry at the start of each line like below.


Quote:

08:21:39.166 ^ INFO ^ DefaultWorkManage
08:21:39.167 ^ INFO ^ DefaultWorkManage
08:21:39.167 ^ INFO ^ DefaultWorkManage
08:23:02.348 ^ INFO ^ WebContainer : 15
08:23:02.403 ^ INFO ^ WebContainer : 15
08:23:02.405 ^ INFO ^ WebContainer : 15
08:23:18.832 ^ INFO ^ WebContainer : 15
08:23:18.834 ^ INFO ^ WebContainer : 15
08:23:18.837 ^ INFO ^ WebContainer : 15
08:23:18.850 ^ INFO ^ WebContainer : 15
08:23:18.850 ^ INFO ^ WebContainer : 15
08:23:18.850 ^ INFO ^ WebContainer : 15
I want to grep the lines that are logged between a specific timelines...
For ex: From "08:21:39" to "08:30:00"

Can someone help me with the exact awk/grep options to grep the lines based on time zones..

Thanks for help in advance.

Regards,
VRN

Viewing all articles
Browse latest Browse all 16232

Trending Articles