Resource: ParserExtension
ParserExtension provides extensibility semantics for a log parser.
JSON representation |
---|
{ "name": string, "state": enum ( |
Fields | |
---|---|
name |
Output only. Format: projects/{project}/locations/{location}/instances/{instance}/logTypes/{logtype}/parserExtensions/{parserExtension} |
state |
Output only. The state of the parser extension |
create_time |
Output only. The time the parser extension was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
log |
Raw log used to assist the user in creation of augmentation. A base64-encoded string. |
extension_validation_report |
The latest extension validation report for this extension. |
validation_report |
Output only. The validation report generated during extension validation. |
state_last_changed_time |
The time the config state was last changed. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
last_live_time |
The time the config was last serving live traffic. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Union field config . One of parser config-based normalizer (CBN) snippet or field extractors. config can be only one of the following: |
|
cbn_snippet |
Parser config could be a cbn snippet. A base64-encoded string. |
field_extractors |
Parser config could be a field extractor. |
State
State of parser extension.
Enums | |
---|---|
STATE_UNSPECIFIED |
The state for this parser extension was not specified. |
NEW |
The parser extension has been newly submitted and is waiting to be validated. |
VALIDATING |
The parser extension is currently going through the validation pipeline. |
LIVE |
The parser extension is live in production. Only configs that have successfully passed the validation stage will be set to LIVE. |
REJECTED |
Validation completed, but the parser extension was rejected with errors. |
INTERNAL_ERROR |
An error occurred when processing this parser extension. |
VALIDATED |
Extension is validated. |
ARCHIVED |
Extension is archived and is no more being used. |
Methods |
|
---|---|
|
ActivateParserExtension switches the customer to use requested parser extension, This will set the extension state to ACTIVE. |
|
Create a parser extension. |
|
Delete a parser extension. |
|
Get a parser extension. |
|
List all parser extensions. |