How to troubleshoot LS

(Vikas Gopal) #1

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.


(Magnus Bäck) #2

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?).

(Vikas Gopal) #3

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

(Magnus Bäck) #4

Anywhere after "agent".

(system) #5