Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Extracting time from a log

by Azur (Initiate)
on Jun 28, 2013 at 16:53 UTC ( [id://1041287]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ...
       11 SessionOpen  c 123.234.56.78 63618 123.234.56.89:80
    ...
       11 RxHeader     c Accept-Encoding: gzip, deflate
       11 ReqEnd       c 1832330560 1372436083.710740089 1372436083.711302
    +519 0.000174284 0.000352383 0.000210047
    ...
    
  2. or download this
    varnishlog -o -i Backend,RxURL,ReqEnd,RxHeader | perl -ne 'BEGIN { $/=
    + "";} print if (/ReqEnd(?:[\sc]+)\d+\s\d+.\d+\s+\d+.\d+\s+\d+.\d+\s+(
    +\d+.\d+)/ and $1 > 10.0)'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1041287]
Approved by toolic
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2024-04-18 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found