Splunk® Data Stream Processor

Use the Data Stream Processor

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

Deserialize and preview data from Amazon Kinesis

If you are creating a pipeline to ingest data from Kinesis using the Read from Amazon Kinesis source function, read the following to deserialize and preview your data:

  • Kinesis sends your data in Base64 encoding. The read_kinesis source function decodes the Base64 encoding. You do not need to use the base64_decode function in your pipeline.
  • The data you send appears in the value field of your record, and not the body field.
  • In the Preview Results tab, your data appears to be Base64 encoded.
  • Depending on your data source, you might need to deserialize your data from an encoding scheme other than Base64 to preview it in the Preview Results tab. You must include how you want to deserialize your data in your pipeline definition. For example, if you send JSON, then use the deserialize_json_object function.
  • If you send text and want to view it in the Preview Results tab, add an eval function to your pipeline after your source function. Enter the following DSL in the configuration panel of your eval function: as(deserialize-json-object(get("value")), "body");
Last modified on 06 December, 2019
PREVIOUS
Deserialize and send Kafka data from a DSP pipeline
  NEXT
Deserialize and send Azure Event Hubs data from a DSP pipeline

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