Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How to get unlimited number of events using Splunk Java search API?

$
0
0
Hi, I am trying to search using Splunk Java search API. I have seen there is a limit in number of events retrieved using Splunk search job. By default 100 and we can create up to 2 power 31 minus 1 or(2147483647), as below. val jobRes = new JobResultsArgs(); jobRes.setCount(2147483647) val resultsNormalSearch = job.getResults(jobRes); Is there a way, to specify NO LIMIT on results? I tried -1, but it didn't work.

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>