Change location of data and config folders (Windows)


#1

How do I change the location of the data, logs and config folders in logstash from the default?

Thanks


#2

I've found that I need to modify the following to point to the desired location in logstash.yml:

  1. path.setting (for jvm.options, log4j2.properties, logstash.yml, etc)
  2. path.data
  3. path.logs

I modified these in logstash.yml and moved the contents of the originals to their new locations, but starting logstash (.\bin\logstash -e 'input { stdin {} } output { stdout {} }') gives the following error:
warning: no jvm.options found

So how does logstash know where to look if the logstash.yml in in a non-default location?


(system) #3

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