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. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. 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. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
last_live_time |
The time the config was last serving live traffic. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. 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. |
dynamic_parsing |
Parser config could be a dynamic parsing config. |
DynamicParsingConfig
A representation of a parser extension as dynamic parsing config.
JSON representation |
---|
{
"opted_fields": [
{
object ( |
Fields | |
---|---|
opted_fields[] |
Optional. List of fields to be parsed. |
LogField
A representation of a log field.
JSON representation |
---|
{ "path": string, "sample_value": string } |
Fields | |
---|---|
path |
Optional. Path of the log field. |
sample_value |
Optional. Sample value of the log field. |
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. |