Splunk Search

Lookup query

Tridi123
New Member

hi
for this ..|lookup keywords match output keyword
where keywords.csv is my lookup whwre i need to put in in mycompuetr actually i wiil ket it in
D drive in my computer so do i nedd to change in any configuration files for this.
Can any one help on this?

Tags (1)
0 Karma

MHibbin
Influencer

You should place the lookup file in your app directory, so for example if you are just using the default "search" app you would put it in (assuming Splunk is installed in "Program Files" under D drive:

 D:\Program Files\Splunk\etc\apps\search\lookups\keywords.csv

Or if you have set up your own app, for example "myApp", you would put it:

 D:\Program Files\Splunk\etc\apps\myApp\lookups\keywords.csv

You will also need to create/edit a transforms.conf file in the same directory to tell Splunk to use the lookup:

 D:\Program Files\Splunk\etc\apps\<appName>\local\transforms.conf

And with the contents of (where the file is new):

[keywords]
filename = keywords.conf

You do not need to restart Splunk for this usually.

Hope this helps

Ayn
Legend

...what? Please:
1. Use a spellchecker.
2. State clearly what you're trying to do and why, what your current results are, and what you need help with.

Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...