Hi @jsoriano,
It was the issue of the log structure. If I am putting a json in multilines as shown below, we will get the mentioned error,
If we are putting the entire logs in a single line, filebeat will parse and push to ES. This was mentioned on the documentation (the JSON decoding only works if there is one JSON object per line) but I missed it.
In short we can mark this ticket as closed.