Analysing apache logs

S

Sébastien V

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
 
W

Willie Wilson

Sébastien V said:
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
 
S

Sébastien V

Willie said:
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.
 
W

Willie Wilson

Sébastien V said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top