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

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!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...