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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...