Deployment Architecture

error on search head

DTERM
Contributor

I've setup a search head with an application I've wrote that references a remote indexer. The application seems to work. However, I have the following error on the search head that does not appear on the indexer when I run the same app.

[splunk] The lookup table 'wksh_action_lookup' does not exist. It is referenced by configuration 'syslog'.

How do I resolve this error? Thanks.

Tags (2)
0 Karma
1 Solution

piebob
Splunk Employee
Splunk Employee

the issue is most likely that the lookup table that your app is using isn't available to all the components involved in your app:

you should be able to resolve this by adding

[lookups]
export=system

to the default.meta file (usually in $SPLUNK_HOME/etc/apps/<app_name>/metadata/ ) for the app. be aware that this will make the lookup table available globally, which might not be what you want; you can scope this setting down as desired.

there is some documentation about app object permissions here:

http://docs.splunk.com/Documentation/Splunk/latest/Developer/Step5SetPermissions#make_objects_global...

View solution in original post

piebob
Splunk Employee
Splunk Employee

the issue is most likely that the lookup table that your app is using isn't available to all the components involved in your app:

you should be able to resolve this by adding

[lookups]
export=system

to the default.meta file (usually in $SPLUNK_HOME/etc/apps/<app_name>/metadata/ ) for the app. be aware that this will make the lookup table available globally, which might not be what you want; you can scope this setting down as desired.

there is some documentation about app object permissions here:

http://docs.splunk.com/Documentation/Splunk/latest/Developer/Step5SetPermissions#make_objects_global...

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI &#43; Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...

Splunk Technical Support Is Moving to Cisco Support Tools

Introduction Splunk technical support is transitioning to Cisco’s support environment. This change brings ...