Skip to content

in_http: fix parsing of root JSON object - #9467

Merged
edsiper merged 1 commit into
3.1from
eduardo-in-http-json-obj
Oct 5, 2024
Merged

in_http: fix parsing of root JSON object#9467
edsiper merged 1 commit into
3.1from
eduardo-in-http-json-obj

Conversation

@edsiper

@edsiper edsiper commented Oct 5, 2024

Copy link
Copy Markdown
Member

This patch fixes the problem where a JSON object cannot be ingested by using in_http, e.g:

curl -d '{"key1":"value1","key2":"value2"}' -XPOST -H "content-type: application/json" http://localhost:8888/app.log

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

Signed-off-by: Eduardo Silva <eduardo@calyptia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant