# Getting the top stats views populated

**URL:** https://meta.discourse.org/t/getting-the-top-stats-views-populated/107683
**Category:** Development
**Created:** [January 28, 2019, 3:17am UTC](https://meta.discourse.org/t/getting-the-top-stats-views-populated/107683 "2019-01-28T03:17:53Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![csmu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/csmu/32/124581_2.png) [@csmu](https://meta.discourse.org/u/csmu)
#### Post date: [January 28, 2019, 3:17am UTC](https://meta.discourse.org/t/getting-the-top-stats-views-populated/107683/1 "2019-01-28T03:17:53Z")

</div>

Other than importing topics and posts what needs to be imported or what process(es) needs to be run to populate the views data on the {host}/top page?

---

<div class="post-metadata">

### Author: ![rishabh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rishabh/32/179446_2.png) [@rishabh](https://meta.discourse.org/u/rishabh)
#### Post date: [January 28, 2019, 5:56am UTC](https://meta.discourse.org/t/getting-the-top-stats-views-populated/107683/2 "2019-01-28T05:56:51Z")

</div>

Running `rake import:ensure_consistency` rake should fix issues with topic views, reply counts etc.

> <https://github.com/discourse/discourse/blob/main/lib/tasks/import.rake#L9>
