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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...