base/frameworks/sumstats/plugins/sample.zeek

SumStats

Keep a random sample of values.

Namespace:SumStats
Imports:base/frameworks/sumstats/main.zeek

Summary

Redefinitions

SumStats::Calculation: enum
  • SumStats::SAMPLE: Get uniquely distributed random samples from the observation stream.
SumStats::Reducer: record
New Fields:

SumStats::Reducer

num_samples: count &default = 0 &optional

The number of sample Observations to collect.

SumStats::ResultVal: record
New Fields:

SumStats::ResultVal

samples: vector of SumStats::Observation &default = [] &optional

This is the vector in which the samples are maintained.

sample_elements: count &default = 0 &optional

Number of total observed elements.

num_samples: count &default = 0 &optional

SumStats::ResultVal: record
New Fields:

SumStats::ResultVal

samples: vector of SumStats::Observation &default = [] &optional

This is the vector in which the samples are maintained.

sample_elements: count &default = 0 &optional

Number of total observed elements.

num_samples: count &default = 0 &optional

Detailed Interface