How to troubleshoot LS

Hi Experts,

I am using LS 1.5.4 , and I want to troubleshoot LS. Can anyone tell me where I find error logs for Logstash. I do not see it the way kibana or ES save it's app logs in the directory .

please suggest.


This depends on how Logstash is started. Look at your Logstash command line. The -l option chooses the log file location. If absent, Logstash will log to stdout (or is it stderr?).

Thank you Magnus I am running it as logstash agent -f test.conf.
Where i can put -l in this command ?

Anywhere after "agent".