How to enable slow search requests log rotation in ES 5.6

Hi,

I am using ES 5.6. I want to enable log rotation of elasticsearch.log, elasticsearch_index_search_slowlog.log and elasticsearch_index_indexing_slowlog.log

I learnt that its taken care from log4j2.properties but I need control of the configuration. Any idea how to tweak logging from log4j2.properties or should we enable linux logroation?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.