Splunk® Data Stream Processor

Function Reference

Acrobat logo Download manual as PDF

On October 30, 2022, all 1.2.x versions of the Splunk Data Stream Processor will reach its end of support date. See the Splunk Software Support Policy for details. For information about upgrading to a supported version, see the Upgrade the Splunk Data Stream Processor topic.
Acrobat logo Download topic as PDF


This topic describes how to use the function in the .


A special function used in the SPL2 Pipeline Builder to send results to a specific sink function.


The required syntax is in bold.

INTO <sink_function>

Required arguments

Syntax: <sink_function>
Description: The sink function to send data to. For a list of available sink functions, see sink functions.

SPL2 examples

Send data into a Splunk index.

...| into splunk_enterprise_indexes(
    cast(map_get(attributes, "index"), "string"),
    {"hec-token-validation": "true", "hec-gzip-compression": "true"},
Last modified on 19 April, 2021

This documentation applies to the following versions of Splunk® Data Stream Processor: 1.2.0, 1.2.1-patch02, 1.2.1, 1.2.2-patch02, 1.2.4, 1.2.5, 1.3.0, 1.3.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