chef-logstash
chef-logstash copied to clipboard
logrotate config has invalid path of just "*.log"
Logrotate file that is generated has invalid path of *.log
instead of /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
.