Parser is a datatype for a configured parser for incoming data. This is a key datatype that's used by several mutation and query fields.

Table: Parser

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
createdInfoAssetCommitMetadata  Long-Term Metadata related to the creation of the parser
descriptionString  Long-Term The description of the parser.
displayNameStringyes Long-Term The full name of the parser including package information if part of an application.
fieldsToBeRemovedBeforeParsingStringyes 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.
fieldsToTagStringyes Long-Term Fields that are used as tags.
idStringyes Long-Term The id of the parser.
isBuiltInBooleanyes Long-Term True if the parser is one of LogScale's built-in parsers.
isOverriddenBooleanyes Short-Term True if the parser is one of LogScale's built-in parsers, and it is overridden by a custom parser.
languageVersionLanguageVersionyes Long-Term  
modifiedInfoAssetCommitMetadata  Long-Term Metadata related to the latest modification of the parser
nameStringyes Long-Term Name of the parser.
originDisplayStringStringyes Short-Term The origin of a parser. Can either be "Built in", "Local" or a package.
overridesBuiltInParserBooleanyes Short-Term True if the parser is overrides one of LogScale's built-in parsers.
packagePackageInstallation  Long-Term  
packageIdVersionedPackageSpecifier  Long-Term  
scriptStringyes Long-Term The parser script that is executed for every incoming event.
testCasesParserTestCaseyes Long-Term Test cases that can be used to help verify that the parser works as expected.
yamlTemplateYAMLyes Long-Term A template that can be used to recreate the parser.