#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2013
    Posts
    1
    Rep Power
    0

    Need to fetch every 5 min data from a log file


    Hi,

    Kindly help me getting logic to fetch every 5 min data from a log file.

    sample log file:

    0,$2013/06/30 06:07:47 ,200,0,Success | Processing Time : 0:0:0.46224,
    0,$2013/06/30 06:07:48 ,200,0,Success | Processing Time : 0:0:0.43481,
    0,$2013/06/30 06:07:48 ,200,0,Success | Processing Time : 0:0:0.49341,
    0,$2013/06/30 06:07:48 ,200,0,Success | Processing Time : 0:0:0.52190,
    0,$2013/06/30 06:07:49 ,200,0,Success | Processing Time : 0:0:0.33884,
    0,$2013/06/30 07:45:04 ,200,0,Success | Processing Time : 0:0:0.48099,
    0,$2013/06/30 07:45:10 ,200,0,Success | Processing Time : 0:0:0.40055,
    0,$2013/06/30 07:45:10 ,200,0,Success | Processing Time : 0:0:0.50460,
    0,$2013/06/30 07:45:12 ,40,0,Success | Processing Time : 0:0:0.111124,
    0,$2013/06/30 07:45:16 ,200,0,Success | Processing Time : 0:0:0.37528,
    0,$2013/06/30 07:45:16 ,200,0,Success | Processing Time : 0:0:0.40544,
    0,$2013/06/30 07:45:18 ,200,0,Success | Processing Time : 0:0:0.42334,
    0,$2013/06/30 07:45:18 ,200,0,Success | Processing Time : 0:0:0.43567,
    0,$2013/06/30 07:45:19 ,200,0,Success | Processing Time : 0:0:0.42759,
    0,$2013/06/30 07:45:19 ,200,0,Success | Processing Time : 0:0:0.46532,
    0,$2013/06/30 07:45:42 ,200,0,Success | Processing Time : 0:0:0.40721,
    0,$2013/06/30 07:45:42 ,200,0,Success | Processing Time : 0:0:0.45463,
    0,$2013/06/30 07:45:44 ,200,0,Success | Processing Time : 0:0:0.28560,
    0,$2013/06/30 07:46:08 ,200,0,Success | Processing Time : 0:0:0.35688,
    0,$2013/06/30 07:46:08 ,200,0,Success | Processing Time : 0:0:0.71494,
    0,$2013/06/30 07:46:19 ,200,0,Success | Processing Time : 0:0:0.28718,
    0,$2013/06/30 07:46:19 ,200,0,Success | Processing Time : 0:0:0.46023,
    0,$2013/06/30 07:46:20 ,40,0,Success | Processing Time : 0:0:0.68372,
    0,$2013/06/30 07:46:23 ,200,0,Success | Processing Time : 0:0:0.27409,
    0,$2013/06/30 07:46:23 ,200,0,Success | Processing Time : 0:0:0.41009,
    0,$2013/06/30 07:46:40 ,200,0,Success | Processing Time : 0:0:0.29119,

    Thanks in advance.

    Regards
    Vivek.J
  2. #2
  3. Transforming Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,298
    Rep Power
    9400
    cron and tail? Don't know what to suggest since you didn't explain what you're trying to do.

IMN logo majestic logo threadwatch logo seochat tools logo