> ## Documentation Index
> Fetch the complete documentation index at: https://splunk-training.ipoint-labs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Lab 4: Basic Commands

> Hands-on lab · 45 min · Module 8

List successful purchases and shape the results with fields, table, dedup, rename and sort.

[Launch Lab 4 in the IP Lab Portal](https://labs.intellectualpoint.com/labs/splunk-lab-4-basic-commands)

## What you will do

1. Search for successful purchases
2. Keep only the fields you need with `fields` and `table`
3. Remove duplicates with `dedup`
4. Clean up the output with `rename` and `sort`

## Before you start

Time
45 minutes
*On your own Splunk lab machine*

Role
admin
*Every lab signs you in as admin*

Module
Module 8: Splunk's Search Language
*SPK-101*

* Click **Launch Lab 4 in the IP Lab Portal** to open the lab page, then click **Launch** to start your machine.
* Starting a lab counts as an attempt. Tick off steps in the lab guide to track your progress.
* The course data is `access_30DAY.log`, `linux_s_30DAY.log`, `db_audit_30DAY.csv` and `products.csv`.
* Review the slides in [Module 8 Material](https://splunk-training.ipoint-labs.com/spk-101/module-08/material.md) before you start.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.