计算雅司病 Web 应用程序的点击次数
如果我有一个从雅司病 Web 服务器运行的 Web 应用程序,我将如何计算用户对我的网站的点击次数?
我尝试使用基本方法来计算在雅司病日志中找到的网站 .access
文件中的行数,如下所示:
$ cat PATH_TO_YAWS_LOGS/www.my_site.com.access | wc -lPoint me to a better way of finding out how many hits i have received sofar on my site running on top of yaws.
if i have a web application running from a yaws web server, how would i count the number of hits from users to my site?
I have tried to use rudimentary methods of counting the number of lines in the .access
file of my site found in the yaws logs like this:
$ cat PATH_TO_YAWS_LOGS/www.my_site.com.access | wc -l
Point me to a better way of finding out how many hits i have received sofar on my site running on top of yaws.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你很幸运,雅司病使用“通用日志格式”,因此 任何支持 Apache 的分析软件都应该这样做(例如“Webalizer”,如上所述)。
You're lucky, Yaws uses the "Common Log Format" and thus any analytics software supporting Apache should do (for example "Webalizer", as mentioned there).