Elasticsearch log rotation

165 views
Skip to first unread message

Steve Lapommeray

unread,
Dec 2, 2022, 12:52:10 PM12/2/22
to AtoM Users
Hello,

Is there a way to configure AtoM to rotate the Elasticsearch logs at some interval?

Thank you,
Steve

Jim Adamson

unread,
Dec 2, 2022, 1:54:42 PM12/2/22
to ica-ato...@googlegroups.com
Hi Steve,

Take a look at https://www.elastic.co/guide/en/elasticsearch/reference/5.6/settings.html#logging, specifically appender.rolling.policies.time.interval 
This configuration lives in /etc/elasticsearch/log4j2.properties

Thanks, Jim

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/208da3eb-fd5a-4eaf-9299-4a18db3e3976n%40googlegroups.com.


--
Jim Adamson
Systems Administrator/Developer
Facilities Management Systems
IT Services
LFA/023 | Harry Fairhurst building | University of York | Heslington | York | YO10 5DD

Steve Lapommeray

unread,
Dec 2, 2022, 3:51:00 PM12/2/22
to AtoM Users
Thank you Jim, I will take a look.

Steve

Reply all
Reply to author
Forward
0 new messages