Splunk® Data Stream Processor

Use the Data Stream Processor

Acrobat logo Download manual as PDF

This documentation does not apply to the most recent version of DSP. Click here for the latest version.
Acrobat logo Download topic as PDF

Add a sourcetype

You can set a sourcetype using an eval function.

If you do not add a sourcetype to your data and you send your data to Splunk Enterprise, your data is automatically indexed with the default httpevent sourcetype.

Set a sourcetype manually

Set a sourcetype on your data with the Eval streaming function. The Eval function adds or updates an existing field to your record.

  1. From the Data Pipelines editor, click on the + icon and add the Eval function to your pipeline.
  2. In the Eval function, type the following. This sets your source_type field to buttercup_sales.
  3. With your Eval function highlighted, click Start Preview and send some data in to verify that the expression is working as expected.
Last modified on 28 September, 2020
Aggregate records in a pipeline
Adding, removing, and updating fields

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