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

Table: UpdateParserInputV2

ParameterTypeRequiredDefaultStabilityDescription
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: 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.