Splunk Search

Why kv store lookup is much slower than csv lookup?

iKate
Builder

Hi everyone!
We've moved some of heavy lookups to kv store and now they work faster and more stable. But one of them barely can calculate something, being inserted in a search with lookup even on 24 hour span, while it easily loads with inputlookup.

Accelerated field is a hexadecimal uid of 16 symbols. To make it easier for splunk to accelerate it, we converted it in a bigint and accelerated on this new field. Still the same slowness. It was rewritten but it didn't help. And its csv version lookups much faster, but we had some issues with updating large lookups so we moved to kv.

Slow-lookuped kv has 10mln entries and around 5 fields.
Fast-lookuped kv with 40mln entries and 10 fields works fine (with accelerated field also converted from hex to bigint)

Server: 251.81 GB Physical Memory, 20 CPU Cores

in limits.conf:
max_threads_per_outputlookup = 10

in server.conf:
oplogSize = 2000

What can cause such slowness? What params can we tune?

Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...