REST Resource: projects.locations.instances.logTypes.parserExtensions

Resource: ParserExtension

ParserExtension provides extensibility semantics for a log parser.

JSON representation
{
  "name": string,
  "state": enum (State),
  "create_time": string,
  "log": string,
  "extension_validation_report": string,
  "validation_report": string,
  "state_last_changed_time": string,
  "last_live_time": string,

  // Union field config can be only one of the following:
  "cbn_snippet": string,
  "field_extractors": {
    object (FieldExtractors)
  }
  // End of list of possible types for union field config.
}
Fields
name

string

Output only. Format: projects/{project}/locations/{location}/instances/{instance}/logTypes/{logtype}/parserExtensions/{parserExtension}

state

enum (State)

Output only. The state of the parser extension

create_time

string (Timestamp format)

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: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

log

string (bytes format)

Raw log used to assist the user in creation of augmentation.

A base64-encoded string.

extension_validation_report

string

The latest extension validation report for this extension.

validation_report

string

Output only. The validation report generated during extension validation.

state_last_changed_time

string (Timestamp format)

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: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

last_live_time

string (Timestamp format)

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: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

Union field config. One of parser config-based normalizer (CBN) snippet or field extractors. config can be only one of the following:
cbn_snippet

string (bytes format)

Parser config could be a cbn snippet.

A base64-encoded string.

field_extractors

object (FieldExtractors)

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

activate

ActivateParserExtension switches the customer to use requested parser extension, This will set the extension state to ACTIVE.

create

Create a parser extension.

delete

Delete a parser extension.

get

Get a parser extension.

list

List all parser extensions.