Hi,
I have been trying for a while to configure a logrotate file to rotate my kibana logs(version 7.16.3),without success. I need my logs to rotate daily and delete logs older than 7 days. The configuration file I am using is as follows:
thank you for your reply.
One more question, should this configuration be included in kibana.yml or in a separate file like elasticsearch's log4j2.properties, which then needs to be referenced in kibana.yml?
thank you again for your reply.
I have done a test like yours and it works.
Do you know if there is any way to add the date to the pattern I have tried this, but it is not working for me.
Unfortunately that feature is not yet implemented. There's a tracking issue in case you want to subscribe and stay updated, add your own feedback and so on.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.