filebeat-5.5.1 got decoding JSON with a simple json line string:
echo {"id":"l7KVoUhkRWWESd9QE_DX5Q", "timestamp":1502334971,"logtype":"event", "file":"tset.cpp", "function":"ProcMessageNew", "line":271} >> test.log
filebeat is monitoring the test file:
- input_type: log
paths:
- /root/test.log
also I try the newest version filebeat, got the same issue. @steffens