Splunk Search

The lookup table '...' does not exist or is not available.

khsewell
Engager

Hi!,

This is a contrived example, but could you help me understand why this completes (and functions as expected):

 

| makeresults format=csv data="filename
calc.exe" | lookup isWindowsSystemFile_lookup filename

 

Whilst this:

 

index=sandbox | eval filename="calc.exe" | lookup isWindowsSystemFile_lookup filename

 

throws an error with message:

 

... The lookup table 'isWindowsSystemFile_lookup' does not exist or is not available.

 

The isWindowsSystemFile_lookup is provided by Splunk Security Essentials.

Hmm, I'm on splunk cloud.

Thanks,

Kevin

 

 

Labels (1)
0 Karma
1 Solution

khsewell
Engager

Thanks,
That made me dig in the right place, leading to ...
https://splunk.my.site.com/customer/s/article/User-is-getting-an-error-message-when 

Essentially,
... it was found that all the lookups present in the app “Splunk_Security_Essentials” are added in denylist by default.

Resolution to the error is to add local=true at the end of SPL command as below:
... | lookup isWindowsSystemFile_lookup filename local=true

The indexers need a read-only copy of the knowledge bundle in order to run searches. Splunk Security Essentials brings a significant amount of data that does not need to be copied to the search heads. Adding "local=true", forces the lookup to run on the search head and not on any remote peer.

That's ok for my purposes I think.

View solution in original post

khsewell
Engager

Thanks,
That made me dig in the right place, leading to ...
https://splunk.my.site.com/customer/s/article/User-is-getting-an-error-message-when 

Essentially,
... it was found that all the lookups present in the app “Splunk_Security_Essentials” are added in denylist by default.

Resolution to the error is to add local=true at the end of SPL command as below:
... | lookup isWindowsSystemFile_lookup filename local=true

The indexers need a read-only copy of the knowledge bundle in order to run searches. Splunk Security Essentials brings a significant amount of data that does not need to be copied to the search heads. Adding "local=true", forces the lookup to run on the search head and not on any remote peer.

That's ok for my purposes I think.

richgalloway
SplunkTrust
SplunkTrust

The first example runs entirely on the Search Head where the lookup definition is available.

The second example runs on the indexers, which apparently is unaware of the lookup definition.  Either the app defining the lookup is not installed on the indexers or the lookup file is blocked from the knowledge bundle ([replicationDenyList] in distsearch.conf).

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

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

Splunk Education Goes to Washington | Splunk GovSummit 2024

If you’re in the Washington, D.C. area, this is your opportunity to take your career and Splunk skills to the ...