I am getting my LogStash logs to /var/log/logstash while I want to send them to /log/logstash.
I saw many places writing how to do so but still I am a little confused.
From now I am guessing I have to change the log4j configuration file in the following lines:
Also to change this in /etc/logstash/logstash.yml (this I did change and all what it did it stopped writing logs to /var/log/logstash but did not write logs to any where):
Even im facing same problem as tomer, where even after giving the below path in logstash yml file
path.logs: D:\ELK-Stack\logstash-5.2.0\logs\logstash.log
Still logs are not generating in logstash, im using windows os, so please let us know how do we get logs from logstash
Wish I couldve help you! I just know linux systems for logstash.
In linux it sends when not configured to /var/log/logstash. if you configure to where it should be sent in logstash.yml in path.log it should get there if that file has permettion to write inside it. I dont think this will help for Windows.
I recommend to open a new question in discuss since I believe windows will be different.
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.