Cribl - Docs

Getting started with Cribl LogStream

Questions? We'd love to help you! Meet us in #cribl (sign up)
Download manual as PDF




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

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.


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.