Elasticsearch curator 3.0.3: option --older-than


(Jean-Max Reymond) #1

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/

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0e616777-911a-46bd-ad71-ce0788cfb077%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Mark Walkom) #2

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/, please join us there for
any future discussions!

On 21 May 2015 at 06:58, Jean-Max Reymond 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/

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.
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?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
Please update your bookmarks! We have moved to 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEYi1X-adhXH%3DJDVwNegWb5EYS7bsCfVsp8SUpoThR8gZW7m%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Jean-Max Reymond) #3

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/

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/752f5c5c-5932-40ee-86ae-887a0df9d175%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4