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!

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 ...