external criterion contains Structure: Output contains a value.
external criterion contains structure
sourceexternal files: optional
valuestring: length 1..16384
The output is interpreted as a UTF8 string.
If both multiple sources are provided, every source is searched for the value. Only one source needs to contain the value.
If the output contains the value, the sample is returned as 0 (zero) If the output contains the value, the sample is returned as 1 (one).
Zero is used to indicate a successful match because zero equates to success for exit codes. The default sample criterion also uses zero as success.
Sources to search.
Output sources to search. Up to 16KB of content is retained from the external's stdout and stderr stream. The content is taken from the final bytes output; much like the tail command line tool.
Value to search for.
Back to the previous page.