Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
据我了解,awStats 将安装在特定服务器上,路径将设置为您各自的日志文件并进行处理。
我想知道的是,awStats 是否可以安装在非服务器机器上并从外部服务器提供日志文件并进行分析?
当然。事实上,这就是大多数人分析他们的网络日志的方式——通过将它们复制到非实时机器并在那里运行 awstats。
在 awstats.conf 中,您可以在 LogFile 指令中使用 Unix 管道,例如:
LogFile="ssh httpd@yourserver.com cat /var/log/apache2/httpd.log|"
应该管用。