Hourly log rotation in ES

Hi Team,

Can you please guide me how to configure hourly log rotation for Elastic
Search. ..?

Thanks,
Vijay

--
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.

For me, I am using a very stupid way to do rotate daily.

My index is named 'XXX-2013-08-11' and I use crontab to run DELETE command
by curl. It's simple & stupid but very userful. :slight_smile:

在 2013年8月12日星期一UTC+8下午2时16分16秒,Vijay Prabhakar写道:

Hi Team,

Can you please guide me how to configure hourly log rotation for Elastic
Search. ..?

Thanks,
Vijay

--
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.

You can use logrotate, eg
HowTo: The Ultimate Logrotate Command Tutorial with 10 Examples.

Regards,
Mark Walkom

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

On 12 August 2013 18:23, 姚仁捷 baniu.yao@gmail.com wrote:

For me, I am using a very stupid way to do rotate daily.

My index is named 'XXX-2013-08-11' and I use crontab to run DELETE command
by curl. It's simple & stupid but very userful. :slight_smile:

在 2013年8月12日星期一UTC+8下午2时16分16秒,Vijay Prabhakar写道:

Hi Team,

Can you please guide me how to configure hourly log rotation for Elastic
Search. ..?

Thanks,
Vijay

--
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.

--
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 Guys,

Is there any possibilities to configure these in config/logging.yml ..?

On Monday, August 12, 2013 11:46:16 AM UTC+5:30, Vijay Prabhakar wrote:

Hi Team,

Can you please guide me how to configure hourly log rotation for Elastic
Search. ..?

Thanks,
Vijay

--
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.