Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Analysing apache logs

Reply
Thread Tools

Analysing apache logs

 
 
Sébastien V
Guest
Posts: n/a
 
      09-05-2005
I'd like to make a specific analysis with my apache logs of my website (I'm
Perl newbee).

This website is a B2B, then I'd like to "know" which company is behind each
IP that visits my site. I googled with no success.

Is there a Perl solution to make such links (I'm not sure).

Sebastien


 
Reply With Quote
 
 
 
 
Willie Wilson
Guest
Posts: n/a
 
      09-05-2005
Sébastien V wrote:
> I'd like to make a specific analysis with my apache logs of my website (I'm
> Perl newbee).
>
> This website is a B2B, then I'd like to "know" which company is behind each
> IP that visits my site. I googled with no success.
>
> Is there a Perl solution to make such links (I'm not sure).
>
> Sebastien
>
>


I'm a bit confused as to what you are looking for--perhaps you could
elaborate a bit more?

It sounds like you are wanting to know who the IP belongs to, in which
case, you could do a WHOIS query (by using the 'whois' utility, for
example).

Please elaborate a bit more.

-Willie

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
 
Reply With Quote
 
 
 
 
Sébastien V
Guest
Posts: n/a
 
      09-05-2005
Willie Wilson wrote:
> Sébastien V wrote:
>> I'd like to make a specific analysis with my apache logs of my
>> website (I'm Perl newbee).
>>
>> This website is a B2B, then I'd like to "know" which company is
>> behind each IP that visits my site. I googled with no success.
>>
>> Is there a Perl solution to make such links (I'm not sure).
>>
>> Sebastien
>>
>>

>
> I'm a bit confused as to what you are looking for--perhaps you could
> elaborate a bit more?
>
> It sounds like you are wanting to know who the IP belongs to, in which
> case, you could do a WHOIS query (by using the 'whois' utility, for
> example).
>
> Please elaborate a bit more.
>


Okay, for example I have the IP : 0.1.2.3 and I'd like to know this is a PC
from the IBM network.

I don't know if a whois query will answer what I expect and if yes is there
a Perl module for this kind of query ?

Sebastien.


 
Reply With Quote
 
Willie Wilson
Guest
Posts: n/a
 
      09-05-2005
Sébastien V wrote:
> Okay, for example I have the IP : 0.1.2.3 and I'd like to know this is a PC
> from the IBM network.
>
> I don't know if a whois query will answer what I expect and if yes is there
> a Perl module for this kind of query ?
>
> Sebastien.
>
>


I don't know if a WHOIS query will answer this either, but if they have
static IP addresses assigned, then chances are that it will show who it
belongs to. You can always call the external whois program, if you have it.

Searching CPAN for "WHOIS", here are the results I came up with; one of
them is bound to have what you want.
http://search.cpan.org/search?query=WHOIS&mode=all

-Willie

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
 
Reply With Quote
 
Sébastien V
Guest
Posts: n/a
 
      09-05-2005
Willie Wilson wrote:

>
>
> Searching CPAN for "WHOIS", here are the results I came up with; one
> of
> them is bound to have what you want.
> http://search.cpan.org/search?query=WHOIS&mode=all
>
> -Willie


Thanks for all thes keys, I'll investigate deeper while learning more Perl




 
Reply With Quote
 
Sébastien V
Guest
Posts: n/a
 
      09-05-2005
Finally I found Net::Whois::IANA which seems to work !

Thanks Willie W.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logs button not opening Logs GUI Lester Lane Cisco 6 08-28-2009 10:02 AM
WinXP Home SP2 logs in then right away logs off Andrew Computer Support 15 10-19-2004 09:45 AM
Win XP SP2 Logs in then Logs out awallwork at sign gmail dot com Computer Support 2 10-16-2004 08:19 PM
Win XP SP2 Logs in then Logs out Andrew Computer Support 2 10-16-2004 04:27 PM
WinXP Home SP2 Logs on then Logs off awallwork at sign gmail dot com Computer Support 2 10-16-2004 02:28 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57