AlertPolicyConditionConditionMatchedLog

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

Constructors

Link copied to clipboard
constructor(filter: String, labelExtractors: Map<String, String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A logs-based filter.

Link copied to clipboard

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.