TELEMETRY PIPELINE
Azure Event Hubs

Azure Event Hub source plugin

The Azure Event Hubs source plugin (name: kafka, alias: Azure_Event_Hub) lets you ingest data from your Azure Event Hubs instances into a telemetry pipeline.

This is a pull-based source plugin.

Supported telemetry types

This plugin for Chronosphere Telemetry Pipeline supports these telemetry types:

LogsMetricsTraces

Configuration parameters

Use the parameters in this section to configure your plugin. The Telemetry Pipeline web interface uses the values in the Name column to describe the parameters. Items in the Key column are the YAML keys to use in pipeline configuration files.

General

NameKeyDescriptionDefault
Event Hub NamespacebrokersRequired. Your Event Hub namespace.[REPLACE WITH YOUR NAMESPACE].servicebus.windows.net:9093
Event Hub TopictopicsRequired. The Event Hub topic to read information from.none
Connection String Keyrdkafka.sasl.passwordRequired. The Event Hub connection string from within the connection access policy set for the source.Endpoint=[REPLACE WITH YOUR CONNECTION STRING VALUE]

Advanced

NameKeyDescriptionDefault
Minimum Queued Messagesdkafka.queued.min.messagesMinimum number of messages per topic and partition that Telemetry Pipeline tries to maintain in the local consumer queue.10
Request Timeout (ms)rdkafka.request.timeout.msHow long Telemetry Pipeline waits before terminating a request connection. Recommended value: 60000.60000
Session Timeout (ms)rdkafka.session.timeout.msHow long Telemetry Pipeline waits before prior to terminating a session connection. Recommended value: 30000.30000
SASL Usernamerdkafka.sasl.usernameSASL username.$ConnectionString
Security Protocolrdkafka.security.protocolThe security protocol for Azure Event Hub. If you require OAuth or OpenID, contact Chronosphere Support.SASL_SSL
SASL Mechanismrdkafka.sasl.mechanismThe transport mechanism for the SASL connection.PLAIN

Other

This parameter doesn’t have an equivalent setting in the Telemetry Pipeline web interface, but you can use it in pipeline configuration files.

NameKeyDescriptionDefault
nonebuffer_max_sizeSets the size of the memory buffer available to that pipeline. If your records exceed the size of the default memory buffer (4 MB), you must increase the buffer to accommodate them.4M

Extended librdkafka parameters

This plugin uses the librdkafka (opens in a new tab) library. Certain configuration parameters available through the Telemetry Pipeline UI are based on librdkafka settings. These parameters generally use the rdkafka. prefix.

In addition to the parameters available through the Telemetry Pipeline UI, you can customize any of the librdkafka configuration properties (opens in a new tab) by adding them to a pipeline configuration file. To do so, append the rdkafka. prefix to the name of that property.

For example, to customize the socket.keepalive.enable property, add the rdkafka.socket.keepalive.enable key to your configuration file.

Don’t use librdkafka properties to configure a pipeline’s memory buffer. Instead, use the buffer_max_size parameter.