Dns log parsing and display in Kibana

I think there is an error in the way that Packetbeat (7.8) parses DNS logs, and/or the way that Kibana displays them.
If I have a host that sends a dns request for microsoft.com to the DNS server, and packetbeat is running on (hostname Sensor) with a span port that sees the DNS request.
When packetbeat parses the DNS packet, it populates the host.name ECS field with the name of the machine that is running the packetbeat instance. When this gets displayed by Kibana, the display processor uses the field host.name to populate the display such that it reads:
Sensor asked for microsoft.com with question type A blah blah blah and further on it displays source and destination, and these are correctly shown as and respectively.
What I would have expected is: asked for microsoft.com with question type A
Is this an issue with Packetbeat not filling in the host.name field correctly, or Kibana not visualising the request properly.


Packetbeat always populates host.name with the name of the host it's running on. You can update your configuration drop this field. You can apply the config from this change https://github.com/elastic/beats/pull/20309.

tags: [forwarded]

  - # Add forwarded to tags when processing data from a network tap or mirror.
    if.contains.tags: forwarded
      - drop_fields:
          fields: [host]
      - add_host_metadata: ~
  - add_cloud_metadata: ~
  - add_docker_metadata: ~

Perfect, thanks

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