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

2014-03-30 Thread Kevin Ren
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

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

2014-03-30 Thread Mark Walkom
Yep - curl -XDELETE /$indexname You might also want to look at https://github.com/elasticsearch/curator Regards, Mark Walkom Infrastructure Engineer Campaign Monitor email: ma...@campaignmonitor.com web: www.campaignmonitor.com On 31 March 2014 12:07, Kevin Ren ren.xiaowe...@gmail.com wrote:

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

2014-03-30 Thread Kevin Ren
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 https://github.com/elasticsearch/curator Regards, Mark Walkom