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

Table: UpdateParserInputV2

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
fieldsToBeRemovedBeforeParsingStringyes   A list of fields that will be removed from the event before it's parsed. These fields will not be included when calculating usage.
fieldsToTagStringyes   Fields that are used as tags.
idStringyes   The ID of the parser to update.
nameString    The name to use for the parser.
repositoryNameRepoOrViewNameyes   The repository where the parser lives.
scriptUpdateParserScriptInput    Input for updating the parser script.
testCasesParserTestCaseInputyes   Test cases that can be used to help verify that the parser works as expected.