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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...