Splunk® Data Stream Processor

Use the Data Stream Processor

Acrobat logo Download manual as PDF

DSP 1.2.0 is impacted by the CVE-2021-44228 and CVE-2021-45046 security vulnerabilities from Apache Log4j. To fix these vulnerabilities, you must upgrade to DSP 1.2.4. See Upgrade the Splunk Data Stream Processor to 1.2.4 for upgrade instructions.

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.
This documentation does not apply to the most recent version of Splunk® Data Stream Processor. Click here for the latest version.
Acrobat logo Download topic as PDF

Upgrade a plugin from 1.1.0 to 1.2.0

If you upgraded from the 1.1.0 to DSP 1.2.0, follow these instructions to rebuild your plugin with the latest version of the SDK and reupload the plugin for use.


  • Review What's new in the SDK. The latest version of the SDK includes a backwards-incompatible changes. If any of these apply to you, you need to make the required changes to your code before upgrading.
  • upgraded to version 1.2.0.


  1. Open a command prompt at the root of the plugin repository and fetch the release-1.2 branch from the remote server.
    git fetch origin release-1.2
  2. Checkout the release-1.2 branch.
    git checkout release-1.2
  3. Rebuild the plugin.
    ./gradlew my-plugin-name:build
  4. Upload the built JAR to the .
    ./gradlew uploadPlugin -PPLUGIN_ID=<id-from-registration-response> -PPLUGIN_MODULE=my-plugin-name
  5. Refresh the UI.

You can now use functions included in your plugin in the latest version of the .

Troubleshoot the plugin upgrade

If you were unable to checkout the latest version of the SDK, complete the following steps.

  1. Clone the repository again: Plugins SDK.
  2. Checkout release-1.2 in the new clone.
  3. Copy the top-level folder containing your plugin code from the 1.1 repository into the newly cloned 1.2 repository.
  4. Add include '<my-plugin-name>' to the settings.gradle file.
    #!/usr/bin/env groovy
    // Copyright (c) 2019-2019 Splunk, Inc. All rights reserved.
    include 'dsp-plugin-examples'
    include 'dsp-plugin-functions'
    include 'my-plugin-name'
  5. Rebuild the plugin.
    ./gradlew my-plugin-name:build
  6. Upload the built JAR to the .
    ./gradlew uploadPlugin -PPLUGIN_ID=<id-from-registration-response> -PPLUGIN_MODULE=my-plugin-name

You can now use functions included in your plugin in the latest version of the .

Last modified on 14 December, 2020
Create custom functions with the SDK
Troubleshoot the

This documentation applies to the following versions of Splunk® Data Stream Processor: 1.2.0, 1.2.1-patch02

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