• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

How to track IP

O

omegauser

Guest
Hi,

I want to do the following:

An email was sent via Web form, I have the exact date.
I want to get a list of the IPs connected in the website usiing a range of dates.
Can it be done?

I want to know the possible IPs that where connected when the web form was submitted.

Thanks
 
That information can be found in your raw access logs located in the "statistics/logs" folder under the domain name in question.

(i.e. on my VDS, it is located in: #/home/httpd/vhosts/domainname.com/statistics/logs )

The files you need are access_log and access_log.processed
 
Hi,

Excellent, now how can you print the exact date in the screen, because when I searched .processed file, it takes too long .....all the days are processed.

Can you avoid this?
 
Try:

cat access.log.processed | grep date | less

This should only display the lines with your the date in question.

Other than that, you might have to write a custom program to display the information you are looking for.
 
Hi,

Excellent, I have now the information I needed.
Thanks for your help!
 
Back
Top