Splunk® Data Stream Processor

Function Reference

Acrobat logo Download manual as PDF

Acrobat logo Download topic as PDF

Get data from Forwarders Service

Use the Forwarders Service source function to get data from a Splunk universal or heavy forwarder. This is a source function that filters your data to only ingest data from the Splunk Forwarders Service. See also Process data from a universal forwarder in DSP.

Function output schema

This function outputs data pipeline events using the event schema for events or metrics schema for metrics.

Required arguments

connection_id
Syntax: string
Description: The ID of your Splunk Forwarders connection. Must be set to "forwarders:all".
Example: "forwarders:all"

SPL2 example

| from forwarders("forwarders:all") |....;

Alternatively, you can use the named argument syntax to write this function. See the "Named arguments" section in SPL2 syntax for more details.

| from forwarders(connection_id: "forwarders:all") |....;

Limitations of the Forwarders Service

The maximum supported size for a record is 5MB. If any records exceed that size, the Forwarders service returns an error.

Last modified on 10 November, 2020
PREVIOUS
Get data from Splunk DSP Firehose
  NEXT
Get data from Ingest Service

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