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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...