title: Logstash 5.2.1: no config files found
body: <p>I am trying to run logstash on <strong>Windows</strong>, but keep receiving error messages.</p>
  
  <p>I have a config file (logstash.conf) located at D:\elk\logstash-5.2.1\<br>
  When I ran <strong>bin\logstash -f logstash.conf</strong> from D:\elk\logstash-5.2.1, it showed the following error message:</p>
  
  <pre><code>10:38:19.617 [LogStash::Runner] INFO  logstash.agent - No config files found 
  in path {:path=&gt;"D:/elk/logstash-5.2.1/logstash.conf"}
  
  10:38:19.625 [LogStash::Runner] ERROR logstash.agent - failed to fetch 
  pipeline configuration {:message=&gt;"No config files found: logstash.conf. Can 
  you make sure this path is a logstash config file?"}
  </code></pre>
  
  <p>When I specified the full path (aka <strong>bin\logstash -f "D:\elk\logstash-5.2.1\logstash.conf"</strong>), the followings showed up:  </p>
  
  <pre><code>10:47:44.621 [LogStash::Runner] ERROR logstash.agent - failed to fetch 
  pipeline configuration {:message=&gt;"No config files found: 
  D:\\elk\\logstash-5.2.1\\logstash.conf. 
  Can you make sure this path is a logstash config file?"}
  </code></pre>
  
  <p>(I also tried using slash instead of backslash, with and without the double quote for path, still didn't work)</p>
  
  <p>The strange thing is that when I run logstash on other machine (with exact ELK configuration), Logstash run smoothly.</p>
  
  <p>I have been doing a lot of research but could not find any solution, any help would be much appreciated. Thanks in advance.</p>