Pipeline starts but data does not ingest logs from json files

Below is my logstash.conf

input {
file {
path => "C:/logs/msglogin/*.json"
start_position => "beginning"
sincedb_path => "null"
codec=>"json"
}
}
filter {
json {
source => "message"
}
}
output {
elasticsearch {
hosts => [ "localhost:9200" ]
codec => "json"
}
stdout {
codec => rubydebug
}
}

JSON data :
{"_index": "customer", "_type": "product", "_id": 1}

sincedb_path => "null"

"null" never makes sense here. On Windows use "nul". On non-Windows use "/dev/null".

Tried with "nul" but still the same issue

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