Logstash is not reading files in conf.d when running as a service(using NSSM) on windows

Hi,

I am running Logstash as a service on windows using NSSM, but it's not picking conf files from conf.d. I gave the path to config files in logstash.yml.

When I pass the arguments(in NSSM) as '-f C:logstash\install\bin\myfile.conf' it works fine but it's not working when I pass the arguments(in NSSM) as '--config C:\logstash\conf.d'

Can someone please help resolve the issue?

The -f flag can take a file or a directory, so I think it should be -f C:\logstash\conf.d.

Thanks Christian. It is working now.

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