Is it possible to reset/delete all data and index after the certain period time?

Hi,
I installed logstash1.4+eleasticsearch1.0.1 and kibana3. Everything is
working fine.
I want to delte or reste all data and index in certain period time, like
two days or 7 days.
Is it possible add this time in the run command line or config file?

Cheers

Kevin

--
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/01b77871-0aad-41e1-a79d-a3897eedf843%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yep - curl -XDELETE /$indexname
You might also want to look at GitHub - elastic/curator: Curator: Tending your Elasticsearch indices

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: markw@campaignmonitor.com
web: www.campaignmonitor.com

On 31 March 2014 12:07, Kevin Ren ren.xiaowen09@gmail.com wrote:

Hi,
I installed logstash1.4+eleasticsearch1.0.1 and kibana3. Everything is
working fine.
I want to delte or reste all data and index in certain period time, like
two days or 7 days.
Is it possible add this time in the run command line or config file?

Cheers

Kevin

--
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/01b77871-0aad-41e1-a79d-a3897eedf843%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/01b77871-0aad-41e1-a79d-a3897eedf843%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/CAEM624aXD_wLyD03NyDHOGHGmgxucyBSq1c7wby3Y%3DQY73nbFw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

thanks, I will read curator late. maybe much better or more options that
the commend line.

On Monday, 31 March 2014 14:24:22 UTC+13, Mark Walkom wrote:

Yep - curl -XDELETE /$indexname
You might also want to look at GitHub - elastic/curator: Curator: Tending your Elasticsearch indices

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: ma...@campaignmonitor.com <javascript:>
web: www.campaignmonitor.com

On 31 March 2014 12:07, Kevin Ren <ren.xi...@gmail.com <javascript:>>wrote:

Hi,
I installed logstash1.4+eleasticsearch1.0.1 and kibana3. Everything is
working fine.
I want to delte or reste all data and index in certain period time, like
two days or 7 days.
Is it possible add this time in the run command line or config file?

Cheers

Kevin

--
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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/01b77871-0aad-41e1-a79d-a3897eedf843%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/01b77871-0aad-41e1-a79d-a3897eedf843%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/2373bf16-bf56-4379-b135-eb8421d65fe3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.