Where to specify path.logs in Logstash 2.x?


(Amruth) #1

Hi,

I am using Logstash 2.4(since Java 1.7 doesn't support Logstash 5.x). Since it's Logstash 2.x there will be no Logstash.yml file. Now, I want to run Logstash as a service and wnat to gspecify options like path.logs, path.data. Where do I need to specify those values?

Thanks


(Mark Walkom) #2

I don't believe that was an available setting in 2.X, it was only exposed in 5.X.


(Amruth) #3

Hi Mark,

How can I see the logs to debug if there are any issues?

Thanks


(Christian Dahlqvist) #4

You can specify it through command line parameters in Logstash 2.4.


(Amruth) #5

But I want to run Logstash as a service which picks files directly from conf.d directory. How can I specify those parameters in this case?


(Mark Walkom) #6

If you installed the DEB/RPM, it will auto log to /var/log/logstash


(Amruth) #7

Got it. Thanks Mark :slight_smile:


(system) #8

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