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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...