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!

Splunk Training for All: Meet Aspiring Cybersecurity Analyst, Marc Alicea

Splunk Education believes in the value of training and certification in today’s rapidly-changing data-driven ...

Investigate Security and Threat Detection with VirusTotal and Splunk Integration

As security threats and their complexities surge, security analysts deal with increased challenges and ...

Observability Highlights | January 2023 Newsletter

 January 2023New Product Releases Splunk Network Explorer for Infrastructure MonitoringSplunk unveils Network ...