Splunk Enterprise

Help with KV Store lookup- How do I resolve this error?

Martin583
Explorer

Can any one help?

 

I am trying to configure a KV Store lookup, I have followed the online documentation:

https://docs.splunk.com/Documentation/Splunk/8.1.3/Knowledge/ConfigureKVstorelookups

and

https://dev.splunk.com/enterprise/docs/developapps/manageknowledge/kvstore/usingconfigurationfiles/

 

However when I try and populate any data into the lookup with an outputlookup command I get:

`Error in 'outputlookup' command:Lookup failed because collection 'asset_enrichment' in app 'search does not exist or user does not have read access.

I have a simple collections.conf

[asset_enrichment]

and my transforms.conf

[asset_enrichment]

external_type = kvstore

case_sensitive_match = false

collection = asset_enrichment

fields_list = _key, asset_enrichment guid, ........ etc

Both deployed to my SHC. My assumption is that they are only required on the SH and not the index cluster due to the KV store living on the SH?

 

I have created a Lookup definitition 

 

But if I look in Settings - Lookups - Lookup table files my look up is not listed at all.

 

Any suggestions?

Labels (2)

manjunathmeti
Champion

hi @Martin583,

You don't need collection and transforms configurations indexer cluster. And KVStore collection definitions exist in  Settings - Lookups - Lookup definitions, not in Lookup table files.

You need to change the permissions of this KVStore lookup definition to share it with other apps (if it is not part of the search app) and read access to users who wants to search it.

 

If this reply helps you, a like would be appreciated.

0 Karma

Martin583
Explorer

Sorry I probably wasn't clear.

I can see the definition in lookup defintions.

But I cannot see any listing of the asset_enrichment lookup anywhere.

 

Also I had already shared the definition globally, when I first saw the error message of the lookup not existing of user had no permission, but it didn't make a difference.

0 Karma

dstaulcu
Builder

if it makes you feel any better I am having the same problem.. Any luck?

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

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