Dear Team,
I am working on processing a JSON file and need some clarification. I read earlier threads and tried using codecs (json, json_lines and json as filter too) but as output i am getting individual lines of the file and below error:
JSON parse failure. Falling back to plain-text {:error=>#<LogStash::Json::ParserError: Unexpected end-of-input: expected close marker for OBJECT (from [Source: [B@1edd238a; line: 1, column: 24])
at [Source: [B@1edd238a; line: 1, column: 51]>, :data=>" {", :level=>:error}
Please let me know what else is require here, the JSON file is a valid one.
logstash conf:
file{
path => "inputfile"
type => "input"
codec => "json"
}
output:
}
]
}
]
}
Thanks & Regards,