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

This datatype is used by ParserTestCaseAssertionsForOutput, which is in turn used by ParserTestCase — which is used by both UnsavedParser and Parser.

Table: ParserTestCaseOutputAssertions

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
Some input parameters may be required, as indicated in the Required column. For return values, this indicates that you are assured a value if the field is requested for the results. 
Table last updated: Oct 14, 2026 
fieldsHaveValuesFieldHasValueyes Long-Term The 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.
fieldsNotPresentStringyes Long-Term The names of fields which should not be present on the output event.