0

I want to build a dashboard that is based on POST requests containing JSON data that is being sent as part of the request payload.

I added send_request to the Packetbeat configuration but I don't see the data in the index.

Is that possible and how it can be done?

A J
  • 2,508
  • 21
  • 26
Lev
  • 115
  • 2
  • 11

1 Answers1

3

You must also specify the content types of the requests that you wish to include the body for via the include_body_for config setting. For example:

protocols:
  http:
    ports: [80, 8080]
    send_request: true
    include_body_for: ['application/json', 'application/javascript']
A J
  • 2,508
  • 21
  • 26