基于在线的 Apache Web 日志分析器,只需提交原始日志文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1475827/
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 18:11:26  来源:igfitidea点击:

Online Based Apache Web Log Analyzer By Submitting Just the Raw Logfile

apacheopen-source

提问by neversaint

I have a raw "access.log" file from Apache. Is there any web based version tool where I can just submit this raw log file and return me the analysis results

我有一个来自 Apache 的原始“access.log”文件。是否有任何基于 Web 的版本工具,我可以在其中提交此原始日志文件并将分析结果返回给我

I am aware of the code such as AWSTATS, but it require us to install it in the server, which is not what I want.

我知道诸如AWSTATS之类的代码,但是它需要我们将其安装在服务器中,这不是我想要的。

采纳答案by Pascal Thivent

Instead of uploading the access.logfile to an unknown and untrusted third party, I'd suggest installing a desktop application like Apache Log Viewer. Quoted from its website:

与其将access.log文件上传到未知且不受信任的第三方,我建议安装一个桌面应用程序,如Apache Log Viewer。引自其网站:

Apache Logs Viewer (ALV) is a free and powerful tool which lets you monitor, viewand analyzeapache logs with more ease. It offers searchand filterfunctionality for the log file, highlighting the various http requests based on their status code. There is also a report facility, thus you can generate a pie/bar chart in seconds. Together with this there are also statistics where you can get the top hits, top errors, number of status codes, total bandwidth and more.

Apache Logs Viewer is a great tool to use for web analytics. Use it to get your website more productive, detect any errors and fix them. You can determine the visitors originating country and if the referrer logging is enabled than it is easier to see from which website the clients are coming from, the search terms used and which pages where visited.

Features

  • Easy installation (Windows Application)
  • Does not require installing on Apache Server
  • Color code Log lines according to status codes
  • Translate IP to Country using GeoLite Database (fast with no lookups)
  • Search for IP Address, Request String, Date, Referrer
  • Filter according to HTTP Status Code (or Range)
  • Export to text file/comma separated value, txt/csv
  • Visual Reports (Pie/Bar Charts)
  • Statistics

Apache Logs Viewer (ALV) 是一款免费且功能强大的工具,可让您更轻松地监控查看分析Apache 日志。它为日志文件提供搜索过滤功能,根据状态代码突出显示各种 http 请求。还有一个报告工具,因此您可以在几秒钟内生成饼图/条形图。与此一起还有统计数据,您可以在其中获得最高点击率、最高错误率、状态代码数量、总带宽等。

Apache 日志查看器是用于 Web 分析的绝佳工具。使用它可以让您的网站更高效,检测任何错误并修复它们。您可以确定访问者的来源国家/地区,如果启用了引用记录,则更容易查看客户来自哪个网站、使用的搜索词以及访问了哪些页面。

特征

  • 易于安装(Windows 应用程序)
  • 不需要在 Apache 服务器上安装
  • 颜色代码 根据状态代码记录行
  • 使用 GeoLite 数据库将 IP 转换为国家(快速且无需查找)
  • 搜索 IP 地址、请求字符串、日期、推荐人
  • 根据 HTTP 状态代码(或范围)过滤
  • 导出到文本文件/逗号分隔值,txt/csv
  • 可视化报告(饼图/条形图)
  • 统计数据

回答by Opentuned

If you like the command line style and are *nix based http://goaccess.prosoftcorp.com/ticks the box for me, available via brew as well for mac for nice and easy installation, but dont expect pretty graphs...

如果您喜欢命令行风格并且是基于 *nix 的http://goaccess.prosoftcorp.com/为我勾选框,可以通过 brew 以及 mac 获得,以方便安装,但不要指望漂亮的图形......

回答by MikeNGarrett

If you're on a mac (or *nix, windows) you can check out http://www.sawmill.netwhich has a standalone app that does exactly what you're looking for.

如果您使用的是 mac(或 *nix、windows),您可以查看http://www.sawmill.net,它有一个独立的应用程序,可以完全满足您的需求。

回答by rerevisionist

I tried 'Apache Log Viewer' (it sounds like an Apache product, but I don't think it is) and it seems to be complete rubbish. The pie charts for country are useless and unsorted - .0023% Tobago or something. I could find no way to get figures for single html pages. The colour coding only shows e.g.304 in red or something. There seems to be no recognition of e.g. google and other spiders. AWStats despite its limiatations appears to be much better.

我尝试了“Apache Log Viewer”(听起来像是 Apache 产品,但我认为不是),但它似乎完全是垃圾。国家/地区的饼图毫无用处且未分类 - .0023% 多巴哥或其他。我找不到获取单个 html 页面的数字的方法。颜色编码只显示红色或其他东西的eg304。似乎没有识别例如谷歌和其他蜘蛛。尽管存在局限性,但 AWStats 似乎要好得多。

The general appearance is like very mnay bits of software: a row of buttons with hardly any indication of what they do, the usual 'File' Edit' things with, again, single words which you have to try to decode, unhelpful help and all the rest.

总体外观就像非常多的软件:一排按钮,几乎没有任何指示它们的作用,通常的“文件”编辑内容,同样,您必须尝试解码的单个单词,无用的帮助等等其余的部分。

I doubt it's worth wasting time on it.

我怀疑是否值得在上面浪费时间。

回答by Joe

try that Online tools

试试那个在线工具

Joe

回答by oldmonk

Give a try to Nihuo Web Log Analyzer. Easy to use, powerful filter system can help you mining out each detail information from your log files.

试试你货网络日志分析器。易于使用、功能强大的过滤系统可以帮助您从日志文件中挖掘出每个详细信息。