Splunk Search

In Splunk Java SDK, is there any way to provide Event Sampling?

ashiqm
Explorer

While making Splunk search using Java SDK, is there any way to provide event sampling value into the query.

There are some indexes with the large amount of data, which takes a long time to return the job. Please suggest a way to deal this issue.

Tags (1)
0 Karma
1 Solution

ashiqm
Explorer

I found a way to set it, jobArgs.add("sample_ratio", 1000); this worked for me

View solution in original post

0 Karma

ashiqm
Explorer

I found a way to set it, jobArgs.add("sample_ratio", 1000); this worked for me

0 Karma
Get Updates on the Splunk Community!

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...

4 Ways the Splunk Community Helps You Prepare for .conf25

.conf25 is right around the corner, and whether you’re a first-time attendee or a seasoned Splunker, the ...