# Posibility of Index RollOver Plugin with timer task

**URL:** <https://discuss.elastic.co/t/posibility-of-index-rollover-plugin-with-timer-task/75303>\
**Category:** Elasticsearch\
**Created:** [February 16, 2017, 9:25am UTC](https://discuss.elastic.co/t/posibility-of-index-rollover-plugin-with-timer-task/75303 "2017-02-16T09:25:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajind\_Ruparathna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajind_ruparathna/32/10545_2.png) [@Rajind\_Ruparathna](https://discuss.elastic.co/u/Rajind_Ruparathna)\
**Post date:** [February 16, 2017, 9:25am UTC](https://discuss.elastic.co/t/posibility-of-index-rollover-plugin-with-timer-task/75303/1 "2017-02-16T09:25:40Z")

</div>

Currently my application itself has a scheduled timer task which handles roll over tasks in given periods. It works fine when there is only one instance of my application but when there are multiple instances, every instance is calling roll\_over same time and this cases problems.

I recently got to know that we could write plug-ins for elasticsearch. Therefore I was wondering if writing a plug-in for rollover is possible and if so I would appreciate some pointers on how to go about it?

PS: I've already looked at this [https://github.com/karussell/elasticsearch-rollindex](https://github.com/karussell/elasticsearch-rollindex) and it is outdated and it does not include a timer task kind of a thing.

Thanks in advance.

---

<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:** [March 16, 2017, 9:25am UTC](https://discuss.elastic.co/t/posibility-of-index-rollover-plugin-with-timer-task/75303/2 "2017-03-16T09:25:58Z")

</div>

Closed on March 16, 2017, 9:25am UTC

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