I need to get the part of the log file within the following time range using regular expression:
(/20071115-09:30:00 ~ 20071115-11:00:00/);...
User Profile
Collapse
-
My grep code is unix command line code.
The data file is raw log file. (FIX messages).
Exactly like this:
8=FIX.4.29=74 35=A49=AXESNET 56=ATLAFM34=1 43=N97=N52=2 0071101-06:01:3798=01 08=6010=237AT LAFM AXESNET 0 _ 8=FIX.4.29=73 35=049=AXESNET 56=ATLAFM34=2 43=N97=N52=2 0071101-06:01:37112=07 013610=195ATL AFM AXESNET 0 T 8=FIX.4.29...Leave a comment:
-
To grep a file within a time range using PERL
I work in an investment bank. We have a huge log file which contains FIX messages. I have a problem to grep FIX messages within a time rage (i.e. between 9:30 am to 11 pm, those were sent by CITIBANK for ticker symbol MSFT). I tried different ways but it did not work. Could anyone please help me?
Here is one of the codes in perl:
[CODE=perl]#!/usr/bin/perl –w
$myfile = “/tmp/fixlog.txt”;
open(FH,...
No activity results to display
Show More
Leave a comment: