Version: v2023-01-05 | Includes use: Yes |
---|
Criterion name: Variable Error
Matches any runtime errors that occur on edge servers based on the configuration of a set_variable
behavior. See Support for variables section for more information on this feature.
Default criterion
These samples reflect the criterion's default settings. You can use these as is in your configurations or make adjustments based on the criterion's available options.
data "akamai_property_rules_builder" "variable_error" {
rules_v2023_01_05 {
name = "Variable Error"
comments = "Matches any runtime errors that occur on edge servers."
criterion {
variable_error {
variable_names = ""
result = true
}
}
}
}
"criterion": [
{
"name": "variableError",
"options": {
"variableNames": "",
"result": true
}
}
]
Options
Option | Description |
---|---|
result |
Matches errors for the specified set of
variable_names , otherwise matches errors from variables outside that set.
|
variable_names |
The name of the variable whose error triggers the match, or a space- or comma-delimited list of more than one variable name. Note that if you define a variable named
VAR , the name in this field needs to appear with its added prefix as PMUSER_VAR . When such a variable is inserted into other fields, it appears with an additional namespace as {{user.PMUSER_VAR}} . See the set_variable behavior for details on variable names.
|