All Apps and Add-ons

Does Splunk App for Lookup Editing automatically find all .csv files that are lookups?

Abass42
Path Finder

I had a question about the csv lookup app for Splunk. I recently installed the app on one of our dev search heads and it works great. By default, it stores and finds lookups from the /export/opt/splunk/etc/apps/<App-Name>/lookups, and it works great for lookups in that directory. With our production environment, we have lookups spread around the environment. 

From my assumptions, I couldnt quite find the answer in the App docs, im assuming the app works alongside the built in lookups tab in splunk. If Splunk itself is seeing a lookup file, no matter where it is, whether its under /apps/<appname>/ or under /users/<username> , Then the lookup csv app can also read it and edit it. 

My question is, is there a file within the app where we have to specify where the lookup files are and where to point to find them, or does the app automatically seek out and finds all .csv files that are lookups. 

 

Thanks for any help 🙂

Labels (2)
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @Abass42,

when you create a lookup, you have to specify the destination app.

In addition I hint to give to your dashboards Global Sharing level, so you don't have problems to reach your lookup.

Then if you want to reach the lookup from an App menu, using the Lookup Editor App, you have to insert the full link in the menu, something like this:

<a href="/app/lookup_editor/lookup_edit?owner=nobody&amp;namespace=your_app&amp;lookup=your_lookup.csv&amp;type=csv">your_lookup</a>

Ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @Abass42,

when you create a lookup, you have to specify the destination app.

In addition I hint to give to your dashboards Global Sharing level, so you don't have problems to reach your lookup.

Then if you want to reach the lookup from an App menu, using the Lookup Editor App, you have to insert the full link in the menu, something like this:

<a href="/app/lookup_editor/lookup_edit?owner=nobody&amp;namespace=your_app&amp;lookup=your_lookup.csv&amp;type=csv">your_lookup</a>

Ciao.

Giuseppe

Get Updates on the Splunk Community!

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...