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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...