ParserTestRunInput
is used
to input data for a parser test run.
Table: ParserTestRunInput
Parameter | Type | Required | Default | Stability | Description |
---|---|---|---|---|---|
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: Mar 28, 2025 | |||||
fieldsToBeRemovedBeforeParsing | [string] | yes | Long-Term | A list of fields that will be removed from the event before it's parsed. These fields will not be included when calculating usage. | |
fieldsToTag | [string] | yes | Long-Term | The fields that are used as tags. | |
languageVersion | LanguageVersionInputType | yes | {name: ”legacy“} | Long-Term | A specific language version. See LanguageVersionInputType . |
parserName | string | yes | Long-Term | The name of the parser. This is part of the test output in the #type field in each parsed event. | |
repositoryName | repoOrViewName | yes | Long-Term | The name of the repository in which the parser is located. This is part of the test output in the #repo field in each parsed event. The repoOrViewName is a scalar. | |
schema | yaml | Long-Term | The YAML specification of schema by which to validate parser output. | ||
script | string | yes | Long-Term | The parser script that is executed for every incoming event. | |
testCases | [ParserTestCaseInput ] | yes | Long-Term | The test cases to run the parsing script against. See ParserTestCaseInput . |