﻿---
title: Kafka fields
description: Kafka module Kafka log lines. Trace in the log line. 
url: https://www.elastic.co/elastic/docs-builder/docs/3016/reference/beats/filebeat/exported-fields-kafka
products:
  - Beats
  - Filebeat
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Kafka fields
Kafka module

## kafka


## log

Kafka log lines.
<definitions>
  <definition term="kafka.log.component">
    Component the log is coming from.
    type: keyword
  </definition>
  <definition term="kafka.log.class">
    Java class the log is coming from.
    type: keyword
  </definition>
  <definition term="kafka.log.thread">
    Thread name the log is coming from.
    type: keyword
  </definition>
</definitions>


## trace

Trace in the log line.
<definitions>
  <definition term="kafka.log.trace.class">
    Java class the trace is coming from.
    type: keyword
  </definition>
  <definition term="kafka.log.trace.message">
    Message part of the trace.
    type: text
  </definition>
</definitions>