Other Tools in Stream
Along with the functions we used in this sandbox, Stream has a few other functions worth mentioning:
Sampling/Dynamic Sampling
To count a type of event, you can use Sampling or Dynamic Sampling functions to sample every n events. Sampled events are injected with a sampled
field containing a count of the number of events each one represents.
Suppression
You can suppress events so that they do not enter your downstream systems. Events can be dropped or marked as suppressed with suppress=1
. You can drop the events later in a Pipeline or in a destination-conditioning Pipeline.
Let's practice setting up metrics using another type of data now that you've set up metrics from a log source...