Splunk Search

Is it possible to set a sampling ratio directly in Search Processing Language?

vRman
Engager

Is there a way to set sampling ratio directly in an SPL query rather than in the GUI or Simple XML ?

0 Karma
1 Solution

pgreer_splunk
Splunk Employee
Splunk Employee

Not at this time, however there is a bit of a work around to simulate sampling within the search.

See the answers thread on that subject: here

View solution in original post

pgreer_splunk
Splunk Employee
Splunk Employee

Not at this time, however there is a bit of a work around to simulate sampling within the search.

See the answers thread on that subject: here

Get Updates on the Splunk Community!

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...