Log number of times URL is accessed

March 30, 2019 530 views
Ubuntu Logging

I am looking for a good way to log the number of times a particular image URL is accessed. I have a number of images in my /var/www/html/ folder which I am loading from external html pages. For example <img src=“mydomain.com/img/pick.png>. I am looking for an easy way to determine how often each image has been loaded? Any suggestions?


1 Answer


This is the work of a log files analyzer. I don’t know what’s your stack but you can look at Awstats or Analog.


Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!