labelExtractors property

Map<String, String>? labelExtractors
getter/setter pair

A map from a label key to an extractor expression, which is used to extract the value for this label key.

Each entry in this map is a specification for how data should be extracted from log entries that match filter. Each combination of extracted values is treated as a separate rule for the purposes of triggering notifications. Label keys and corresponding values can be used in notifications generated by this condition.Please see the documentation on logs-based metric valueExtractors (https://cloud.google.com/logging/docs/reference/v2/rest/v2/projects.metrics#LogMetric.FIELDS.value_extractor) for syntax and examples.

Optional.

Implementation

core.Map<core.String, core.String>? labelExtractors;