Change location of data and config folders (Windows)


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



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,, logstash.yml, etc)
  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.