如果我使用 Google Analytics,我可以删除我的 IIS 日志吗?
我的 IIS 日志占用了大量空间,我不知道如何处理它们。如果 Google Analytics 能够满足我的所有需求,我可以删除所有 IIS 日志并关闭它们的每日创建吗?
我花了大约一个小时的时间来了解 IIS 日志是什么以及它们的作用。我看到很多人在“x”天后删除它们,或者他们存档并删除?我需要存档并删除它们吗?直到今天我什至不知道它们存在,所以不用说我并没有真正使用它们,所以我希望我可以删除它们一次并关闭它们的未来创建?
你能让我知道这是否是个好主意吗?
MY IIS logs are taking up a lot of space and I don't know what to do with them. If Google Analytics is meeting all of my needs can I just delete all my IIS logs and turn off the daily creation of them?
I've spent the past hour hour or so understand what IIS logs are and what they do. I've seen that a lot of people delete them after "x" number of days, or they archive and delete? Do I need to archive and delete them? I didn't even know they existed until today, so needless to say I'm not really using them, so I'm hoping I can just delete them this once and turn off future creations of them?
Can you let me know if this is a good idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可能想将它们存档以防万一。例如,如果发生奇怪的事情,那么拥有日志总是有用的。
如果你只是监控统计数据,谷歌分析不需要它们。
You might want to to archive them just in case. For example, if something odd happens it is always useful to have the logs.
If you are just monitoring stats Google analytics does not require them.
首先,请记住,Web 服务器日志可以告诉您很多 GA 无法告诉您的事情。例如,他们可以轻松告诉您谁下载了哪些非 html 文件。或者,如果您遇到一串令人讨厌的 HTTP 500 错误,导致页面无法呈现。
话虽如此,没有任何技术原因需要保留它们。实际上,我们完全禁用了某些内部服务器上的 IIS 日志记录,以便不必在其后进行清理。
First, remember that web server logs can tell you lots of things GA can't. For example, they can easily tell you who downloaded which non-html files. Or if you have a nasty string of HTTP 500 errors that prevent pages from being rendered.
All that said, there is no technical reason why one would need to keep them. We actually disable IIS logging on some internal servers entirely so as not to have to clean up after it.