The createKafkaEventForwarder() GraphQL mutation field may be used to cCreate a Kafka event forwarder and return it.

For more information on event forwarders, see the Event Forwarders documentation page. You may also want to look at the Event Forwarding and the Events page for related information.

Syntax

Below is the syntax for the createKafkaEventForwarder() mutation field:

graphql
createKafkaEventForwarder(
      input: CreateKafkaEventForwarder!
   ): KafkaEventForwarder!

Given Datatypes

For the input createKafkaEventForwarder(), there are several parameters that may be given. Below is a list of them along with their datatypes and a description of each:

Table: CreateKafkaEventForwarder

ParameterTypeRequired[a]DefaultDescription
namestringyes Name of the event forwarder.
descriptionstringyes Description of the event forwarder.
propertiesstringyes The Kafka producer configuration used to forward events in the form of properties (x.y.z=abc). See https://library.humio.com/humio-server/ingesting-data-event-forwarders.html#kafka-configuration.
topicLanguageVersionEnum = legacyyes The Kafka topic to which the events should be forwarded.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.


Returned Datatypes

The returned datatype KafkaEventForwarder has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: KafkaEventForwarder

ParameterTypeRequired[a]DefaultDescription
topicstringyes The Kafka topic where the events should be forwarded.
propertiesstringyes The Kafka producer configuration used to forward events in the form of properties (x.y.z=abc). See https://library.humio.com/stable/docs/ingesting-data/event-forwarding/event-forwarders/index.html#kafka-configuration.
idstringyes The unique identifier of the event forwarder.
namestringyes The name of the event forwarder.
descriptionstringyes The description of the event forwarder.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.