Splunk Search

Automatic lookups showing up in other apps

ghnwmlguy
Explorer

I have configured automatic lookups with the intention of using it in only one app (my own ossec app). However, when I run searches in another app an error appears:

The lookup table 'ostype' does not exist. It is referenced by configuration 'ossec'.

How can I make sure that this Automatic lookup only occurs in my ossec app.

Tags (1)
0 Karma
1 Solution

ewoo
Splunk Employee
Splunk Employee

There is a limitation in 4.1.0 through 4.1.2 that prevents un-exporting of automatic lookups from working properly. This means you cannot make an automatic lookup available only in its owning app if you are exporting all other automatic lookups globally.

For internal Splunk folks, this is filed as SPL-31216.

The fix has landed and will be available in an upcoming 4.1.x release.

View solution in original post

0 Karma

ewoo
Splunk Employee
Splunk Employee

There is a limitation in 4.1.0 through 4.1.2 that prevents un-exporting of automatic lookups from working properly. This means you cannot make an automatic lookup available only in its owning app if you are exporting all other automatic lookups globally.

For internal Splunk folks, this is filed as SPL-31216.

The fix has landed and will be available in an upcoming 4.1.x release.

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

You should make sure that the props that defines the lookup on the sourcetype is not exported globally. I believe (though I'm not certain) that this is visible in Manager. However, if not, it will be set in the etc/apps/ossec/metadata/*.meta file(s).

0 Karma

ghnwmlguy
Explorer

Found that I could change it from 'system' to 'none' but that did not work. I did find that if I make the actual files available to all apps (through the manager) the errors would go away. That does not seem right though.

0 Karma

ghnwmlguy
Explorer

I found that props was:
export = system

Not sure what the value would need to be to make it just within the app.

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

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 ...