packetbeat无法捕获http请求的响应

时间:2020-05-22 12:39:01

标签: elk packetbeat

数据包节拍7.5.2连接到elasticsearch 7.5.2。连接正常。

请参阅packetbeat.yml文件。我只启用了对8281端口的http请求。但是当我签入kibana时,它显示为波纹管且未显示响应。

error.message:请求不匹配

请参阅下面的http启用部分配置。请求和响应不匹配的原因是什么?

  # Configure the ports where to listen for HTTP traffic. You can disable
  # the HTTP protocol by commenting out the list of ports.
  ports: [8281]
  send_request: true
  send_response: true
  include_body_for: ['image/webp','application/x-javascript','*/*','application/octet-stream','text/xml','application/xml','application/xhtml+xml','text/plain','text/html','application/json','text/javascript','application/javascript','application/x-www-form-urlencoded']
  #include_response_body_for: ['text/xml','application/xml','application/xhtml+xml','text/plain','text/html','application/json']
  split_cookie: true
  send_all_headers: true
  max_message_size: 90485796
  buffer_size_mb: 4048
  transaction_timeout: 20s```

0 个答案:

没有答案