Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No config files found in Logstash 1.4

I'm following the process on http://logstash.net/docs/1.4.0/tutorials/getting-started-with-logstash

but even if I try to "logstash agent -f "D:\logstash.conf" with

input { stdin { } }
output {
  elasticsearch { host => localhost }
  stdout { codec => rubydebug }
}

it return me an error:

Error: No config files found: D:\logstash.conf Can you make sure this path is a logstash config file? and bla-bla-bla

I'm really confused.

like image 506
laggerok19 Avatar asked Dec 26 '22 10:12

laggerok19


1 Answers

With Windows, you need to use forward slash "/" instead of the normal backslash "\" in the path to the config file.

like image 128
lynnroth Avatar answered Dec 29 '22 12:12

lynnroth