Splunk® Data Stream Processor

Function Reference

Acrobat logo Download manual as PDF

Acrobat logo Download topic as PDF


This topic describes how to use the function in the Splunk Data Stream Processor.


A special function used in the SPL2 Pipeline Builder to retrieve data from a specific source function.


The required syntax is in bold.

FROM <source_function>

Required arguments

Syntax: <source_function>
Description: The source function to retrieve the data from. For a list of available source functions, see source functions.

SPL2 examples

Reads data from the Splunk DSP Firehose source function

from splunk_firehose() |...;

Reads data from the Kafka source function

| from kafka("connection-id", "kafka-topic-name") |...;
Last modified on 06 November, 2020

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

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