-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filebeat httpjson v2 input should set Content-Type header to match to specified encoder #24331
Comments
botelastic
bot
added
the
needs_team
Indicates that the issue/PR needs a Team:* label
label
Mar 3, 2021
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
botelastic
bot
removed
the
needs_team
Indicates that the issue/PR needs a Team:* label
label
Mar 3, 2021
4 tasks
leehinman
added a commit
to leehinman/beats
that referenced
this issue
Mar 4, 2021
leehinman
added a commit
that referenced
this issue
Mar 8, 2021
4 tasks
leehinman
added a commit
to leehinman/beats
that referenced
this issue
Mar 8, 2021
Closes elastic#24331 (cherry picked from commit 4f5c282)
4 tasks
leehinman
added a commit
to leehinman/beats
that referenced
this issue
Mar 8, 2021
Closes elastic#24331 (cherry picked from commit 4f5c282)
leehinman
added a commit
that referenced
this issue
Mar 8, 2021
leehinman
added a commit
that referenced
this issue
Mar 8, 2021
leweafan
pushed a commit
to leweafan/beats
that referenced
this issue
Apr 28, 2023
) Closes elastic#24331 (cherry picked from commit 30148c5)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Filebeat should match the
Content-Type
header to the encoding selected.Steps to reproduce:
httpjson
v2 input (example configuration below)Content-Type
is still set toapplication/json
.Example
Minimum viable config:
Produces the following DEBUG output indicating
Content-Type: application/json
when run as./filebeat run -e --d 'input.httpjson-stateless' --once -c test.yml
The workaround is to specify the header directly in a request transform
The text was updated successfully, but these errors were encountered: