# Rollup or downsampling

**URL:** <https://discuss.elastic.co/t/rollup-or-downsampling/350342>\
**Category:** Elasticsearch\
**Tags:** rollups\
**Created:** [January 3, 2024, 11:17pm UTC](https://discuss.elastic.co/t/rollup-or-downsampling/350342 "2024-01-03T23:17:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EdRayQO](https://avatars.discourse-cdn.com/v4/letter/e/bb73d2/32.png) [@EdRayQO](https://discuss.elastic.co/u/EdRayQO)\
**Post date:** [January 3, 2024, 11:17pm UTC](https://discuss.elastic.co/t/rollup-or-downsampling/350342/1 "2024-01-03T23:17:07Z")

</div>

I'm trying to compress log data I have in a monitoring cluster and that is configured to be erased after 7 days, and I'm not sure which path should I follow between rollup jobs and down sampling in order to compress that data and have a single file for each day.

According to the docs, [rollup jobs](https://www.elastic.co/guide/en/kibana/current/data-rollups.html#:~:text=Deprecated%20in%208.11.0,Use%20downsampling%20instead.) are already deprecated, and downsampling only works for time series data streams, which, my index is not. Also, the TSDS docs states `For other timestamped data, such as logs or traces, use a regular data stream.`

I've already created a rollup job to try it out and I think I managed to get what I want from it, which is the daily number of users logging in into a separate cluster we manage. But it still bugs me to think that is deprecated.

I don't know the possible impact of modifying the current monitoring index mapping to set the index to time series mode and the fields to mark them as dimensions. I don't even know if I have privileges to do so. (But I can certainly ask for them). Should I stick to rollup jobs even if they are deprecated? Or should I make the effort to transition to downsampling?

---

<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:** [January 31, 2024, 11:18pm UTC](https://discuss.elastic.co/t/rollup-or-downsampling/350342/2 "2024-01-31T23:18:01Z")

</div>

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