Knowledge Management

do we need to automate KV store look ups?/

ramarcsight
Explorer

I am currently using CSV but due to the frequent activity of CSV which is there in my Search head, there is a bundle replication problem to all indexers under it, so I am thinking to move to KV store lookup.

I got the basic idea is to create a collection in the collection.conf

so my question: I am creating a collection on SH.

if I create a collection in collections.conf do I need to restart the Splunk ES? I have one SH and few indexers under it in a cluster.

and create a collection is enough or do I need to automate it?

what is the difference between normal lookup and automate lookup?

Will kv store will help me solve the problem as I am writing and deleting from the csv more frequently and consurrently ??

Tags (2)
0 Karma

kashz
Explorer

If I understand your problem statement, its basically being able to decide whether to use CSV vs KV Stores. For more clarity, take a look at this Splunk Documentation: http://dev.splunk.com/view/SP-CAAAEY7

Index based approach: Questions that I faced during a similar dilemma was being able to retrieve latest scores from the index, one solution is to use |stats latest(field1) by field2,

But KV stores are the best approach in my personal opinion,
Normal Lookup: So you can create a lookup file (kv-store) and create a lookup definition in the settings>lookup>lookup definitions view. But that lookup is not being applied. You need to apply that lookup say, to a data model for example.

Automated lookup: Once you define a lookup, create a lookup definition and then define an automatic lookup in the settings>lookup>automatic lookups, it applied INSTANTLY to the data that splunk ingests. PS. While creating an automatic lookup, you actually specify to what it applies sourcetype or host or source allowing splunk to use that information and apply your lookup to the data when it is being ingested.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...