How long do logs stay in Elasticsearch?

I was wondering how long logs or events stay in Elasticsearch? Is there a
way we can change the default value?

Thanks,
Aaron Lee

--
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/5bf81d3e-2a63-4197-8cfd-65af52fbc2b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Aaron,

Unless documents are configured with a TTL[1], elasticsearch does not
delete documents automatically. You are probably looking for a tool like
curator[2] that helps deal with time-based indices?

[1]
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-ttl-field.html
[2] https://github.com/elasticsearch/curator

On Mon, Oct 27, 2014 at 3:31 PM, Aaron Lee arnnlee5@gmail.com wrote:

I was wondering how long logs or events stay in Elasticsearch? Is there a
way we can change the default value?

Thanks,
Aaron Lee

--
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/5bf81d3e-2a63-4197-8cfd-65af52fbc2b8%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/5bf81d3e-2a63-4197-8cfd-65af52fbc2b8%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
Adrien Grand

--
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/CAL6Z4j5rNHmLFqLiAHvZVEb%2BarzsDusZr0z9Bw1-ycfG-PfO6Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.