Skip to content
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

Add http.request.body. #263

Closed
wants to merge 2 commits into from
Closed

Conversation

webmat
Copy link
Contributor

@webmat webmat commented Dec 7, 2018

If we allow for deep inspection of response body already, I don't see why we wouldn't have a field for the request body as well. I think this was simply overlooked?

This would address an issue we have with migrating the Filebeat elasticsearch log module: elastic/beats#9293

If we allow for deep inspection of response body already, I don't see why we wouldn't have a field for the request body as well. I think this was simply overlooked?
@webmat webmat requested a review from ruflin December 7, 2018 20:55
@webmat webmat self-assigned this Dec 7, 2018
@webmat webmat mentioned this pull request Dec 7, 2018
1 task
@@ -851,12 +851,12 @@
Referrer for this HTTP request.
example: https://blog.example.com/

- name: response.status_code
- name: request.body
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to conflict with #239

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well 239 is about adding the size metrics.

This current PR is adding the other body with the same semantics as it had before. But if we go forward with 239's proposal to nest the body content at body.content, then this implementation will indeed need to change.

Was just trying to keep concerns separate ;-)

@webmat
Copy link
Contributor Author

webmat commented Dec 10, 2018

Will be implemented directly in #239, to introduce a consistent desired state all at once.

@webmat webmat closed this Dec 10, 2018
@webmat webmat deleted the http-request-body branch December 10, 2018 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants