Splunk Dev

Best way to Update KV Store with Java SDK

blablabla
Path Finder

Hello,

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:

 

 

service.getConfs().get("collections").get("KV_Name")

 

 

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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...