Building for the Splunk Platform

Best way to Update KV Store with Java SDK

Path Finder


I am trying to use the Java SDK to update a Lookup automatically on a daily basis.

My source is a csv File with ca. 22000 rows.

My current approach (and the approach from the other thread in the community) consists of reading the csv row per row and updating the KV Store by search jobs using outputlookup. After some hundreds of lines the server refuses the connection and my searches raise exceptions.

My question is: Is there a smarter way of updating the KV Store (or uploading the csv as whole) using the Java SDK?

I can get information about the KV Store using:






But I did not find a way of accessing the data within the KVStore inside the documentation/javadoc.

Thanks in advance 😊

Labels (3)
0 Karma
Get Updates on the Splunk Community!

Routing Data to Different Splunk Indexes in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. The OpenTelemetry project is the second largest ...

Getting Started with AIOps: Event Correlation Basics and Alert Storm Detection in ...

Getting Started with AIOps:Event Correlation Basics and Alert Storm Detection in Splunk IT Service ...

Register to Attend BSides SPL 2022 - It's all Happening October 18!

Join like-minded individuals for technical sessions on everything Splunk!  This is a community-led and run ...