Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

logrotate config has invalid path of just "*.log" #485

Open
akshah123 opened this issue Jul 17, 2017 · 0 comments
Open

logrotate config has invalid path of just "*.log" #485

akshah123 opened this issue Jul 17, 2017 · 0 comments

Comments

@akshah123
Copy link
Contributor

akshah123 commented Jul 17, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant