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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...