Before you begin

To complete this tutorial, you need to have the following:

Prerequisite How to obtain

A licensed instance of the Splunk Data Stream Processor.

The URL for accessing the user interface (UI) of your DSP instance.

The URL is https://<IP_Address>, where <IP_Address> is the IP address associated with your DSP instance. You can also confirm the URL by opening a terminal window in the extracted DSP installer directory and running the sudo dsp admin print-login command. Thehostname field shows the URL.

Credentials for logging into your DSP instance.

If you need to retrieve your login credentials, open a terminal window in the extracted DSP installer directory and then run the sudo dsp admin print-login command.

The Splunk Cloud Services CLI tool, configured to send data to the DSP instance.

See Get started with the Splunk Cloud Services CLI for more details.

Note:

This tutorial uses Splunk Cloud Services CLI 4.0.0, the version used when running the base ./scloud command in DSP 1.2.0.

The demodata.txt tutorial data.

The /examples folder in the extracted DSP installer directory contains a copy of this file. You can also download a copy of the file here.

Access to a Splunk Enterprise instance that has the HTTP Event Collector (HEC) enabled. You'll also need to know the HEC endpoint URL and HEC token associated with the instance.

Ask your Splunk administrator for assistance. See Set up and use HTTP Event Collector in Splunk Web in the Splunk Enterprise Getting Data In manual.

The demodata.txt tutorial data contains purchase history for the fictitious Buttercup Games store.

The tutorial data looks like this:
CODE
A5D125F5550BE7822FC6EE156E37733A,08DB3F9FCF01530D6F7E70EB88C3AE5B,Credit Card,14,2018-01-13 04:37:00,2018-01-13 04:47:00,-73.966843,40.756741,4539385381557252
1E65B7E2D1297CF3B2CA87888C05FE43,F9ABCCCC4483152C248634ADE2435CF0,Game Card,16.5,2018-01-13 04:26:00,2018-01-13 04:46:00,-73.956451,40.771442

Then, log into the DSP UI.

  1. In a browser, navigate to the URL for the DSP UI.
  2. Log in with your DSP username and password.

The DSP UI shows the home page.