To view the uploaded lookup table file in Splunk, you can access it through the Splunk Web interface. Here's how you can locate, view, and manage your lookup table files:


Accessing Uploaded Lookup Table Files via Splunk Web Interface

Step 1: Log In to Splunk Web

Step 2: Navigate to Lookup Management

Step 3: Access Lookup Table Files

Step 4: Find and View Your Lookup File

Step 5: Check Permissions (If Necessary)


Alternative: Viewing Lookup Contents Using SPL

You can also view the contents of the lookup table file directly in Splunk using the inputlookup command.

Syntax:

| inputlookup <lookup_table_name>

Example:

If your lookup file is named prices_lookup.csv, run:

| inputlookup prices_lookup.csv

Steps:

  1. Go to the Search & Reporting app.
  2. Enter the inputlookup command with your lookup file name.
  3. Run the search to display the contents of the lookup table within Splunk.

Viewing Lookup Files on the File System (Advanced)

If you have access to the Splunk server's file system, you can find lookup files in the following directory:

$SPLUNK_HOME/etc/apps/<app_name>/lookups/

Notes:


Summary


Example Scenario

Suppose you've uploaded a lookup file named prices_lookup.csv and want to view its contents.

  1. Using Splunk Web:

  2. Using SPL:


Additional Tips


By following these steps, you can easily view and manage your uploaded lookup table files in Splunk.