Now I can test your example for myself on windows,
input {
file {
path => "C:\logstash-2.3.4\test.json"
codec => json
sincedb_path => "NUL"
start_position => "beginning"
}
}
output {
stdout { codec => rubydebug }
}
C:\logstash-2.3.4>bin\logstash -f logstash.conf --verbose
io/console not supported; tty will not be manipulated
starting agent {:level=>:info}
starting pipeline {:id=>"main", :level=>:info}
Settings: Default pipeline workers: 4
Registering file input {:path=>["C:\logstash-2.3.4\test.json"], :level=>:info}
Starting pipeline {:id=>"main", :pipeline_workers=>4, :batch_size=>125, :batch_delay=>5, :max_inflight=>500, :level=>:info}
Pipeline main started
JSON parse failure. Falling back to plain-text {:error=>#<LogStash::Json::ParserError: Unexpected end-of-input within/between ARRAY entries
at [Source: [B@61811ede; line: 2, column: 186]>, :data=>"[{"id":1,"first_name":"Frank","last_name":"Mills","date":"5/31/2014","email":"fmills0@feedburner.com","country":"France","city":"La Rochelle","latitude":"46.1667","longitude":"-1.15"},\r", :level=>:info}
JSON parse failure. Falling back to plain-text {:error=>#<LogStash::Json::ParserError: Unexpected character (',' (code 44)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
at [Source: [B@52bc9b7a; line: 1, column: 188]>, :data=>"{"id":2,"first_name":"Barbara","last_name":"Torres","date":"1/7/2015","email":"btorres1@ustream.tv","country":"Uruguay","city":"La Paloma","latitude":"-34.66268","longitude":"-54.16452"},\r", :level=>:info}
{
"message" => "[{"id":1,"first_name":"Frank","last_name":"Mills","date":"5/31/2014","email":"fmills0@feedburner.com","country":"France","city":"La Rochelle","latitude":"46.1667","longitude":"-1.15"},\r",
"tags" => [
[0] "_jsonparsefailure"
],
"@version" => "1",
"@timestamp" => "2016-08-08T20:51:27.241Z",
"path" => "C:\logstash-2.3.4\test.json",
"host" => "SONY-VAIO"
}
{
"message" => "{"id":2,"first_name":"Barbara","last_name":"Torres","date":"1/7/2015","email":"btorres1@ustream.tv","country":"Uruguay","city":"La Paloma","latitude":"-34.66268","longitude":"-54.16452"},\r",
"tags" => [
[0] "_jsonparsefailure"
],
"@version" => "1",
"@timestamp" => "2016-08-08T20:51:27.271Z",
"path" => "C:\logstash-2.3.4\test.json",
"host" => "SONY-VAIO"
}