Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: YAML for logs?

by blazar (Canon)
on Nov 25, 2006 at 17:31 UTC ( [id://586028]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    66.37.83.53 - - [24/Nov/2006:14:06:11 -0500] "GET /tmp/tesi.cls HTTP/1
    +.1" 200 3104 "http://groups-beta.google.com/group/comp.text.tex/brows
    +e_thread/thread/674424ec76ee82eb/c3db89593b6c9774" "Mozilla/5.0 (Maci
    +ntosh; U; PPC Mac OS X; en) AppleWebKit/418.9 (KHTML, like Gecko) Saf
    +ari/419.3"
    66.37.83.53 - - [24/Nov/2006:14:06:12 -0500] "GET /favicon.ico HTTP/1.
    +1" 404 293 "-" "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWeb
    +Kit/418.9 (KHTML, like Gecko) Safari/419.3"
    66.249.72.12 - - [24/Nov/2006:19:40:38 -0500] "GET /robots.txt HTTP/1.
    +1" 404 627 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.g
    +oogle.com/bot.html)"
    66.249.72.12 - - [24/Nov/2006:19:40:38 -0500] "GET /tmp/tesi.cls HTTP/
    +1.1" 200 3104 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://ww
    +w.google.com/bot.html)"
    64.242.88.60 - - [24/Nov/2006:23:13:04 -0500] "GET /robots.txt HTTP/1.
    +1" 404 292 "-" "Mozilla/4.0 compatible ZyBorg/1.0 (wn-14.zyborg@looks
    +mart.net; http://www.WISEnutbot.com)"
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    chomp, print Dump $p->parse($_) while <>;
    
    __END__
    
  3. or download this
    --- 
    agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418.9 
    +(KHTML, like Gecko) Safari/419.3
    ...
    rtype: GET
    time: 23:13:04
    user: "-"
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-19 22:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found