Unmatched responses

Hi there,

I've got unmatched response (and requests) in my packetbeat config, capturing http resuests

Metrics logs show a lot of unmatched events

2020-10-21T16:51:39.052+0200	INFO	[monitoring]	log/log.go:145	Non-zero metrics in the last 30s	{"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":5020,"time":{"ms":13}},"total":{"ticks":22810,"time":{"ms":204},"value":22810},"user":{"ticks":17790,"time":{"ms":191}}},"handles":{"limit":{"hard":65535,"soft":65535},"open":9},"info":{"ephemeral_id":"48589ded-1147-4ae1-aff1-c514f815690d","uptime":{"ms":3510065}},"memstats":{"gc_next":66173008,"memory_alloc":39815520,"memory_total":4780190104},"runtime":{"goroutines":18}},"http":{"unmatched_responses":14},"libbeat":{"config":{"module":{"running":0}},"output":{"events":{"acked":37,"batches":17,"total":37},"read":{"bytes":102},"write":{"bytes":42593}},"pipeline":{"clients":1,"events":{"active":2,"published":39,"total":39},"queue":{"acked":37}}},"system":{"load":{"1":3.82,"15":3.05,"5":3.31,"norm":{"1":0.2388,"15":0.1906,"5":0.2069}}}}}}

Config is :

packetbeat.interfaces.device: any
packetbeat.interfaces.type: af_packet
packetbeat.interfaces.buffer_size_mb: 2048
packetbeat.interfaces.auto_promisc_mode: false

packetbeat.flows:
  enabled: false
  timeout: 30s
  period: 10s
packetbeat.protocols:
- type: http
  enabled: true
  ports: [8200,8201,8202,8204,8205,8207,8208]
  include_request_body_for: ["application/json","text/html","application/soap+xml","text/xml"]
  transaction_timeout: 600s
  max_message_size: 10485760
  send_all_headers: true
  real_ip_header: "X-Forwarded-For"
  send_request: false
  send_response: false
  keep_null: true
logging.metrics.enabled: true
packetbeat.procs.enabled: true
packetbeat.ignore_outgoing: false
processors:
  - add_fields:
      target: fields
      fields:
        context: 'prod'
tags: ["packetbeat"]
output.logstash:
  enabled: true
  hosts: ["ls1.vrack:5045","ls2.vrack:5045"]
  worker: 1
  loadbalance: true
  bulk_max_size: 100

I've tried to play with transaction_timeout, remove include_request_body_for but I still got errors.

Does anyone has an idea ?
thanks

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.