Hi, Our logstash 7.16.2 instances are writing log files to /var/log/logstash/logstash-plain.log and /var/log/logstash-stdout.log.
/var/log/logstash/logstash-plain.log
/var/log/logstash-stdout.log
How do we prevent the creation of the second log under /var/log? Log config looks like this:
/var/log
path.logs: /var/log/logstash
Thx D
How are you running logstash?
Normally logstash only writes to /var/log/logstash/logstash-plain.log.
Running it normally on an EC2 instance.
But how? As a service? Using a script? Using crontab?
As a service.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.