How to limit the size of the index?

Hi all,

I have install recently my logstash/elasticsearch solution.

But I have a size problem too many log after 1 month the index size too
important. I want to know if exist a solution to delete automaticaly the
old events or to limit the size oh the index ?

Thanks

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Hi Balgrim,

Did you change the default configuration of logstash, creating one index
per day? (Elasticsearch output plugin | Logstash Reference [8.11] | Elastic )

If you kept the default, you can simply run a cronjob calling the index
delete api to delete old indexes
(see: Elasticsearch Platform — Find real-time answers at scale | Elastic
)

Cheers,
Boaz

On Wednesday, July 3, 2013 12:29:27 PM UTC+2, Balgrim wrote:

Hi all,

I have install recently my logstash/elasticsearch solution.

But I have a size problem too many log after 1 month the index size too
important. I want to know if exist a solution to delete automaticaly the
old events or to limit the size oh the index ?

Thanks

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Hi Boaz,

thanks a lot for advices it works !

Cheers,
Balgrim

Le mercredi 3 juillet 2013 12:50:59 UTC+2, Boaz Leskes a écrit :

Hi Balgrim,

Did you change the default configuration of logstash, creating one index
per day? (Elasticsearch output plugin | Logstash Reference [8.11] | Elastic )

If you kept the default, you can simply run a cronjob calling the index
delete api to delete old indexes (see:
Elasticsearch Platform — Find real-time answers at scale | Elastic)

Cheers,
Boaz

On Wednesday, July 3, 2013 12:29:27 PM UTC+2, Balgrim wrote:

Hi all,

I have install recently my logstash/elasticsearch solution.

But I have a size problem too many log after 1 month the index size too
important. I want to know if exist a solution to delete automaticaly the
old events or to limit the size oh the index ?

Thanks

--
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.
For more options, visit https://groups.google.com/groups/opt_out.