Resource: ValidationReport
ValidationReport describes the validation status of a parser/extension when it was created.
JSON representation |
---|
{ "name": string, "verdict": enum ( |
Fields | |
---|---|
name |
Output only. name of the validation report resource. |
verdict |
Verdict of the validation. |
stats |
Stats of the validation. |
error |
Errors occurred during validation. |
Verdict
Verdict represents verdict of the parser validation.
Enums | |
---|---|
VERDICT_UNSPECIFIED |
The verdict is unspecified. |
PASS |
The validation has passed. |
FAIL |
The validation has failed. |
Stats
Stats represents the statistics generated by running the parser/extension over a set of sample logs.
JSON representation |
---|
{ "logEntryCount": string, "successfullyNormalizedLogCount": string, "failedLogCount": string, "invalidLogCount": string, "onErrorCount": string, "eventCount": string, "genericEventCount": string, "eventCategoryCounts": { string: string, ... }, "dropTagCounts": { string: string, ... }, "maxParseDuration": string, "avgParseDuration": string, "normalizationPercentage": string, "genericEventPercentage": string } |
Fields | |
---|---|
logEntryCount |
Count of log entries parsed. |
successfullyNormalizedLogCount |
Count of log entries which successfully created valid events. |
failedLogCount |
Count of log entries which failed to create a valid event. |
invalidLogCount |
Count of log entries which were skipped in parsing because they were invalid. |
onErrorCount |
Count of times "on_error" was encountered while parsing. An |
eventCount |
Count of events generated. |
genericEventCount |
Count of events created of type GENERIC_EVENT. |
eventCategoryCounts |
Stats to account for events created. It stores invalid event reasons and the count corresponding to it. An object containing a list of |
dropTagCounts |
Stats to account for number of logs dropped. When we drop a log line from parsing, we specify a drop tag. We tag it to identify the reason of drop. An object containing a list of |
maxParseDuration |
Max time taken to parse a log entry. A duration in seconds with up to nine fractional digits, ending with ' |
avgParseDuration |
Average parse time taken to parse a log entry. A duration in seconds with up to nine fractional digits, ending with ' |
normalizationPercentage |
Percentage of log lines that successfully generated at least 1 valid event. |
genericEventPercentage |
Percentage of events that have eventType as GENERIC_EVENT. |
ParsingValidationErrors
Validation Errors encountered during parser/extension creation.
JSON representation |
---|
{ "parsingErrors": [ string ], "invalidConfigError": string, "hasMoreParsingError": boolean } |
Fields | |
---|---|
parsingErrors[] |
Any parsing errors encountered while parsing a log entry, this has cap of size 10. |
invalidConfigError |
Error for invalid config. |
hasMoreParsingError |
True, if there are more validation errors. |
Methods |
|
---|---|
|
Get a validation report. |