Elasticsearch isn't pruning the logs, so I found this input to add to
logging.yml.
However, this isn't working for me.
Is there any other workarounds- configs for this file that will work?
file:
type: dailyRollingFile
file: ${path.logs}/${cluster.name}.log
datePattern: "'.'yyyy-MM-dd" #I added the following line in order to delete logs every 7 days
maxBackupIndex: 7
layout:
type: pattern
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
Elasticsearch isn't pruning the logs, so I found this input to add to
logging.yml.
However, this isn't working for me.
Is there any other workarounds- configs for this file that will work?
file:
type: dailyRollingFile
file: ${path.logs}/${cluster.name}.log
datePattern: "'.'yyyy-MM-dd" #I added the following line in order to delete logs every 7 days
maxBackupIndex: 7
layout:
type: pattern
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
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.