AlertPolicyConditionConditionMatchedLogArgs

data class AlertPolicyConditionConditionMatchedLogArgs(val filter: Output<String>, val labelExtractors: Output<Map<String, String>>? = null) : ConvertibleToJava<AlertPolicyConditionConditionMatchedLogArgs>

Constructors

constructor(filter: Output<String>, labelExtractors: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val filter: Output<String>

A logs-based filter.

Link copied to clipboard
val labelExtractors: Output<Map<String, String>>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): AlertPolicyConditionConditionMatchedLogArgs