# 如何找出匿名浏览量激增的原因

**URL:** <https://meta.discourse.org/t/how-can-i-figure-out-why-i-have-a-big-jump-in-anonymous-pageviews/220415>\
**Category:** Data & reporting\
**Created:** [2022 年3 月 8 日 14:20 UTC](https://meta.discourse.org/t/how-can-i-figure-out-why-i-have-a-big-jump-in-anonymous-pageviews/220415 "2022-03-08T14:20:18Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

作者： ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
发布日期： [2022 年3 月 8 日 15:57 UTC](https://meta.discourse.org/t/how-can-i-figure-out-why-i-have-a-big-jump-in-anonymous-pageviews/220415/5 "2022-03-08T15:57:37Z")

</div>

> [@efuetatem1](#):
>
> Discourse 是否可以将机器人计为匿名用户？

发起请求的实体会自行识别为“普通”用户或机器人。这是一个基于信誉的系统，有利有弊。

机器人生态系统中的大多数不良行为者不会将自己识别为机器人，而是会伪装成“普通”用户发出请求，在这种情况下 Discourse 无法做太多事情。

如果您熟悉命令行，可以登录到您的服务器并使用以下命令来跟踪大多数请求的来源：

```plaintext
cd /var/discourse/shared/standalone/log/var-log/nginx/
grep " 200 " access.log | awk '{print $4}' | sort | uniq -c | sort -r

```

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-figure-out-why-i-have-a-big-jump-in-anonymous-pageviews/220415)._
