UpdateParserInputV2 is an input datatype for updating a parser. It's used by the updateParserV2() mutation field.

Table: UpdateParserInputV2

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 
fieldsToBeRemovedBeforeParsingStringyes Long-Term A list of fields that will be removed from the event before it's parsed. They won't be included when calculating usage.
fieldsToTagStringyes Long-Term The fields that are used as tags.
idStringyes Long-Term The unique identifier of the parser to update.
nameString  Long-Term The name to use for the parser.
repositoryNameRepoOrViewNameyes Long-Term The repository where the parser is located. RepoOrViewName is a scalar.
scriptUpdateParserScriptInput  Long-Term Input for updating the parser script. See UpdateParserScriptInput.
testCasesParserTestCaseInputyes Long-Term Test cases that can be used to help verify that the parser works as expected. See ParserTestCaseInput.