The UnsavedParser datatype includes various settings.

Table: UnsavedParser

ParameterTypeRequired[a]DefaultDescription
namestringyes The name of the unsaved parser.
scriptstringyes The parser script that is executed for every incoming event.
fieldsToTag[string]yes List of fields that are used as tags.
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.
testCases[ParserTestCase]yes Test cases that can be used to help verify that the parser works as expected. See Dashboard.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.