# Downsampling Documentation

**URL:** <https://discuss.elastic.co/t/downsampling-documentation/329105>\
**Category:** Elasticsearch\
**Tags:** datastreams\
**Created:** [April 1, 2023, 3:48pm UTC](https://discuss.elastic.co/t/downsampling-documentation/329105 "2023-04-01T15:48:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![A\_Mightiev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_mightiev/32/62186_2.png) [@A\_Mightiev](https://discuss.elastic.co/u/A_Mightiev)\
**Post date:** [April 1, 2023, 3:48pm UTC](https://discuss.elastic.co/t/downsampling-documentation/329105/1 "2023-04-01T15:48:45Z")

</div>

Hi,  
I have the feeling this step is wrong:

> **[Run downsampling manually | Elasticsearch Guide \[8.6\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/8.6/downsampling-manual.html)**

This query won't return an aggregation, only hits:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/8/e8f394b26d5764dc47731ac73f879cc61f001800.png)

Or could it be that the previous step is a post and not a get?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/a/aab58768f901562fcbda9f65f2de3195253a6d4f.png)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 4, 2023, 4:10am UTC](https://discuss.elastic.co/t/downsampling-documentation/329105/2 "2023-04-04T04:10:14Z")

</div>

Yep you are right, running the `_search` is a search and not an aggregation. Perhaps the `Re-run your search query to view the aggregated time series data.` should be after the `_downsample` is run, but not totally sure there.

Are you open to raising a bug report for the documentation on [Sign in to GitHub · GitHub](https://github.com/elastic/elasticsearch/issues/new/choose) so we can address it?

---

<div class="post-metadata">

**Author:** ![A\_Mightiev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_mightiev/32/62186_2.png) [@A\_Mightiev](https://discuss.elastic.co/u/A_Mightiev)\
**Post date:** [April 4, 2023, 12:18pm UTC](https://discuss.elastic.co/t/downsampling-documentation/329105/3 "2023-04-04T12:18:48Z")

</div>

Thanks @warkolm I added it [Wrong step in documentation for downsampling · Issue #95017 · elastic/elasticsearch · GitHub](https://github.com/elastic/elasticsearch/issues/95017)

But now my question the aggregation query works fine, but when I do a \_downsampling, the new index is empty. and I don't know why

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 2, 2023, 12:19pm UTC](https://discuss.elastic.co/t/downsampling-documentation/329105/4 "2023-05-02T12:19:24Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
