Httpjson crashes when receiving json array at the top level

I'm using your excellent version 7.6.2

I'm calling this API:

filebeat.yml has no processors, and is supposed to dump the event into ES

The API returns a JSON response body of the form [{event1},{event1},{event1}]
Notice the array at the top level in this JSON response.

filebeats generates an ERROR with the message
ERROR [httpjson] httpjson/input.go:120 http.response.body is not valid JSON {"url": ""}

This could be a parsing error. Please advise if there is a workaround

An open API to reproduce this is:

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