Open akshah123 opened 7 years ago
Logrotate file that is generated has invalid path of *.log instead of /opt/logstash/<instance_name>/log/*.log
*.log
/opt/logstash/<instance_name>/log/*.log
Here is the generated file:
"*.log" { daily create 664 logstash logstash rotate 10 missingok notifempty compress copytruncate postrotate service logstash_server restart > /dev/null endscript }
The problem might be that logstash setup is using logstash_files parameter instead of log_file.
logstash_files
log_file
Logrotate file that is generated has invalid path of
*.log
instead of/opt/logstash/<instance_name>/log/*.log
Here is the generated file:
The problem might be that logstash setup is using
logstash_files
parameter instead oflog_file
.