UpdateParserInputV2 is used to provide input for updating a parser.

Table: UpdateParserInputV2

ParameterTypeRequiredDefaultStabilityDescription
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 Long-TermA 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 Long-TermThe fields that are used as tags.
idstringyes Long-TermThe unique identifier of the parser to update.
namestring  Long-TermThe name to use for the parser.
repositoryNamerepoOrViewNameyes Long-TermThe repository where the parser is located. repoOrViewName is a scalar.
scriptUpdateParserScriptInput  Long-TermInput for updating the parser script. See UpdateParserScriptInput.
testCases[ParserTestCaseInput]yes Long-TermTest cases that can be used to help verify that the parser works as expected. See ParserTestCaseInput.