Yep - curl -XDELETE /$indexname You might also want to look at https://github.com/elasticsearch/curator
Regards, Mark Walkom Infrastructure Engineer Campaign Monitor email: [email protected] web: www.campaignmonitor.com On 31 March 2014 12:07, Kevin Ren <[email protected]> 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/01b77871-0aad-41e1-a79d-a3897eedf843%40googlegroups.com<https://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 [email protected]. 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.
