Interface MonitoringAlertPolicyConditionsConditionMatchedLog

    • Method Detail

      • getFilter

        @Stability(Stable)
        @NotNull
        String getFilter()
        A logs-based filter.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#filter MonitoringAlertPolicy#filter}

      • getLabelExtractors

        @Stability(Stable)
        @Nullable
        default Map<String,​String> getLabelExtractors()
        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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#label_extractors MonitoringAlertPolicy#label_extractors}