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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...