Knowledge Management

How do I bulk load a kvstore without having to have a curl command for each entry?

brent_weaver
Builder

I finally got my head wrapped around kvstore and how I can benefit from it. I have a bunch of data to load into a kvstore, how do I bulk load it without having to have a curl command for each entry?

0 Karma

woodcock
Esteemed Legend

There is an app to help you with this, Lookup File Editor App for Splunk Enterprise:

https://splunkbase.splunk.com/app/1724/

0 Karma

kmugglet
Communicator

Best idea would be to save your data as a CSV file.

Do an inputlookup for that file and an outputlookup to your kvstore.


| inputlookup data.csv
| outputlookup kvstore

That way you can do any extra ETL either in the CSV file, or between the inputlookup and outputlookup stages

Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...