Splunk Search

Is it possible to have a KV Store time-based lookup?

TiagoMatos
Path Finder

Hi,

I have a kvstore defined based on a collection

collections.conf

[app2]

transforms.conf

[business_id2]
collection = app2
external_type = kvstore
fields_list = _key, LAST_UPD, MY_TIME, PROPERTY, ROW_ID, TYPE, VALUE
max_matches = 1000
min_matches = 0
min_offset_secs = 0
time_field = MY_TIME

I also have another lookup table that has the exact same results BUT IS NOT A KVSTORE (it is file-based):

[Business_ID]
filename = Business_ID.csv
max_matches = 1000
min_matches = 0
min_offset_secs = 0
time_field = MY_TIME
time_format = %Y-%m-%d %H:%M:%S

When doing something like

index=A | lookup business_id2 ROW_ID OUTPUT VALUE 

I get no VALUE column.

When doing:

index=A | lookup Business_ID ROW_ID OUTPUT VALUE 

I get the VALUE column....

SO it seems a KV Store doesn't have Time Based capability... it it true?

Thanks

Tags (3)

kbrown_splunk
Splunk Employee
Splunk Employee

Check this to see if it helps. At least it answers yes to time based kvstore lookups
https://answers.splunk.com/answers/209693/time-based-lookups-and-kvstore.html

0 Karma

TiagoMatos
Path Finder

Hi,

That issue is the exact same I have, and it appears there is still no answer for that....

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...