ParserTestCaseOutputAssertions is a datatype for assertions on the shape of a given test case output event.

Table: ParserTestCaseOutputAssertions

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For return datatypes, this indicates that you must specify which fields you want returned in the results.
Table last updated: Sep 27, 2024
fieldsHaveValues[FieldHasValue]yes Long-TermThe names of fields and their expected value on the output event. These are key-value pairs, and should be treated as a map-construct. See FieldHasValue.
fieldsNotPresent[string]yes Long-TermThe names of fields which should not be present on the output event.