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 |
---|
{ "log_entry_count": string, "successfully_normalized_log_count": string, "failed_log_count": string, "invalid_log_count": string, "on_error_count": string, "event_count": string, "generic_event_count": string, "event_category_counts": { string: string, ... }, "drop_tag_counts": { string: string, ... }, "max_parse_duration": string, "avg_parse_duration": string, "normalization_percentage": string, "generic_event_percentage": string } |
Fields | |
---|---|
log_entry_count |
Count of log entries parsed. |
successfully_normalized_log_count |
Count of log entries which successfully created valid events. |
failed_log_count |
Count of log entries which failed to create a valid event. |
invalid_log_count |
Count of log entries which were skipped in parsing because they were invalid. |
on_error_count |
Count of times "on_error" was encountered while parsing. An |
event_count |
Count of events generated. |
generic_event_count |
Count of events created of type GENERIC_EVENT. |
event_category_counts |
Stats to account for events created. It stores invalid event reasons and the count corresponding to it. An object containing a list of |
drop_tag_counts |
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 |
max_parse_duration |
Max time taken to parse a log entry. A duration in seconds with up to nine fractional digits, ending with ' |
avg_parse_duration |
Average parse time taken to parse a log entry. A duration in seconds with up to nine fractional digits, ending with ' |
normalization_percentage |
Percentage of log lines that successfully generated at least 1 valid event. |
generic_event_percentage |
Percentage of events that have event_type as GENERIC_EVENT. |
ParsingValidationErrors
Validation Errors encountered during parser/extension creation.
JSON representation |
---|
{ "parsing_errors": [ string ], "invalid_config_error": string, "has_more_parsing_error": boolean } |
Fields | |
---|---|
parsing_errors[] |
Any parsing errors encountered while parsing a log entry, this has cap of size 10. |
invalid_config_error |
Error for invalid config. |
has_more_parsing_error |
True, if there are more validation errors. |
Methods |
|
---|---|
|
Get a validation report. |