Splunk® Data Stream Processor

Connect to Data Sources and Destinations with DSP

DSP 1.2.1 is impacted by the CVE-2021-44228 and CVE-2021-45046 security vulnerabilities from Apache Log4j. To fix these vulnerabilities, you must upgrade to DSP 1.2.4. See Upgrade the Splunk Data Stream Processor to 1.2.4 for upgrade instructions.

On October 30, 2022, all 1.2.x versions of the Splunk Data Stream Processor will reach its end of support date. See the Splunk Software Support Policy for details.
This documentation does not apply to the most recent version of Splunk® Data Stream Processor. For documentation on the most recent version, go to the latest release.

Connecting Microsoft Azure Event Hubs to your DSP pipeline as a data source

When creating a data pipeline in the , you can connect to Microsoft Azure Event Hubs and use it as a data source. You can get data from an event hub into a pipeline, transform the data as needed, and then send the transformed data out from the pipeline to a destination of your choosing.

To connect to Azure Event Hub as a data source, you must complete the following tasks:

  1. If the event hub that you want to get data from does not have a consumer group that can be used solely by your DSP pipeline, create one. See the Using a dedicated consumer group for each pipeline section on this page for more information about this best practice.
  2. Create a connection that allows DSP to access your Azure Event Hubs data. See Create a DSP connection to Microsoft Azure Event Hubs.
  3. Create a pipeline that starts with the Microsoft Azure Event Hubs source function. See the Building a pipeline chapter in the Use the manual for instructions on how to build a data pipeline.
  4. Configure the Microsoft Azure Event Hubs source function to use your Azure Event Hubs connection. See Get data from Microsoft Azure Event Hubs in the Function Reference manual.
  5. (Optional) Convert the byte-encoded data from Azure Event Hubs records into strings that are human-readable during data preview and usable in streaming functions that require string input. See Deserialize and preview data from Microsoft Azure Event Hubs in DSP.

When you activate the pipeline, the source function starts collecting data from Azure Event Hubs. The data is received into the pipeline as a records that contain byte-encoded data values.

Using a dedicated consumer group for each pipeline

To avoid connection failures that can occur when too many receivers try to connect to Azure Event Hubs through the same consumer group, use a dedicated consumer group for each data pipeline that gets data from Azure Event Hubs.

The Connector for Microsoft Azure Event Hubs uses a non-epoch receiver to retrieve data from an event hub through a consumer group. A consumer group can support up to five concurrent non-epoch receivers. If you are using the same consumer group across multiple pipelines, or if you have other programs connecting using this consumer group, then your pipeline can fail to connect. In addition, if an epoch-based receiver connects through the same consumer group, connections for non-epoch based receivers will be rejected.

Last modified on 09 December, 2020
Create a DSP connection to Microsoft 365   Connecting Microsoft Azure Event Hubs to your DSP pipeline as a data destination (Beta)

This documentation applies to the following versions of Splunk® Data Stream Processor: 1.2.0, 1.2.1-patch02, 1.2.1, 1.2.2-patch02, 1.2.4, 1.2.5


Was this topic useful?







You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters