# Elasticsearch curator 3.0.3: option --older-than

**URL:** <https://discuss.elastic.co/t/elasticsearch-curator-3-0-3-option-older-than/23656>\
**Category:** Elasticsearch\
**Created:** [May 20, 2015, 8:58pm UTC](https://discuss.elastic.co/t/elasticsearch-curator-3-0-3-option-older-than/23656 "2015-05-20T20:58:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jean\_Max\_Reymond](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@Jean\_Max\_Reymond](https://discuss.elastic.co/u/Jean_Max_Reymond)\
**Post date:** [May 20, 2015, 8:58pm UTC](https://discuss.elastic.co/t/elasticsearch-curator-3-0-3-option-older-than/23656/1 "2015-05-20T20:58:05Z")

</div>

I have installed the last curator and unfortunately, my old command is not  
supported:

# curator --version

curator, version 3.0.3

# curator delete --older-than 1 --prefix .marvel-

Error: no such option: --older-than

It seems that option --older-than is not supported but mentioned in  
CHANGELOG.  
How to clean marvel logs older than one day ?  
thanks for your tips,

## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)

You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/0e616777-911a-46bd-ad71-ce0788cfb077%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0e616777-911a-46bd-ad71-ce0788cfb077%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [May 20, 2015, 9:36pm UTC](https://discuss.elastic.co/t/elasticsearch-curator-3-0-3-option-older-than/23656/2 "2015-05-20T21:36:26Z")

</div>

Try curator --host localhost delete indices --older-than 1 --time-unit days  
--prefix .marvel --timestring %Y.%m.%d

PS - We're moving to [https://discuss.elastic.co/](https://discuss.elastic.co/), please join us there for  
any future discussions!

On 21 May 2015 at 06:58, Jean-Max Reymond [jmreymond@gmail.com](mailto:jmreymond@gmail.com) wrote:

> I have installed the last curator and unfortunately, my old command is not  
> supported:
> 
> # curator --version
> 
> curator, version 3.0.3
> 
> # curator delete --older-than 1 --prefix .marvel-
> 
> Error: no such option: --older-than
> 
> It seems that option --older-than is not supported but mentioned in  
> CHANGELOG.  
> How to clean marvel logs older than one day ?  
> thanks for your tips,
> 
> ## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)
> 
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/0e616777-911a-46bd-ad71-ce0788cfb077%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0e616777-911a-46bd-ad71-ce0788cfb077%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/0e616777-911a-46bd-ad71-ce0788cfb077%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/0e616777-911a-46bd-ad71-ce0788cfb077%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)

You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X-adhXH%3DJDVwNegWb5EYS7bsCfVsp8SUpoThR8gZW7m%3Dw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X-adhXH%3DJDVwNegWb5EYS7bsCfVsp8SUpoThR8gZW7m%3Dw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jean\_Max\_Reymond](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@Jean\_Max\_Reymond](https://discuss.elastic.co/u/Jean_Max_Reymond)\
**Post date:** [May 20, 2015, 9:44pm UTC](https://discuss.elastic.co/t/elasticsearch-curator-3-0-3-option-older-than/23656/3 "2015-05-20T21:44:40Z")

</div>

It works nicely  
Thanks a lot

Le mercredi 20 mai 2015 22:58:05 UTC+2, Jean-Max Reymond a écrit :

> I have installed the last curator and unfortunately, my old command is not  
> supported:
> 
> # curator --version
> 
> curator, version 3.0.3
> 
> # curator delete --older-than 1 --prefix .marvel-
> 
> Error: no such option: --older-than
> 
> It seems that option --older-than is not supported but mentioned in  
> CHANGELOG.  
> How to clean marvel logs older than one day ?  
> thanks for your tips,

## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)

You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/752f5c5c-5932-40ee-86ae-887a0df9d175%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/752f5c5c-5932-40ee-86ae-887a0df9d175%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 12:12am UTC](https://discuss.elastic.co/t/elasticsearch-curator-3-0-3-option-older-than/23656/4 "2017-07-06T00:12:54Z")

</div>


