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.
Time Series Decomposition (STL) | Source functions (Data Sources) |
This documentation applies to the following versions of Splunk® Data Stream Processor: 1.0.1
Feedback submitted, thanks!