Skip to content

in_http: Support for Content-Type application/x-ndjson #3511

Closed
@chrisbertsch

Description

@chrisbertsch

Is your feature request related to a problem? Please describe.

Moving away from a legacy application in which logs were sent over HTTP as newline delimited JSON objects. With the added support for newline delimited JSON added to the in_http plugin Fluentd would be a drop-in replacement.

I see that the out_http plugin supports application/x-ndjson so this enhancement to the HTTP input would be complementary to the HTTP output plugin's support of newline-delimited JSON objects.

https://docs.fluentd.org/output/http#content_type

Describe the solution you'd like

Implement support for Content-Type application/x-ndjson for newline-delimited JSON objects to be summited via the in_http input plugin.

https://docs.fluentd.org/input/http#how-to-use-http-content-type-header

Describe alternatives you've considered

N/A

Additional context

N/A

Metadata

Metadata

Assignees

Labels

feature request*Deprecated Label* Use enhancement label in general

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions