Splunk Search

Lookup CSV location

tanyongjin
Explorer

Hi,

I would like to ask if the CSV file that is being referenced to in the search command can be from any directory in the machine or must it be within the Splunk folder?

Tags (1)
1 Solution

adonio
Ultra Champion

hello tanyongjin,

lookup up files have to be under splunk structure
when you upload via gui, you pick the app that the lookup file will be under
when you create one with | outpulookup command it goes to system
Windows location
$SPLUNK_HOME\Splunk\etc\system\lookups
$SPLUNK_HOME\etc\YourAPP\search\lookups
Nix location
$SPLUNK_HOME/Splunk/etc/system/lookups
$SPLUNK_HOME/etc/YourApp/apps/search\lookups

hope it helps

View solution in original post

adonio
Ultra Champion

hello tanyongjin,

lookup up files have to be under splunk structure
when you upload via gui, you pick the app that the lookup file will be under
when you create one with | outpulookup command it goes to system
Windows location
$SPLUNK_HOME\Splunk\etc\system\lookups
$SPLUNK_HOME\etc\YourAPP\search\lookups
Nix location
$SPLUNK_HOME/Splunk/etc/system/lookups
$SPLUNK_HOME/etc/YourApp/apps/search\lookups

hope it helps

tanyongjin
Explorer

hi adonio,

Thank you for your reply. CSV files can be uploaded via gui to be referenced? [inputcsv function]

I was thinking of doing copy-paste but due to administrator permissions, I am have problems accessing the directory.

Could inputlookup work as an alternative?

Cheers.

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...