Logstash Writing to Two Log Files

Hi,
Our logstash 7.16.2 instances are writing log files to /var/log/logstash/logstash-plain.log and /var/log/logstash-stdout.log.

How do we prevent the creation of the second log under /var/log? Log config looks like this:

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.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.