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

Packetbeat always sends body when response is larger than 15MB #2468

Closed
tsg opened this issue Sep 6, 2016 · 1 comment
Closed

Packetbeat always sends body when response is larger than 15MB #2468

tsg opened this issue Sep 6, 2016 · 1 comment

Comments

@tsg
Copy link
Contributor

tsg commented Sep 6, 2016

  • Version: master / 5.0
  • Operating System: OS X

Steps to Reproduce:

  • create a 5MB and a 15MB file, eg:
dd if=/dev/zero of=5m.file bs=1024000 count=5
dd if=/dev/zero of=15m.file bs=1024000 count=15
  • start a web server
python -m SimpleHTTPServer
sudo ./packetbeat -e -c packetbeat.dev.yml
  • create a request for the 5m file:
curl -XGET localhost:8000/5m.file

Note that the body is not included in the generated event.

  • create a request for the 15m file:
curl -XGET localhost:8000/15m.file

Note that this time the body is included in the event, despite it was not requested in the configuration.

@tsg
Copy link
Contributor Author

tsg commented Sep 13, 2016

Fixed with #2470.

@tsg tsg closed this as completed Sep 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant