# Is it possible to schedule a reindex which only indexes certain messages?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-schedule-a-reindex-which-only-indexes-certain-messages/229966>\
**Category:** Elasticsearch\
**Created:** [April 27, 2020, 1:46pm UTC](https://discuss.elastic.co/t/is-it-possible-to-schedule-a-reindex-which-only-indexes-certain-messages/229966 "2020-04-27T13:46:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mugen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mugen/32/16454_2.png) [@Mugen](https://discuss.elastic.co/u/Mugen)\
**Post date:** [April 27, 2020, 1:46pm UTC](https://discuss.elastic.co/t/is-it-possible-to-schedule-a-reindex-which-only-indexes-certain-messages/229966/1 "2020-04-27T13:46:55Z")

</div>

Hi Folks.  
I'm currently using a cron job to reindex certain log-messages of multiple daily indexes into a new one. Is this possible via elastic internal tools like rollups ? Im currently querying the logs if they contain certain keywords and reindex them if they do. Sadly rollups seem to be more for metrics.

---

<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 27, 2020, 10:57pm UTC](https://discuss.elastic.co/t/is-it-possible-to-schedule-a-reindex-which-only-indexes-certain-messages/229966/2 "2020-04-27T22:57:46Z")

</div>

Not via rollups, no.

The other approach is to put those messages into their own indices to begin with.

---

<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 25, 2020, 10:57pm UTC](https://discuss.elastic.co/t/is-it-possible-to-schedule-a-reindex-which-only-indexes-certain-messages/229966/3 "2020-05-25T22:57:55Z")

</div>

Closed on May 25, 2020, 10:57pm UTC

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