# Time-series data out of order

**URL:** https://discuss.elastic.co/t/time-series-data-out-of-order/349741
**Category:** Elasticsearch
**Created:** [December 20, 2023, 4:54pm UTC](https://discuss.elastic.co/t/time-series-data-out-of-order/349741 "2023-12-20T16:54:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![lkw](https://avatars.discourse-cdn.com/v4/letter/l/6de8d8/32.png) [@lkw](https://discuss.elastic.co/u/lkw)
#### Post date: [December 20, 2023, 4:54pm UTC](https://discuss.elastic.co/t/time-series-data-out-of-order/349741/1 "2023-12-20T16:54:21Z")

</div>

I have a data stream in use for some custom application logs. There are about 10 months of logs in it and a handful of rolled-over backing indices.

I also have about 3 years worth of historic application logs that I'd like to 'prepend' to this data stream. Is it okay to upload (drastically) out of order logs into the active data stream? Or is reindexing everything into a new data stream my only option?

---

<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 17, 2024, 4:55pm UTC](https://discuss.elastic.co/t/time-series-data-out-of-order/349741/2 "2024-01-17T16:55:11Z")

</div>

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