Splunk® Data Stream Processor

Connect to Data Sources and Destinations with DSP

On April 3, 2023, Splunk Data Stream Processor reached its end of sale, and will reach its end of life on February 28, 2025. If you are an existing DSP customer, please reach out to your account team for more information.

All DSP releases prior to DSP 1.4.0 use Gravity, a Kubernetes orchestrator, which has been announced end-of-life. We have replaced Gravity with an alternative component in DSP 1.4.0. Therefore, we will no longer provide support for versions of DSP prior to DSP 1.4.0 after July 1, 2023. We advise all of our customers to upgrade to DSP 1.4.0 in order to continue to receive full product support from Splunk.

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 Hubs 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 Data Stream Processor 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 body field in the Azure Event Hubs records from bytes to a more commonly supported data type such as string. This conversion makes the field human-readable during data preview and compatible with a wider range of streaming functions. 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.

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 Source 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 25 March, 2022
Create a DSP connection to send data to Google Cloud Storage   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.3.0, 1.3.1, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6


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