Skip to main content

hash_sample

DEPRECATED

This component is deprecated and will be removed in the next major version release. Please consider moving onto alternative components.

# Common config fields, showing default values
label: ""
hash_sample:
retain_min: 0
retain_max: 10

Fields​

retain_min​

The lower percentage of the sample range.

Type: int
Default: 0

retain_max​

The upper percentage of the sample range.

Type: int
Default: 10

parts​

An array of message indexes within the batch to sample based on. If left empty all messages are included. This field is only applicable when batching messages at the input level.

Type: array
Default: [0]

Alternatives​

All functionality of this processor has been superseded by the bloblang processor.