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

From

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

Description

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

Syntax

The required syntax is in bold.

FROM <source_function>

Required arguments

source_function
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 Firehose source function

from read_splunk_firehose() |...;

Reads data from the Kafka source function

| from read_kafka("connection-id", "kafka-topic-name") |...;
Last modified on 17 July, 2020
PREVIOUS
Fields
  NEXT
Into

This documentation applies to the following versions of Splunk® Data Stream Processor: 1.1.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