UpdateParserInputV2 is used to provide input for updating a parser.

Table: UpdateParserInputV2

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: Sep 23, 2024
fieldsToBeRemovedBeforeParsing[string]yes A list of fields that will be removed from the event before it's parsed. They won't be included when calculating usage.
fieldsToTag[string]yes The fields that are used as tags.
idstringyes The unique identifier of the parser to update.
namestring  The name to use for the parser.
repositoryNamerepoOrViewNameyes The repository where the parser is located. repoOrViewName is a scalar.
scriptUpdateParserScriptInput  Input for updating the parser script. See UpdateParserScriptInput.
testCases[ParserTestCaseInput]yes Test cases that can be used to help verify that the parser works as expected. See ParserTestCaseInput.