Splunk® Enterprise

Search Tutorial

Download manual as PDF

Splunk Enterprise version 6.x is no longer supported as of October 23, 2019. See the Splunk Software Support Policy for details. For information about upgrading to a supported version, see How to upgrade Splunk Enterprise.
This documentation does not apply to the most recent version of Splunk. Click here for the latest version.
Download topic as PDF

Get the tutorial data into Splunk

This topic walks you through downloading the tutorial data set and adding it into Splunk Enterprise. You can complete this tutorial in several hours, but if you want to spread it out over a few days, download a new sample data file and add it.

Download the sample data file

Download but do not uncompress the tutorial data file here:


This tutorial data file is updated daily and shows events timestamped for the previous 7 days.

Add the sample data into Splunk Enterprise

1. Log into Splunk.

If you're not in Splunk Home, click the Splunk logo on the Splunk bar.

2. In the Data panel, click Add data.

The Add data window opens, which provides a list of data types and sources that you can select from. The tutorial data is a compressed file source.

Tutorials add data.png

3. Under Or Choose a Data Source, click From files or directories.

The Data preview dialog box opens, which lets you preview the data before you add it to a Splunk index. For this tutorial, you do not do this. To read more about data preview, see "Overview of data preview" in the Getting Data In manual.

Tutorials skip data preview.png

4. Select Skip preview and click Continue.

This takes you to Add new Fields & directories view, where you tell Splunk how to access the data source.

5. Under Source, select Upload and index a file and browse for the tutorial data file, tutorialdata.zip.

Tutorials upload file.png

The source of a file or directory is the full pathname to the file or directory.

6. Select More settings.

The More settings option lets you override the default settings for Host, Source type, and Index. For this tutorial, you need to modify the host settings to assign host names to the events based on the file's location in the compressed file.

6.1. Select Segment in path from the menu.

6.2. Type in 1 for the segment number.

Tutorials host override segment.png

7. Click Save.

A message appears saying the upload was successful.

Tutorials add data success.png

8. Click the Splunk logo on the Splunk bar to return to Home.

The Data panel in Home displays a summary of the data you added. If you do not have other data in your Splunk index, the data panel looks like this:

Tutorial updated data summary.png

Data summary

This compressed tutorial data includes events generated for a fictitious online game store, Buttercup Games. There are five hosts and eight sources. The events represent data from three source types:

  • Apache web server logs
  • Secure server logs
  • Global sales vendors

Next steps

Now that you added the tutorial data, learn about the Search app and start searching the tutorial data.

Last modified on 28 June, 2016
About getting data into Splunk Enterprise
About the Search dashboard

This documentation applies to the following versions of Splunk® Enterprise: 6.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.5, 6.0.6, 6.0.7, 6.0.8, 6.0.9, 6.0.10, 6.0.11, 6.0.12, 6.0.13, 6.0.14, 6.0.15, 6.1.13, 6.1.14

Was this documentation topic helpful?

Enter your email address, and someone from the documentation team will respond to you:

Please provide your comments here. Ask a question or make a suggestion.

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