You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I need to deliver log events to Amazon S3 as a JSON array rather than newline-delimited JSON.
Describe the solution you'd like
Add a new format configuration parameter to the Amazon S3 output plugin with supported values: jsonl (default) and json_array.
The default /jsonl behavior continues to be writing newline-delimited JSON.
In the json_array variant, the plugin writes a leading [ as the first character of the object, uses , as the delimiter instead of newline, and writes a final ] when the object is finished.
Describe alternatives you've considered
I need my objects to contain JSON arrays for compatibility with an existing web service I do not control. My only options are:
Don't use FB.
Write a new custom plugin specifically for my use case that does what I want.
Make the existing Amazon S3 plugin more versatile.
Additional context
I am trying to send usage logs to an existing web service whose "public interface" is an S3 bucket that MUST receive objects containing JSON arrays.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I need to deliver log events to Amazon S3 as a JSON array rather than newline-delimited JSON.
Describe the solution you'd like
format
configuration parameter to the Amazon S3 output plugin with supported values:jsonl
(default) andjson_array
.jsonl
behavior continues to be writing newline-delimited JSON.json_array
variant, the plugin writes a leading[
as the first character of the object, uses,
as the delimiter instead of newline, and writes a final]
when the object is finished.Describe alternatives you've considered
I need my objects to contain JSON arrays for compatibility with an existing web service I do not control. My only options are:
Additional context
The text was updated successfully, but these errors were encountered: