apache 网络服务器日志分析软件?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/16113/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-13 16:41:42  来源:igfitidea点击:

Software for Webserver Log Analysis?

apachelogginglogfile-analysis

提问by kaybenleroll

Can I get some recommendations (preferably with some reasons) for good log analysis software for Apache 2.2 access log files?

我能否获得一些关于 Apache 2.2 访问日志文件的良好日志分析软件的建议(最好是出于某些原因)?

I have heard of Webalizerand AWStats, but have never really used any of them, and would like to know:

我听说过WebalizerAWStats,但从未真正使用过它们中的任何一个,并且想知道:

  • What they can do
  • Why they are useful
  • Interesting uses for them
  • 他们能做什么
  • 为什么它们有用
  • 有趣的用途

Any and all comments and thoughts are welcome.

欢迎任何和所有评论和想法。

采纳答案by robintw

AWStats and Webalizer are both good and free (I think both free speech as well as free beer). I generally prefer the look of AWStats - it has a nice modern look whereas Webalizer looks like something created in about 1992.

AWStats 和 Webalizer 既好又免费(我认为言论自由和啤酒都是免费的)。我通常更喜欢 AWStats 的外观——它具有漂亮的现代外观,而 Webalizer 看起来像是 1992 年左右创建的东西。

They both give roughly the same information which includes:

它们都提供大致相同的信息,其中包括:

  • Most frequently accessed pages
  • Which hosts (IPs and Domain Names) visitors come from
  • Proportion of users using different browsers
  • Proportion of downloads of different file types
  • 最常访问的页面
  • 访问者来自哪些主机(IP 和域名)
  • 使用不同浏览器的用户比例
  • 不同文件类型的下载比例

All of this information is usually viewable on a hour by hour, day by day, month by month and year by year basis. Normally the raw data is available but also with bar charts and pie charts. Both AWStats and Webalizer will (I think) try and work out where your visitors come from by using services such as GeoIP, although I never bothered to set this up. Some also try to work out what order people have visited pages in and things like that - but that is very difficult to do so the results are guesses at the best.

所有这些信息通常可以按小时、按天、按月和按年查看。通常原始数据是可用的,但也有条形图和饼图。AWStats 和 Webalizer 都会(我认为)尝试通过使用 GeoIP 等服务来确定您的访问者来自哪里,尽管我从来没有费心去设置它。有些人还试图弄清楚人们访问页面的顺序以及诸如此类的事情 - 但这是非常困难的,因此结果最多是猜测。

I generally find them both useful - even if just to get an overview of what is going on with my server and who is accessing it. They are both relatively easy to install - although I seem to remember Webalizer being a little easier than AWStats, and they both have varied configuration options to let you decide exactly what you want to get out of them.

我通常发现它们都很有用 - 即使只是为了了解我的服务器正在发生的事情以及谁正在访问它。它们都相对容易安装 - 尽管我似乎记得 Webalizer 比 AWStats 更容易一些,而且它们都有不同的配置选项,让您确切地决定要从它们中获得什么。

For more information see their sites at awstats.sourceforge.net/and http://www.webalizer.org/.

有关更多信息,请访问他们的站点awstats.sourceforge.net/http://www.webalizer.org/

Hope that helps.

希望有帮助。

Robin

罗宾

回答by Greg Hewgill

I use Analogbecause it's free, but it is rather dated now (wow, last release was 4 years ago!) and I'm sure it doesn't have as many fancy features as newer ones.

我使用Analog因为它是免费的,但它现在已经过时了(哇,上次发布是 4 年前!)而且我确信它没有像新的那样多的花哨功能。

回答by Adam Haile

Splunk >is great, and free. It allows you to visualize and search all of your logs in real time. And it's all web based, so you can view your logs from just about anywhere.

Splunk >很棒,而且免费。它允许您实时可视化和搜索所有日志。而且它都是基于网络的,因此您几乎可以从任何地方查看您的日志。

回答by Peter Perhá?

I'd go for awstats. I was getting my site usage reports from awstats for a while and then turned on Google Analytics to do this job as well. And, surprisingly, Google turned out to be rather unreliable. I get usually have no visits from a country like Finland and once I knew for surea friend of mine visited the site from Finland and what happend? Awstats says - hey, you had a visit from Finland! And Google Analytics? I move my mouse over Finland and the bubble says "visits: 0". After that I could never quite make myself trust it again.

我会去awstats。我有一段时间从 awstats 获取我的网站使用报告,然后也打开了 Google Analytics 来完成这项工作。而且,令人惊讶的是,谷歌变得相当不可靠。我通常没有来自像芬兰这样的国家的访问,一旦我确定我的一个朋友从芬兰访问了这个网站,发生了什么?Awstats 说 - 嘿,你有来自芬兰的访问!和谷歌分析?我将鼠标移到芬兰上方,气泡显示“访问次数:0”。在那之后,我再也无法完全相信它了。

回答by icc97

My old company always used WebLog Expert. There is a free 'lite' version. Its still has on-going development and can be combined with geo-location databases if you use one of the paid versions.

我的老公司一直使用WebLog Expert。有一个免费的“精简版”版本。它仍在持续开发中,如果您使用付费版本之一,则可以与地理位置数据库结合使用。

回答by beno

It seems that as javascript page-tagging becomes the more popular choice as a way of processing web stats, there's not as much work being done on log-based analysis tools anymore in the marketplace. My office used to use a product called LiveStats.XSP. It wasn't the greatest tool by any means, but it did have some nice features. It was recently bought by Microsoft and is no longer supported however. It abandoned log analysis turned into a proposed Google Analytics killer called Microsoft Gatineau, which supposedly is good at determining the demographics of your visitors, including age and gender (yeah sure...)

似乎随着 javascript 页面标记作为一种处理网络统计数据的方式成为更受欢迎的选择,市场上不再有那么多基于日志的分析工具的工作。我的办公室曾经使用一种名为 LiveStats.XSP 的产品。无论如何,它都不是最好的工具,但它确实有一些不错的功能。它最近被微软收购,但不再受支持。它放弃了日志分析,变成了一个名为Microsoft Gatineau 的谷歌分析杀手,据说它擅长确定访问者的人口统计数据,包括年龄和性别(是的,当然......)

When I was looking for log analysis software a while ago, I wanted to avoid anything that looked overly bloated and enterprisey, which is what most stuff seemed to be, focusing more on the marketing and advertising aspects of reports.

不久前我在寻找日志分析软件时,我想避免任何看起来过于臃肿和企业化的东西,这就是大多数东西似乎是什么,更多地关注报告的营销和广告方面。

One thing you may want to look at is the new version of Urchin, Urchin6 (see features here). Urchin I believe was bought by Google a few years ago. It's offered as a locally installed solution, and with it you have the option to use either page-tagging or log file analysis for any site that it monitors. There also seems to be some interface ties between Google's own web-based Google Analytics and Urchin. It's not free though, unfortunately, and I think you can only get it through authorized partners.

您可能想要查看的一件事是Urchin的新版本Urchin6(请参阅此处的功能)。Urchin 我相信是几年前被谷歌收购的。它作为本地安装的解决方案提供,您可以选择对其监控的任何站点使用页面标记或日志文件分析。谷歌自己的基于网络的谷歌分析和 Urchin 之间似乎也有一些接口联系。不幸的是,它不是免费的,我认为您只能通过授权合作伙伴获得它。

It does all the standard logfile analysis stuff, everything is browser-based, the reports it offers are pretty deep and comprehensive, and it also seems to have a few bells and whistles that other services don't offer. For example, I remember it being able to present a view of a web page it tracks with colored hot spots overlayed on top of it, based on how often users click on items on that area of the page. Worth checking out the demo of it anyways.

它完成所有标准的日志文件分析工作,一切都基于浏览器,它提供的报告非常深入和全面,而且它似乎还有一些其他服务不提供的花里胡哨。例如,我记得它能够显示它跟踪的网页的视图,并根据用户点击页面该区域上的项目的频率,将彩色热点叠加在它的顶部。无论如何都值得查看它的演示。

回答by cdonner

I get Awstats and Webalizer with my web hosting account and I find that neither is accurate or very useful. The reported numbers are inflated by up to 1000%, because the tools don't properly identify bots and spiders. Here is a comparison of the Visits metric between three tools over the past 3 weeks (I think Awstats has only partial data for 3/23, and no data for today 3/24, which is why I did not include the numbers).

我通过我的网络托管帐户获得了 Awstats 和 Webalizer,但我发现它们都不准确或非常有用。报告的数字被夸大了 1000%,因为这些工具不能正确识别机器人和蜘蛛。这是过去 3 周内三个工具之间访问量指标的比较(我认为 Awstats 只有 3/23 的部分数据,而今天 3/24 没有数据,这就是为什么我没有包括这些数字)。

                            Google  Woopra  Awstats
Sunday, March 1, 2009           10      11      69
Monday, March 2, 2009           13      14      85
Tuesday, March 3, 2009          13      14      96
Wednesday, March 4, 2009        21      28      91
Thursday, March 5, 2009         19      25     107
Friday, March 6, 2009           12      10      88
Saturday, March 7, 2009         12      14     100
Sunday, March 8, 2009           10      11      65
Monday, March 9, 2009           13      14      78
Tuesday, March 10, 2009         17      13      96
Wednesday, March 11, 2009       18      16      87
Thursday, March 12, 2009        19      18      87
Friday, March 13, 2009          12      13      66
Saturday, March 14, 2009        11       7      52
Sunday, March 15, 2009          11      12      57
Monday, March 16, 2009          13      15      92
Tuesday, March 17, 2009         24      22     102
Wednesday, March 18, 2009       18      16      79
Thursday, March 19, 2009        17      18      73
Friday, March 20, 2009          16      11      70
Saturday, March 21, 2009        24      26      67
Sunday, March 22, 2009         103     114     216
Monday, March 23, 2009         232     223     117

I personally prefer Woopra over Google. While it is still in Beta, it can take a long time for your site to get approved, and it will probably be a paid service at some point, the real-time monitoring capabilities are amazing. The new custom reporting capabilities on Google Analytics are superior to Woopra, though. Woopra does not have any capabilties to produce printed reports

我个人更喜欢 Woopra 而不是 Google。虽然它仍处于 Beta 阶段,但您的网站可能需要很长时间才能获得批准,并且在某些时候它可能会成为一项付费服务​​,实时监控功能非常棒。不过,Google Analytics 上的新自定义报告功能优于 Woopra。Woopra 没有任何制作打印报告的能力

回答by cdonner

I typically do a search every 30 or so days for new projects for better stats. I currently (still) use AWStats (and JAWStats as I mentioned in another thread).

我通常每 30 天左右搜索一次新项目以获得更好的统计数据。我目前(仍在)使用 AWStats(以及我在另一个线程中提到的 JAWStats)。

One of the best things about AWStats when compared to it counterparts is ability to break up your datafiles to create reports by day, week, month, year or even hour using the databasebreakfeature.

与同类产品相比,AWStats 的优点之一是能够使用databasebreak功能拆分数据文件以按天、周、月、年甚至小时创建报告。

Why people are still using Webalizer and Analog (well, speed aside) is beyond me. At least in my experience they tend to bury as much information as they expose and I end up reading raw logs.

为什么人们仍在使用 Webalizer 和模拟(好吧,除了速度)我无法理解。至少根据我的经验,他们倾向于隐藏尽可能多的信息,而我最终会阅读原始日志。

回答by cdonner

Try out XpoLog log analysis for web servers it provide log analysis platform to anlyze multiple web and application servers for centrelized location and create automatic reports and monitors for applications health. find it at XpoLog log analysis

尝试对 Web 服务器进行 XpoLog 日志分析,它提供日志分析平台来分析多个 Web 和应用程序服务器的集中位置,并为应用程序健康创建自动报告和监视器。在XpoLog 日志分析中找到它

回答by Darryl Hein

If you are looking for stats that are meant to be given to a customer and provide them with realistic data (not number of hits based on every file), then check out Google Analytics. Free and looks pretty.

如果您正在寻找旨在提供给客户并为他们提供真实数据(而不是基于每个文件的点击次数)的统计数据,请查看Google Analytics。免费,看起来很漂亮。