The expect filter plugin allows you to validate that records match certain criteria in their structure, like validating that a key exists or it has a specific value.
The following page just describes the configuration properties available, for a detailed explanation of its usage and use cases, please refer the following page:
The plugin supports the following configuration parameters:
Check if a key with a given name exists in the record.
Check if a key does not exist in the record.
check that the value of the key is NULL.
check that the value of the key is NOT NULL.
check that the value of the key equals the given value in the configuration.
action to take when a rule does not match. The available options are
As mentioned on top, refer to the following page for specific details of usage of this filter: