UnsavedParser is a datatype for the contents of a parser YAML template in structured form. The parser needs to be persisted before it can be deployed.

Table: UnsavedParser

ParameterTypeRequiredDefaultDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Oct 4, 2024
fieldsToBeRemovedBeforeParsing[string]yes A list of fields that will be removed from the event before it's parsed. These fields aren't included om usage calculation.
fieldsToTag[string]yes A list of fields that are used as tags.
namestringyes The name of the unsaved parser.
scriptstringyes The parser script that is executed for each incoming event.
testCases[ParserTestCase]yes Test cases that can be used to help verify that the parser works as expected. See ParserTestCase.