Splunk® Data Stream Processor

Function Reference

Acrobat logo Download manual as PDF


On April 3, 2023, Splunk Data Stream Processor will reach 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.
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.
Acrobat logo Download topic as PDF

Union

Combines streams with the same input schema into one stream with all of the events of the input streams. If the combined streams do not have the same schema, an error is thrown.

Function Input
collection<collection<record<R>>>
This function takes in collections of records with schema R.
Function Output
collection<record<R>>
This function outputs a collection of records with schema R.

Arguments

Argument Input Description UI example
1st branch collection<collection<record<R>>> The name of the function that you want to perform the union on. read-from-apache-kafka
2nd branch collection<collection<record<R>>> The name of the function that you want to perform the union on. receive-from-splunk-forwarders

Example

This example unions together two branches, one branch containing the data from the Ingest Service and another branch containing the data from the Forwarders Service. For a detailed example of how to union two functions together, see the Create a pipeline with multiple data sources topic.

UnionUI.png

Last modified on 28 March, 2020
PREVIOUS
Time Series Decomposition (STL)
  NEXT
Source functions (Data Sources)

This documentation applies to the following versions of Splunk® Data Stream Processor: 1.0.1


Was this documentation topic helpful?


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