Data.path problem

Hello,
I installed logstash in a different path of default path. When I'm trying to launch more than 1 pipeline I'm getting the following error:

Logstash could not be started because there is already another instance using the configured data directory. If you wish to run multiple instances, you must change the "path.data" setting.

I have configured the logstash.yml with this lines:

http.host: "0.0.0.0"
log.level: debug
path.data: /aplicaciones/logstash/data/
path.config: /aplicaciones/logstash/config/

Can sombody help me?

Thanks a lot

Are you remembering to tell logstash about the new logstash.yml file when you launch it?

/path/to/logstash/bin/logstash --path.settings /aplicaciones/logstash/logstash.yml

You have to define the second logstash.yml settings file manually otherwise it will look at the $LS_SETTING_DIR environment variable.

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