I'm trying out the latest beta (filebeat-5.0.0-alpha3-darwin-x64). Its working as expected for simple .json object. However, getting below error when I try to ship an array [{"name":"first","count":100},{"name":"second","count":200}]
"json": {
"json_error": "Error decoding JSON: json: cannot unmarshal array into Go value of type common.MapStr",
@sahas It is currently not supported but as far as I know it is not documented anywhere. Can you share some more details on what kind of system creates these logs?
@ruflin, its my private system that generates logs like this. I could easily go back and change code to generate object per line but wanted to know if we could use filebeat as is.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.