I tried logging the kibana console output to a file for that I have done some configuration setting in kibana.yml file as shown below:
#logging.dest: stdout
logging.dest: C:\ELK\ELK5.4\ELK5.4Backup\logs\kibana\kibana.log
but the rolling of the log file is not happening on everynight.
I tired giving the log name as shown below
logging.dest: C:\ELK\ELK5.4\ELK5.4Backup\logs\kibana\kibana-${sys:ls.log.format}.log
which i am trying to create a filename dyanamically (eg: kibana-mm-dd-yyyy.log) on every night to purge but this did not work.
Is there any way that we can also log the details with error and output as well in different files or in same files like :
kibana.stdout
as well as kibana.stderr
Could you please suggest on this.
Thanks in advance.