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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...