Overview of the JSON Kafka output plugin
masterThe json-kafka plugin is a specialized version of the JSON output plugin designed for Apache Kafka. It converts IPFIX flow records into JSON format and sends them to a Kafka cluster.
Key characteristics:
- Field Formatting: Fields are formatted as
<Enterprise Name>:<Information Element Name>. For example,iana:sourceIPv4Address. If the field name/type is unknown andignoreUnknownis disabled, it uses the formatenXX:idYY(where XX is the Enterprise Number and YY is the ID). - Data Types: Supports structured data types like
basicList,subTemplateList, andsubTemplateMultiList. - Record Types: The plugin produces different JSON record types distinguished by the
@typekey:ipfix.entry: The standard flow record (most common).ipfix.optionsEntry: Metadata about the exporter (e.g., sampling stats). Disabled by default viaignoreOptions.ipfix.templateandipfix.optionsTemplate: Records describing the structure of flow/options records. Disabled by default viatemplateInfo.