Sampling function filters out events based on an expression and a sampling rate.
Filter: Filter expression (JS) that selects data to be fed through the function. Defaults to empty - all events will be evaluated.
Description: Simple description about this function. Defaults to empty.
Final: If true, stops data from being fed to the downstream functions. Defaults to
Sampling Rules: Events matching these rules will be sampled at the given rate
Filter: Filter expression matching events to be sampled. Use
true to match all.
Sampling Rate: Integer, picks one out of N matching events.
See Sampling for examples.