coralogix.Alert
Explore with Pulumi AI
Coralogix Alert. For more info check - https://coralogix.com/docs/getting-started-with-coralogix-alerts/.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.coralogix.Alert;
import com.pulumi.coralogix.AlertArgs;
import com.pulumi.coralogix.inputs.AlertIncidentsSettingsArgs;
import com.pulumi.coralogix.inputs.AlertScheduleArgs;
import com.pulumi.coralogix.inputs.AlertTypeDefinitionArgs;
import com.pulumi.coralogix.inputs.AlertNotificationGroupArgs;
import com.pulumi.coralogix.inputs.AlertTypeDefinitionFlowArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testCoralogixIndex_alertAlert2 = new Alert("testCoralogixIndex/alertAlert2", AlertArgs.builder()
.description("Example of logs_immediate alert from terraform")
.priority("P2")
.labels(Map.ofEntries(
Map.entry("alert_type", "security"),
Map.entry("security_severity", "high")
))
.incidentsSettings(AlertIncidentsSettingsArgs.builder()
.notify_on("Triggered and Resolved")
.retriggering_period(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.schedule(AlertScheduleArgs.builder()
.active_on(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.typeDefinition(AlertTypeDefinitionArgs.builder()
.logs_immediate(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.build());
var testCoralogixIndex_alertAlert4 = new Alert("testCoralogixIndex/alertAlert4", AlertArgs.builder()
.description("Example of logs_anomaly alert from terraform")
.priority("P4")
.labels(Map.ofEntries(
Map.entry("alert_type", "security"),
Map.entry("security_severity", "high")
))
.notificationGroup(AlertNotificationGroupArgs.builder()
.webhooks_settings(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.incidentsSettings(AlertIncidentsSettingsArgs.builder()
.notify_on("Triggered and Resolved")
.retriggering_period(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.schedule(AlertScheduleArgs.builder()
.active_on(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.typeDefinition(AlertTypeDefinitionArgs.builder()
.logs_anomaly(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.build());
var testCoralogixIndex_alertAlert = new Alert("testCoralogixIndex/alertAlert", AlertArgs.builder()
.description("Example of logs_threshold alert example from terraform")
.priority("P2")
.labels(Map.ofEntries(
Map.entry("alert_type", "security"),
Map.entry("security_severity", "high")
))
.notificationGroup(AlertNotificationGroupArgs.builder()
.webhooks_settings(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.incidentsSettings(AlertIncidentsSettingsArgs.builder()
.notify_on("Triggered and Resolved")
.retriggering_period(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.schedule(AlertScheduleArgs.builder()
.active_on(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.typeDefinition(AlertTypeDefinitionArgs.builder()
.logs_threshold(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.build());
var testCoralogixIndex_alertAlert1 = new Alert("testCoralogixIndex/alertAlert1", AlertArgs.builder()
.description("Example of logs_ratio_threshold alert from terraform")
.priority("P3")
.groupBies(
"coralogix.metadata.alert_id",
"coralogix.metadata.alert_name")
.typeDefinition(AlertTypeDefinitionArgs.builder()
.logs_ratio_threshold(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.build());
var testCoralogixIndex_alertAlert6 = new Alert("testCoralogixIndex/alertAlert6", AlertArgs.builder()
.description("Example of logs_new_value alert from terraform")
.priority("P2")
.typeDefinition(AlertTypeDefinitionArgs.builder()
.logs_new_value(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.build());
var testCoralogixIndex_alertAlert3 = new Alert("testCoralogixIndex/alertAlert3", AlertArgs.builder()
.description("Example of logs_unique_count alert from terraform")
.priority("P2")
.groupBies("remote_addr_geoip.city_name")
.typeDefinition(AlertTypeDefinitionArgs.builder()
.logs_unique_count(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.build());
var testIndex_alertAlert = new Alert("testIndex/alertAlert", AlertArgs.builder()
.description("Example of logs_time_relative_threshold alert from terraform")
.priority("P3")
.typeDefinition(AlertTypeDefinitionArgs.builder()
.logs_time_relative_threshold(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.build());
var testCoralogixIndex_alertAlert5 = new Alert("testCoralogixIndex/alertAlert5", AlertArgs.builder()
.description("Example of metric_anomaly alert from terraform")
.priority("P1")
.typeDefinition(AlertTypeDefinitionArgs.builder()
.metric_anomaly(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.build());
var testAlert = new Alert("testAlert", AlertArgs.builder()
.description("Example of metric_threshold alert from terraform")
.priority("P3")
.typeDefinition(AlertTypeDefinitionArgs.builder()
.metric_threshold(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.build());
var testCoralogixIndex_alertAlert7 = new Alert("testCoralogixIndex/alertAlert7", AlertArgs.builder()
.description("Example of tracing_immediate alert from terraform")
.priority("P1")
.typeDefinition(AlertTypeDefinitionArgs.builder()
.tracing_immediate(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.build());
var testCoralogixIndex_alertAlert8 = new Alert("testCoralogixIndex/alertAlert8", AlertArgs.builder()
.description("Example of tracing_threshold alert from terraform")
.priority("P2")
.typeDefinition(AlertTypeDefinitionArgs.builder()
.tracing_threshold(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.build());
var test1 = new Alert("test1", AlertArgs.builder()
.priority("P1")
.typeDefinition(AlertTypeDefinitionArgs.builder()
.logs_immediate()
.build())
.build());
var test2 = new Alert("test2", AlertArgs.builder()
.priority("P2")
.typeDefinition(AlertTypeDefinitionArgs.builder()
.logs_immediate()
.build())
.build());
var test3 = new Alert("test3", AlertArgs.builder()
.priority("P3")
.typeDefinition(AlertTypeDefinitionArgs.builder()
.logs_immediate()
.build())
.build());
var test4 = new Alert("test4", AlertArgs.builder()
.priority("P4")
.typeDefinition(AlertTypeDefinitionArgs.builder()
.logs_immediate()
.build())
.build());
var testCoralogixIndex_alertAlert9 = new Alert("testCoralogixIndex/alertAlert9", AlertArgs.builder()
.description("Example of flow alert from terraform")
.priority("P3")
.typeDefinition(AlertTypeDefinitionArgs.builder()
.flow(AlertTypeDefinitionFlowArgs.builder()
.enforceSuppression(false)
.stages(AlertTypeDefinitionFlowStageArgs.builder()
.flowStagesGroups(
AlertTypeDefinitionFlowStageFlowStagesGroupArgs.builder()
.alertDefs(
AlertTypeDefinitionFlowStageFlowStagesGroupAlertDefArgs.builder()
.id(test1.id())
.build(),
AlertTypeDefinitionFlowStageFlowStagesGroupAlertDefArgs.builder()
.id(test2.id())
.build())
.nextOp("AND")
.alertsOp("OR")
.build(),
AlertTypeDefinitionFlowStageFlowStagesGroupArgs.builder()
.alertDefs(
AlertTypeDefinitionFlowStageFlowStagesGroupAlertDefArgs.builder()
.id(test3.id())
.build(),
AlertTypeDefinitionFlowStageFlowStagesGroupAlertDefArgs.builder()
.id(test4.id())
.build())
.nextOp("OR")
.alertsOp("AND")
.build())
.timeframeMs(10)
.timeframeType("Up To")
.build())
.build())
.build())
.build());
}
}
resources:
testCoralogixIndex/alertAlert2:
type: coralogix:Alert
properties:
description: Example of logs_immediate alert from terraform
priority: P2
labels:
alert_type: security
security_severity: high
incidentsSettings:
notify_on: Triggered and Resolved
retriggering_period:
minutes: 10
schedule:
active_on:
daysOfWeek:
- Wednesday
- Thursday
startTime: 08:30
endTime: 20:30
typeDefinition:
logs_immediate:
logsFilter:
simpleFilter:
luceneQuery: message:"error"
testCoralogixIndex/alertAlert4:
type: coralogix:Alert
properties:
description: Example of logs_anomaly alert from terraform
priority: P4
labels:
alert_type: security
security_severity: high
notificationGroup:
webhooks_settings:
- retriggeringPeriod:
minutes: 1
notifyOn: Triggered and Resolved
recipients:
- example@coralogix.com
incidentsSettings:
notify_on: Triggered and Resolved
retriggering_period:
minutes: 1
schedule:
active_on:
daysOfWeek:
- Wednesday
- Thursday
startTime: 08:30
endTime: 20:30
typeDefinition:
logs_anomaly:
rules:
- condition:
minimumThreshold: 2
timeWindow: 10_MINUTES
override:
priority: P2
logsFilter:
simpleFilter:
luceneQuery: message:"error"
labelFilters:
applicationName:
- operation: IS
value: nginx
subsystemName:
- operation: IS
value: subsystem-name
severities:
- Warning
notificationPayloadFilter:
- coralogix.metadata.sdkId
- coralogix.metadata.sdkName
- coralogix.metadata.sdkVersion
testCoralogixIndex/alertAlert:
type: coralogix:Alert
properties:
description: Example of logs_threshold alert example from terraform
priority: P2
labels:
alert_type: security
security_severity: high
notificationGroup:
webhooks_settings:
- recipients:
- example@coralogix.com
- example2@coralogix.com
incidentsSettings:
notify_on: Triggered and Resolved
retriggering_period:
minutes: 1
schedule:
active_on:
daysOfWeek:
- Wednesday
- Thursday
startTime: 10:30
endTime: 20:30
typeDefinition:
logs_threshold:
rules:
- condition:
threshold: 2
timeWindow: 10_MINUTES
conditionType: LESS_THAN
override:
priority: P2
logsFilter:
simpleFilter:
luceneQuery: message:"error"
labelFilters:
applicationName:
- operation: NOT
value: application_name
subsystemName:
- operation: STARTS_WITH
value: subsystem-name
severities:
- Warning
- Error
testCoralogixIndex/alertAlert1:
type: coralogix:Alert
properties:
description: Example of logs_ratio_threshold alert from terraform
priority: P3
groupBies:
- coralogix.metadata.alert_id
- coralogix.metadata.alert_name
typeDefinition:
logs_ratio_threshold:
numeratorAlias: numerator
denominatorAlias: denominator
rules:
- condition:
threshold: 2
timeWindow: 10_MINUTES
conditionType: LESS_THAN
override:
priority: P2
groupByFor: Denominator Only
testCoralogixIndex/alertAlert6:
type: coralogix:Alert
properties:
description: Example of logs_new_value alert from terraform
priority: P2
typeDefinition:
logs_new_value:
notificationPayloadFilter:
- coralogix.metadata.sdkId
- coralogix.metadata.sdkName
- coralogix.metadata.sdkVersion
rules:
- condition:
timeWindow: 24_HOURS
keypathToTrack: remote_addr_geoip.country_name
override:
priority: P2
testCoralogixIndex/alertAlert3:
type: coralogix:Alert
properties:
description: Example of logs_unique_count alert from terraform
priority: P2
groupBies:
- remote_addr_geoip.city_name
typeDefinition:
logs_unique_count:
uniqueCountKeypath: remote_addr_geoip.country_name
maxUniqueCountPerGroupByKey: 500
rules:
- condition:
maxUniqueCount: 2
timeWindow: 5_MINUTES
testIndex/alertAlert:
type: coralogix:Alert
properties:
description: Example of logs_time_relative_threshold alert from terraform
priority: P3
typeDefinition:
logs_time_relative_threshold:
rules:
- condition:
threshold: 50
comparedTo: Same Day Last Week
ignoreInfinity: false
conditionType: LESS_THAN
override:
priority: P2
undetectedValuesManagement:
triggerUndetectedValues: true
autoRetireTimeframe: 6_HOURS
testCoralogixIndex/alertAlert5:
type: coralogix:Alert
properties:
description: Example of metric_anomaly alert from terraform
priority: P1
typeDefinition:
metric_anomaly:
metricFilter:
promql: sum(rate(http_requests_total{job="api-server"}[5m])) by (status)
rules:
- condition:
threshold: 2
forOverPct: 10
ofTheLast: 10_MINUTES
conditionType: LESS_THAN
minNonNullValuesPct: 50
testAlert:
type: coralogix:Alert
properties:
description: Example of metric_threshold alert from terraform
priority: P3
typeDefinition:
metric_threshold:
metricFilter:
promql: sum(rate(http_requests_total{job="api-server"}[5m])) by (status)
rules:
- condition:
threshold: 2
forOverPct: 10
ofTheLast: 10_MINUTES
conditionType: MORE_THAN_OR_EQUALS
override:
priority: P2
missingValues:
replaceWithZero: true
testCoralogixIndex/alertAlert7:
type: coralogix:Alert
properties:
description: Example of tracing_immediate alert from terraform
priority: P1
typeDefinition:
tracing_immediate:
tracingFilter:
latencyThresholdMs: 100
tracingLabelFilters:
applicationName:
- operation: IS
values:
- nginx
- apache
- operation: STARTS_WITH
values:
- 'application-name:'
subsystemName:
- values:
- subsystem-name
operationName:
- values:
- operation-name
spanFields:
- key: status
filterType:
values:
- '200'
- key: status
filterType:
operation: STARTS_WITH
values:
- '40'
- '50'
testCoralogixIndex/alertAlert8:
type: coralogix:Alert
properties:
description: Example of tracing_threshold alert from terraform
priority: P2
typeDefinition:
tracing_threshold:
tracingFilter:
latencyThresholdMs: 100
tracingLabelFilters:
applicationName:
- operation: IS
values:
- nginx
- apache
- operation: STARTS_WITH
values:
- 'application-name:'
rules:
- condition:
timeWindow: 10_MINUTES
spanAmount: 5
test1:
type: coralogix:Alert
properties:
priority: P1
typeDefinition:
logs_immediate: {}
test2:
type: coralogix:Alert
properties:
priority: P2
typeDefinition:
logs_immediate: {}
test3:
type: coralogix:Alert
properties:
priority: P3
typeDefinition:
logs_immediate: {}
test4:
type: coralogix:Alert
properties:
priority: P4
typeDefinition:
logs_immediate: {}
testCoralogixIndex/alertAlert9:
type: coralogix:Alert
properties:
description: Example of flow alert from terraform
priority: P3
typeDefinition:
flow:
enforceSuppression: false
stages:
- flowStagesGroups:
- alertDefs:
- id: ${test1.id}
- id: ${test2.id}
nextOp: AND
alertsOp: OR
- alertDefs:
- id: ${test3.id}
- id: ${test4.id}
nextOp: OR
alertsOp: AND
timeframeMs: 10
timeframeType: Up To
Create Alert Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Alert(name: string, args: AlertArgs, opts?: CustomResourceOptions);
@overload
def Alert(resource_name: str,
args: AlertArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Alert(resource_name: str,
opts: Optional[ResourceOptions] = None,
type_definition: Optional[AlertTypeDefinitionArgs] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
group_bies: Optional[Sequence[str]] = None,
incidents_settings: Optional[AlertIncidentsSettingsArgs] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
notification_group: Optional[AlertNotificationGroupArgs] = None,
phantom_mode: Optional[bool] = None,
priority: Optional[str] = None,
schedule: Optional[AlertScheduleArgs] = None)
func NewAlert(ctx *Context, name string, args AlertArgs, opts ...ResourceOption) (*Alert, error)
public Alert(string name, AlertArgs args, CustomResourceOptions? opts = null)
type: coralogix:Alert
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AlertArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AlertArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AlertArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlertArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlertArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var alertResource = new Coralogix.Alert("alertResource", new()
{
TypeDefinition = new Coralogix.Inputs.AlertTypeDefinitionArgs
{
Flow = new Coralogix.Inputs.AlertTypeDefinitionFlowArgs
{
Stages = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionFlowStageArgs
{
FlowStagesGroups = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionFlowStageFlowStagesGroupArgs
{
AlertDefs = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionFlowStageFlowStagesGroupAlertDefArgs
{
Id = "string",
Not = false,
},
},
AlertsOp = "string",
NextOp = "string",
},
},
TimeframeType = "string",
TimeframeMs = 0,
},
},
EnforceSuppression = false,
},
LogsAnomaly = new Coralogix.Inputs.AlertTypeDefinitionLogsAnomalyArgs
{
Rules = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsAnomalyRuleArgs
{
Condition = new Coralogix.Inputs.AlertTypeDefinitionLogsAnomalyRuleConditionArgs
{
MinimumThreshold = 0,
TimeWindow = "string",
ConditionType = "string",
},
},
},
CustomEvaluationDelay = 0,
LogsFilter = new Coralogix.Inputs.AlertTypeDefinitionLogsAnomalyLogsFilterArgs
{
SimpleFilter = new Coralogix.Inputs.AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterArgs
{
LabelFilters = new Coralogix.Inputs.AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterLabelFiltersArgs
{
ApplicationNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterLabelFiltersApplicationNameArgs
{
Value = "string",
Operation = "string",
},
},
Severities = new[]
{
"string",
},
SubsystemNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs
{
Value = "string",
Operation = "string",
},
},
},
LuceneQuery = "string",
},
},
NotificationPayloadFilters = new[]
{
"string",
},
},
LogsImmediate = new Coralogix.Inputs.AlertTypeDefinitionLogsImmediateArgs
{
LogsFilter = new Coralogix.Inputs.AlertTypeDefinitionLogsImmediateLogsFilterArgs
{
SimpleFilter = new Coralogix.Inputs.AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterArgs
{
LabelFilters = new Coralogix.Inputs.AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterLabelFiltersArgs
{
ApplicationNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterLabelFiltersApplicationNameArgs
{
Value = "string",
Operation = "string",
},
},
Severities = new[]
{
"string",
},
SubsystemNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs
{
Value = "string",
Operation = "string",
},
},
},
LuceneQuery = "string",
},
},
NotificationPayloadFilters = new[]
{
"string",
},
},
LogsNewValue = new Coralogix.Inputs.AlertTypeDefinitionLogsNewValueArgs
{
Rules = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsNewValueRuleArgs
{
Condition = new Coralogix.Inputs.AlertTypeDefinitionLogsNewValueRuleConditionArgs
{
KeypathToTrack = "string",
TimeWindow = "string",
},
},
},
LogsFilter = new Coralogix.Inputs.AlertTypeDefinitionLogsNewValueLogsFilterArgs
{
SimpleFilter = new Coralogix.Inputs.AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterArgs
{
LabelFilters = new Coralogix.Inputs.AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterLabelFiltersArgs
{
ApplicationNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterLabelFiltersApplicationNameArgs
{
Value = "string",
Operation = "string",
},
},
Severities = new[]
{
"string",
},
SubsystemNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs
{
Value = "string",
Operation = "string",
},
},
},
LuceneQuery = "string",
},
},
NotificationPayloadFilters = new[]
{
"string",
},
},
LogsRatioThreshold = new Coralogix.Inputs.AlertTypeDefinitionLogsRatioThresholdArgs
{
DenominatorAlias = "string",
NumeratorAlias = "string",
Rules = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsRatioThresholdRuleArgs
{
Condition = new Coralogix.Inputs.AlertTypeDefinitionLogsRatioThresholdRuleConditionArgs
{
ConditionType = "string",
Threshold = 0,
TimeWindow = "string",
},
Override = new Coralogix.Inputs.AlertTypeDefinitionLogsRatioThresholdRuleOverrideArgs
{
Priority = "string",
},
},
},
CustomEvaluationDelay = 0,
Denominator = new Coralogix.Inputs.AlertTypeDefinitionLogsRatioThresholdDenominatorArgs
{
SimpleFilter = new Coralogix.Inputs.AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterArgs
{
LabelFilters = new Coralogix.Inputs.AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterLabelFiltersArgs
{
ApplicationNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterLabelFiltersApplicationNameArgs
{
Value = "string",
Operation = "string",
},
},
Severities = new[]
{
"string",
},
SubsystemNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterLabelFiltersSubsystemNameArgs
{
Value = "string",
Operation = "string",
},
},
},
LuceneQuery = "string",
},
},
GroupByFor = "string",
NotificationPayloadFilters = new[]
{
"string",
},
Numerator = new Coralogix.Inputs.AlertTypeDefinitionLogsRatioThresholdNumeratorArgs
{
SimpleFilter = new Coralogix.Inputs.AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterArgs
{
LabelFilters = new Coralogix.Inputs.AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterLabelFiltersArgs
{
ApplicationNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterLabelFiltersApplicationNameArgs
{
Value = "string",
Operation = "string",
},
},
Severities = new[]
{
"string",
},
SubsystemNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterLabelFiltersSubsystemNameArgs
{
Value = "string",
Operation = "string",
},
},
},
LuceneQuery = "string",
},
},
},
LogsThreshold = new Coralogix.Inputs.AlertTypeDefinitionLogsThresholdArgs
{
Rules = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsThresholdRuleArgs
{
Condition = new Coralogix.Inputs.AlertTypeDefinitionLogsThresholdRuleConditionArgs
{
ConditionType = "string",
Threshold = 0,
TimeWindow = "string",
},
Override = new Coralogix.Inputs.AlertTypeDefinitionLogsThresholdRuleOverrideArgs
{
Priority = "string",
},
},
},
CustomEvaluationDelay = 0,
LogsFilter = new Coralogix.Inputs.AlertTypeDefinitionLogsThresholdLogsFilterArgs
{
SimpleFilter = new Coralogix.Inputs.AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterArgs
{
LabelFilters = new Coralogix.Inputs.AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterLabelFiltersArgs
{
ApplicationNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterLabelFiltersApplicationNameArgs
{
Value = "string",
Operation = "string",
},
},
Severities = new[]
{
"string",
},
SubsystemNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs
{
Value = "string",
Operation = "string",
},
},
},
LuceneQuery = "string",
},
},
NotificationPayloadFilters = new[]
{
"string",
},
UndetectedValuesManagement = new Coralogix.Inputs.AlertTypeDefinitionLogsThresholdUndetectedValuesManagementArgs
{
AutoRetireTimeframe = "string",
TriggerUndetectedValues = false,
},
},
LogsTimeRelativeThreshold = new Coralogix.Inputs.AlertTypeDefinitionLogsTimeRelativeThresholdArgs
{
Rules = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsTimeRelativeThresholdRuleArgs
{
Condition = new Coralogix.Inputs.AlertTypeDefinitionLogsTimeRelativeThresholdRuleConditionArgs
{
ComparedTo = "string",
ConditionType = "string",
Threshold = 0,
},
Override = new Coralogix.Inputs.AlertTypeDefinitionLogsTimeRelativeThresholdRuleOverrideArgs
{
Priority = "string",
},
},
},
CustomEvaluationDelay = 0,
LogsFilter = new Coralogix.Inputs.AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterArgs
{
SimpleFilter = new Coralogix.Inputs.AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterArgs
{
LabelFilters = new Coralogix.Inputs.AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterLabelFiltersArgs
{
ApplicationNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterLabelFiltersApplicationNameArgs
{
Value = "string",
Operation = "string",
},
},
Severities = new[]
{
"string",
},
SubsystemNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs
{
Value = "string",
Operation = "string",
},
},
},
LuceneQuery = "string",
},
},
NotificationPayloadFilters = new[]
{
"string",
},
UndetectedValuesManagement = new Coralogix.Inputs.AlertTypeDefinitionLogsTimeRelativeThresholdUndetectedValuesManagementArgs
{
AutoRetireTimeframe = "string",
TriggerUndetectedValues = false,
},
},
LogsUniqueCount = new Coralogix.Inputs.AlertTypeDefinitionLogsUniqueCountArgs
{
Rules = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsUniqueCountRuleArgs
{
Condition = new Coralogix.Inputs.AlertTypeDefinitionLogsUniqueCountRuleConditionArgs
{
MaxUniqueCount = 0,
TimeWindow = "string",
},
},
},
UniqueCountKeypath = "string",
LogsFilter = new Coralogix.Inputs.AlertTypeDefinitionLogsUniqueCountLogsFilterArgs
{
SimpleFilter = new Coralogix.Inputs.AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterArgs
{
LabelFilters = new Coralogix.Inputs.AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterLabelFiltersArgs
{
ApplicationNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterLabelFiltersApplicationNameArgs
{
Value = "string",
Operation = "string",
},
},
Severities = new[]
{
"string",
},
SubsystemNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs
{
Value = "string",
Operation = "string",
},
},
},
LuceneQuery = "string",
},
},
MaxUniqueCountPerGroupByKey = 0,
NotificationPayloadFilters = new[]
{
"string",
},
},
MetricAnomaly = new Coralogix.Inputs.AlertTypeDefinitionMetricAnomalyArgs
{
MetricFilter = new Coralogix.Inputs.AlertTypeDefinitionMetricAnomalyMetricFilterArgs
{
Promql = "string",
},
Rules = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionMetricAnomalyRuleArgs
{
Condition = new Coralogix.Inputs.AlertTypeDefinitionMetricAnomalyRuleConditionArgs
{
ConditionType = "string",
ForOverPct = 0,
MinNonNullValuesPct = 0,
OfTheLast = "string",
Threshold = 0,
},
},
},
CustomEvaluationDelay = 0,
},
MetricThreshold = new Coralogix.Inputs.AlertTypeDefinitionMetricThresholdArgs
{
MetricFilter = new Coralogix.Inputs.AlertTypeDefinitionMetricThresholdMetricFilterArgs
{
Promql = "string",
},
MissingValues = new Coralogix.Inputs.AlertTypeDefinitionMetricThresholdMissingValuesArgs
{
MinNonNullValuesPct = 0,
ReplaceWithZero = false,
},
Rules = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionMetricThresholdRuleArgs
{
Condition = new Coralogix.Inputs.AlertTypeDefinitionMetricThresholdRuleConditionArgs
{
ConditionType = "string",
ForOverPct = 0,
OfTheLast = "string",
Threshold = 0,
},
Override = new Coralogix.Inputs.AlertTypeDefinitionMetricThresholdRuleOverrideArgs
{
Priority = "string",
},
},
},
CustomEvaluationDelay = 0,
UndetectedValuesManagement = new Coralogix.Inputs.AlertTypeDefinitionMetricThresholdUndetectedValuesManagementArgs
{
AutoRetireTimeframe = "string",
TriggerUndetectedValues = false,
},
},
TracingImmediate = new Coralogix.Inputs.AlertTypeDefinitionTracingImmediateArgs
{
TracingFilter = new Coralogix.Inputs.AlertTypeDefinitionTracingImmediateTracingFilterArgs
{
LatencyThresholdMs = 0,
TracingLabelFilters = new Coralogix.Inputs.AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersArgs
{
ApplicationNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersApplicationNameArgs
{
Values = new[]
{
"string",
},
Operation = "string",
},
},
OperationNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersOperationNameArgs
{
Values = new[]
{
"string",
},
Operation = "string",
},
},
ServiceNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersServiceNameArgs
{
Values = new[]
{
"string",
},
Operation = "string",
},
},
SpanFields = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersSpanFieldArgs
{
Key = "string",
FilterType = new Coralogix.Inputs.AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersSpanFieldFilterTypeArgs
{
Values = new[]
{
"string",
},
Operation = "string",
},
},
},
SubsystemNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersSubsystemNameArgs
{
Values = new[]
{
"string",
},
Operation = "string",
},
},
},
},
NotificationPayloadFilters = new[]
{
"string",
},
},
TracingThreshold = new Coralogix.Inputs.AlertTypeDefinitionTracingThresholdArgs
{
Rules = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionTracingThresholdRuleArgs
{
Condition = new Coralogix.Inputs.AlertTypeDefinitionTracingThresholdRuleConditionArgs
{
SpanAmount = 0,
TimeWindow = "string",
ConditionType = "string",
},
},
},
TracingFilter = new Coralogix.Inputs.AlertTypeDefinitionTracingThresholdTracingFilterArgs
{
LatencyThresholdMs = 0,
TracingLabelFilters = new Coralogix.Inputs.AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersArgs
{
ApplicationNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersApplicationNameArgs
{
Values = new[]
{
"string",
},
Operation = "string",
},
},
OperationNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersOperationNameArgs
{
Values = new[]
{
"string",
},
Operation = "string",
},
},
ServiceNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersServiceNameArgs
{
Values = new[]
{
"string",
},
Operation = "string",
},
},
SpanFields = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersSpanFieldArgs
{
Key = "string",
FilterType = new Coralogix.Inputs.AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersSpanFieldFilterTypeArgs
{
Values = new[]
{
"string",
},
Operation = "string",
},
},
},
SubsystemNames = new[]
{
new Coralogix.Inputs.AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersSubsystemNameArgs
{
Values = new[]
{
"string",
},
Operation = "string",
},
},
},
},
NotificationPayloadFilters = new[]
{
"string",
},
},
},
Description = "string",
Enabled = false,
GroupBies = new[]
{
"string",
},
IncidentsSettings = new Coralogix.Inputs.AlertIncidentsSettingsArgs
{
NotifyOn = "string",
RetriggeringPeriod = new Coralogix.Inputs.AlertIncidentsSettingsRetriggeringPeriodArgs
{
Minutes = 0,
},
},
Labels =
{
{ "string", "string" },
},
Name = "string",
NotificationGroup = new Coralogix.Inputs.AlertNotificationGroupArgs
{
GroupByKeys = new[]
{
"string",
},
WebhooksSettings = new[]
{
new Coralogix.Inputs.AlertNotificationGroupWebhooksSettingArgs
{
IntegrationId = "string",
NotifyOn = "string",
Recipients = new[]
{
"string",
},
RetriggeringPeriod = new Coralogix.Inputs.AlertNotificationGroupWebhooksSettingRetriggeringPeriodArgs
{
Minutes = 0,
},
},
},
},
PhantomMode = false,
Schedule = new Coralogix.Inputs.AlertScheduleArgs
{
ActiveOn = new Coralogix.Inputs.AlertScheduleActiveOnArgs
{
DaysOfWeeks = new[]
{
"string",
},
EndTime = "string",
StartTime = "string",
UtcOffset = "string",
},
},
});
example, err := coralogix.NewAlert(ctx, "alertResource", &coralogix.AlertArgs{
TypeDefinition: &coralogix.AlertTypeDefinitionArgs{
Flow: &coralogix.AlertTypeDefinitionFlowArgs{
Stages: coralogix.AlertTypeDefinitionFlowStageArray{
&coralogix.AlertTypeDefinitionFlowStageArgs{
FlowStagesGroups: coralogix.AlertTypeDefinitionFlowStageFlowStagesGroupArray{
&coralogix.AlertTypeDefinitionFlowStageFlowStagesGroupArgs{
AlertDefs: coralogix.AlertTypeDefinitionFlowStageFlowStagesGroupAlertDefArray{
&coralogix.AlertTypeDefinitionFlowStageFlowStagesGroupAlertDefArgs{
Id: pulumi.String("string"),
Not: pulumi.Bool(false),
},
},
AlertsOp: pulumi.String("string"),
NextOp: pulumi.String("string"),
},
},
TimeframeType: pulumi.String("string"),
TimeframeMs: pulumi.Float64(0),
},
},
EnforceSuppression: pulumi.Bool(false),
},
LogsAnomaly: &coralogix.AlertTypeDefinitionLogsAnomalyArgs{
Rules: coralogix.AlertTypeDefinitionLogsAnomalyRuleArray{
&coralogix.AlertTypeDefinitionLogsAnomalyRuleArgs{
Condition: &coralogix.AlertTypeDefinitionLogsAnomalyRuleConditionArgs{
MinimumThreshold: pulumi.Float64(0),
TimeWindow: pulumi.String("string"),
ConditionType: pulumi.String("string"),
},
},
},
CustomEvaluationDelay: pulumi.Float64(0),
LogsFilter: &coralogix.AlertTypeDefinitionLogsAnomalyLogsFilterArgs{
SimpleFilter: &coralogix.AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterArgs{
LabelFilters: &coralogix.AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterLabelFiltersArgs{
ApplicationNames: coralogix.AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterLabelFiltersApplicationNameArray{
&coralogix.AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterLabelFiltersApplicationNameArgs{
Value: pulumi.String("string"),
Operation: pulumi.String("string"),
},
},
Severities: pulumi.StringArray{
pulumi.String("string"),
},
SubsystemNames: coralogix.AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterLabelFiltersSubsystemNameArray{
&coralogix.AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs{
Value: pulumi.String("string"),
Operation: pulumi.String("string"),
},
},
},
LuceneQuery: pulumi.String("string"),
},
},
NotificationPayloadFilters: pulumi.StringArray{
pulumi.String("string"),
},
},
LogsImmediate: &coralogix.AlertTypeDefinitionLogsImmediateArgs{
LogsFilter: &coralogix.AlertTypeDefinitionLogsImmediateLogsFilterArgs{
SimpleFilter: &coralogix.AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterArgs{
LabelFilters: &coralogix.AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterLabelFiltersArgs{
ApplicationNames: coralogix.AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterLabelFiltersApplicationNameArray{
&coralogix.AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterLabelFiltersApplicationNameArgs{
Value: pulumi.String("string"),
Operation: pulumi.String("string"),
},
},
Severities: pulumi.StringArray{
pulumi.String("string"),
},
SubsystemNames: coralogix.AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterLabelFiltersSubsystemNameArray{
&coralogix.AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs{
Value: pulumi.String("string"),
Operation: pulumi.String("string"),
},
},
},
LuceneQuery: pulumi.String("string"),
},
},
NotificationPayloadFilters: pulumi.StringArray{
pulumi.String("string"),
},
},
LogsNewValue: &coralogix.AlertTypeDefinitionLogsNewValueArgs{
Rules: coralogix.AlertTypeDefinitionLogsNewValueRuleArray{
&coralogix.AlertTypeDefinitionLogsNewValueRuleArgs{
Condition: &coralogix.AlertTypeDefinitionLogsNewValueRuleConditionArgs{
KeypathToTrack: pulumi.String("string"),
TimeWindow: pulumi.String("string"),
},
},
},
LogsFilter: &coralogix.AlertTypeDefinitionLogsNewValueLogsFilterArgs{
SimpleFilter: &coralogix.AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterArgs{
LabelFilters: &coralogix.AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterLabelFiltersArgs{
ApplicationNames: coralogix.AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterLabelFiltersApplicationNameArray{
&coralogix.AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterLabelFiltersApplicationNameArgs{
Value: pulumi.String("string"),
Operation: pulumi.String("string"),
},
},
Severities: pulumi.StringArray{
pulumi.String("string"),
},
SubsystemNames: coralogix.AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterLabelFiltersSubsystemNameArray{
&coralogix.AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs{
Value: pulumi.String("string"),
Operation: pulumi.String("string"),
},
},
},
LuceneQuery: pulumi.String("string"),
},
},
NotificationPayloadFilters: pulumi.StringArray{
pulumi.String("string"),
},
},
LogsRatioThreshold: &coralogix.AlertTypeDefinitionLogsRatioThresholdArgs{
DenominatorAlias: pulumi.String("string"),
NumeratorAlias: pulumi.String("string"),
Rules: coralogix.AlertTypeDefinitionLogsRatioThresholdRuleArray{
&coralogix.AlertTypeDefinitionLogsRatioThresholdRuleArgs{
Condition: &coralogix.AlertTypeDefinitionLogsRatioThresholdRuleConditionArgs{
ConditionType: pulumi.String("string"),
Threshold: pulumi.Float64(0),
TimeWindow: pulumi.String("string"),
},
Override: &coralogix.AlertTypeDefinitionLogsRatioThresholdRuleOverrideArgs{
Priority: pulumi.String("string"),
},
},
},
CustomEvaluationDelay: pulumi.Float64(0),
Denominator: &coralogix.AlertTypeDefinitionLogsRatioThresholdDenominatorArgs{
SimpleFilter: &coralogix.AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterArgs{
LabelFilters: &coralogix.AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterLabelFiltersArgs{
ApplicationNames: coralogix.AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterLabelFiltersApplicationNameArray{
&coralogix.AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterLabelFiltersApplicationNameArgs{
Value: pulumi.String("string"),
Operation: pulumi.String("string"),
},
},
Severities: pulumi.StringArray{
pulumi.String("string"),
},
SubsystemNames: coralogix.AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterLabelFiltersSubsystemNameArray{
&coralogix.AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterLabelFiltersSubsystemNameArgs{
Value: pulumi.String("string"),
Operation: pulumi.String("string"),
},
},
},
LuceneQuery: pulumi.String("string"),
},
},
GroupByFor: pulumi.String("string"),
NotificationPayloadFilters: pulumi.StringArray{
pulumi.String("string"),
},
Numerator: &coralogix.AlertTypeDefinitionLogsRatioThresholdNumeratorArgs{
SimpleFilter: &coralogix.AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterArgs{
LabelFilters: &coralogix.AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterLabelFiltersArgs{
ApplicationNames: coralogix.AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterLabelFiltersApplicationNameArray{
&coralogix.AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterLabelFiltersApplicationNameArgs{
Value: pulumi.String("string"),
Operation: pulumi.String("string"),
},
},
Severities: pulumi.StringArray{
pulumi.String("string"),
},
SubsystemNames: coralogix.AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterLabelFiltersSubsystemNameArray{
&coralogix.AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterLabelFiltersSubsystemNameArgs{
Value: pulumi.String("string"),
Operation: pulumi.String("string"),
},
},
},
LuceneQuery: pulumi.String("string"),
},
},
},
LogsThreshold: &coralogix.AlertTypeDefinitionLogsThresholdArgs{
Rules: coralogix.AlertTypeDefinitionLogsThresholdRuleArray{
&coralogix.AlertTypeDefinitionLogsThresholdRuleArgs{
Condition: &coralogix.AlertTypeDefinitionLogsThresholdRuleConditionArgs{
ConditionType: pulumi.String("string"),
Threshold: pulumi.Float64(0),
TimeWindow: pulumi.String("string"),
},
Override: &coralogix.AlertTypeDefinitionLogsThresholdRuleOverrideArgs{
Priority: pulumi.String("string"),
},
},
},
CustomEvaluationDelay: pulumi.Float64(0),
LogsFilter: &coralogix.AlertTypeDefinitionLogsThresholdLogsFilterArgs{
SimpleFilter: &coralogix.AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterArgs{
LabelFilters: &coralogix.AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterLabelFiltersArgs{
ApplicationNames: coralogix.AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterLabelFiltersApplicationNameArray{
&coralogix.AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterLabelFiltersApplicationNameArgs{
Value: pulumi.String("string"),
Operation: pulumi.String("string"),
},
},
Severities: pulumi.StringArray{
pulumi.String("string"),
},
SubsystemNames: coralogix.AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterLabelFiltersSubsystemNameArray{
&coralogix.AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs{
Value: pulumi.String("string"),
Operation: pulumi.String("string"),
},
},
},
LuceneQuery: pulumi.String("string"),
},
},
NotificationPayloadFilters: pulumi.StringArray{
pulumi.String("string"),
},
UndetectedValuesManagement: &coralogix.AlertTypeDefinitionLogsThresholdUndetectedValuesManagementArgs{
AutoRetireTimeframe: pulumi.String("string"),
TriggerUndetectedValues: pulumi.Bool(false),
},
},
LogsTimeRelativeThreshold: &coralogix.AlertTypeDefinitionLogsTimeRelativeThresholdArgs{
Rules: coralogix.AlertTypeDefinitionLogsTimeRelativeThresholdRuleArray{
&coralogix.AlertTypeDefinitionLogsTimeRelativeThresholdRuleArgs{
Condition: &coralogix.AlertTypeDefinitionLogsTimeRelativeThresholdRuleConditionArgs{
ComparedTo: pulumi.String("string"),
ConditionType: pulumi.String("string"),
Threshold: pulumi.Float64(0),
},
Override: &coralogix.AlertTypeDefinitionLogsTimeRelativeThresholdRuleOverrideArgs{
Priority: pulumi.String("string"),
},
},
},
CustomEvaluationDelay: pulumi.Float64(0),
LogsFilter: &coralogix.AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterArgs{
SimpleFilter: &coralogix.AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterArgs{
LabelFilters: &coralogix.AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterLabelFiltersArgs{
ApplicationNames: coralogix.AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterLabelFiltersApplicationNameArray{
&coralogix.AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterLabelFiltersApplicationNameArgs{
Value: pulumi.String("string"),
Operation: pulumi.String("string"),
},
},
Severities: pulumi.StringArray{
pulumi.String("string"),
},
SubsystemNames: coralogix.AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterLabelFiltersSubsystemNameArray{
&coralogix.AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs{
Value: pulumi.String("string"),
Operation: pulumi.String("string"),
},
},
},
LuceneQuery: pulumi.String("string"),
},
},
NotificationPayloadFilters: pulumi.StringArray{
pulumi.String("string"),
},
UndetectedValuesManagement: &coralogix.AlertTypeDefinitionLogsTimeRelativeThresholdUndetectedValuesManagementArgs{
AutoRetireTimeframe: pulumi.String("string"),
TriggerUndetectedValues: pulumi.Bool(false),
},
},
LogsUniqueCount: &coralogix.AlertTypeDefinitionLogsUniqueCountArgs{
Rules: coralogix.AlertTypeDefinitionLogsUniqueCountRuleArray{
&coralogix.AlertTypeDefinitionLogsUniqueCountRuleArgs{
Condition: &coralogix.AlertTypeDefinitionLogsUniqueCountRuleConditionArgs{
MaxUniqueCount: pulumi.Float64(0),
TimeWindow: pulumi.String("string"),
},
},
},
UniqueCountKeypath: pulumi.String("string"),
LogsFilter: &coralogix.AlertTypeDefinitionLogsUniqueCountLogsFilterArgs{
SimpleFilter: &coralogix.AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterArgs{
LabelFilters: &coralogix.AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterLabelFiltersArgs{
ApplicationNames: coralogix.AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterLabelFiltersApplicationNameArray{
&coralogix.AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterLabelFiltersApplicationNameArgs{
Value: pulumi.String("string"),
Operation: pulumi.String("string"),
},
},
Severities: pulumi.StringArray{
pulumi.String("string"),
},
SubsystemNames: coralogix.AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterLabelFiltersSubsystemNameArray{
&coralogix.AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs{
Value: pulumi.String("string"),
Operation: pulumi.String("string"),
},
},
},
LuceneQuery: pulumi.String("string"),
},
},
MaxUniqueCountPerGroupByKey: pulumi.Float64(0),
NotificationPayloadFilters: pulumi.StringArray{
pulumi.String("string"),
},
},
MetricAnomaly: &coralogix.AlertTypeDefinitionMetricAnomalyArgs{
MetricFilter: &coralogix.AlertTypeDefinitionMetricAnomalyMetricFilterArgs{
Promql: pulumi.String("string"),
},
Rules: coralogix.AlertTypeDefinitionMetricAnomalyRuleArray{
&coralogix.AlertTypeDefinitionMetricAnomalyRuleArgs{
Condition: &coralogix.AlertTypeDefinitionMetricAnomalyRuleConditionArgs{
ConditionType: pulumi.String("string"),
ForOverPct: pulumi.Float64(0),
MinNonNullValuesPct: pulumi.Float64(0),
OfTheLast: pulumi.String("string"),
Threshold: pulumi.Float64(0),
},
},
},
CustomEvaluationDelay: pulumi.Float64(0),
},
MetricThreshold: &coralogix.AlertTypeDefinitionMetricThresholdArgs{
MetricFilter: &coralogix.AlertTypeDefinitionMetricThresholdMetricFilterArgs{
Promql: pulumi.String("string"),
},
MissingValues: &coralogix.AlertTypeDefinitionMetricThresholdMissingValuesArgs{
MinNonNullValuesPct: pulumi.Float64(0),
ReplaceWithZero: pulumi.Bool(false),
},
Rules: coralogix.AlertTypeDefinitionMetricThresholdRuleArray{
&coralogix.AlertTypeDefinitionMetricThresholdRuleArgs{
Condition: &coralogix.AlertTypeDefinitionMetricThresholdRuleConditionArgs{
ConditionType: pulumi.String("string"),
ForOverPct: pulumi.Float64(0),
OfTheLast: pulumi.String("string"),
Threshold: pulumi.Float64(0),
},
Override: &coralogix.AlertTypeDefinitionMetricThresholdRuleOverrideArgs{
Priority: pulumi.String("string"),
},
},
},
CustomEvaluationDelay: pulumi.Float64(0),
UndetectedValuesManagement: &coralogix.AlertTypeDefinitionMetricThresholdUndetectedValuesManagementArgs{
AutoRetireTimeframe: pulumi.String("string"),
TriggerUndetectedValues: pulumi.Bool(false),
},
},
TracingImmediate: &coralogix.AlertTypeDefinitionTracingImmediateArgs{
TracingFilter: &coralogix.AlertTypeDefinitionTracingImmediateTracingFilterArgs{
LatencyThresholdMs: pulumi.Float64(0),
TracingLabelFilters: &coralogix.AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersArgs{
ApplicationNames: coralogix.AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersApplicationNameArray{
&coralogix.AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersApplicationNameArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Operation: pulumi.String("string"),
},
},
OperationNames: coralogix.AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersOperationNameArray{
&coralogix.AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersOperationNameArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Operation: pulumi.String("string"),
},
},
ServiceNames: coralogix.AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersServiceNameArray{
&coralogix.AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersServiceNameArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Operation: pulumi.String("string"),
},
},
SpanFields: coralogix.AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersSpanFieldArray{
&coralogix.AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersSpanFieldArgs{
Key: pulumi.String("string"),
FilterType: &coralogix.AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersSpanFieldFilterTypeArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Operation: pulumi.String("string"),
},
},
},
SubsystemNames: coralogix.AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersSubsystemNameArray{
&coralogix.AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersSubsystemNameArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Operation: pulumi.String("string"),
},
},
},
},
NotificationPayloadFilters: pulumi.StringArray{
pulumi.String("string"),
},
},
TracingThreshold: &coralogix.AlertTypeDefinitionTracingThresholdArgs{
Rules: coralogix.AlertTypeDefinitionTracingThresholdRuleArray{
&coralogix.AlertTypeDefinitionTracingThresholdRuleArgs{
Condition: &coralogix.AlertTypeDefinitionTracingThresholdRuleConditionArgs{
SpanAmount: pulumi.Float64(0),
TimeWindow: pulumi.String("string"),
ConditionType: pulumi.String("string"),
},
},
},
TracingFilter: &coralogix.AlertTypeDefinitionTracingThresholdTracingFilterArgs{
LatencyThresholdMs: pulumi.Float64(0),
TracingLabelFilters: &coralogix.AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersArgs{
ApplicationNames: coralogix.AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersApplicationNameArray{
&coralogix.AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersApplicationNameArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Operation: pulumi.String("string"),
},
},
OperationNames: coralogix.AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersOperationNameArray{
&coralogix.AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersOperationNameArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Operation: pulumi.String("string"),
},
},
ServiceNames: coralogix.AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersServiceNameArray{
&coralogix.AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersServiceNameArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Operation: pulumi.String("string"),
},
},
SpanFields: coralogix.AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersSpanFieldArray{
&coralogix.AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersSpanFieldArgs{
Key: pulumi.String("string"),
FilterType: &coralogix.AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersSpanFieldFilterTypeArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Operation: pulumi.String("string"),
},
},
},
SubsystemNames: coralogix.AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersSubsystemNameArray{
&coralogix.AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersSubsystemNameArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Operation: pulumi.String("string"),
},
},
},
},
NotificationPayloadFilters: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Description: pulumi.String("string"),
Enabled: pulumi.Bool(false),
GroupBies: pulumi.StringArray{
pulumi.String("string"),
},
IncidentsSettings: &coralogix.AlertIncidentsSettingsArgs{
NotifyOn: pulumi.String("string"),
RetriggeringPeriod: &coralogix.AlertIncidentsSettingsRetriggeringPeriodArgs{
Minutes: pulumi.Float64(0),
},
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
NotificationGroup: &coralogix.AlertNotificationGroupArgs{
GroupByKeys: pulumi.StringArray{
pulumi.String("string"),
},
WebhooksSettings: coralogix.AlertNotificationGroupWebhooksSettingArray{
&coralogix.AlertNotificationGroupWebhooksSettingArgs{
IntegrationId: pulumi.String("string"),
NotifyOn: pulumi.String("string"),
Recipients: pulumi.StringArray{
pulumi.String("string"),
},
RetriggeringPeriod: &coralogix.AlertNotificationGroupWebhooksSettingRetriggeringPeriodArgs{
Minutes: pulumi.Float64(0),
},
},
},
},
PhantomMode: pulumi.Bool(false),
Schedule: &coralogix.AlertScheduleArgs{
ActiveOn: &coralogix.AlertScheduleActiveOnArgs{
DaysOfWeeks: pulumi.StringArray{
pulumi.String("string"),
},
EndTime: pulumi.String("string"),
StartTime: pulumi.String("string"),
UtcOffset: pulumi.String("string"),
},
},
})
var alertResource = new Alert("alertResource", AlertArgs.builder()
.typeDefinition(AlertTypeDefinitionArgs.builder()
.flow(AlertTypeDefinitionFlowArgs.builder()
.stages(AlertTypeDefinitionFlowStageArgs.builder()
.flowStagesGroups(AlertTypeDefinitionFlowStageFlowStagesGroupArgs.builder()
.alertDefs(AlertTypeDefinitionFlowStageFlowStagesGroupAlertDefArgs.builder()
.id("string")
.not(false)
.build())
.alertsOp("string")
.nextOp("string")
.build())
.timeframeType("string")
.timeframeMs(0)
.build())
.enforceSuppression(false)
.build())
.logsAnomaly(AlertTypeDefinitionLogsAnomalyArgs.builder()
.rules(AlertTypeDefinitionLogsAnomalyRuleArgs.builder()
.condition(AlertTypeDefinitionLogsAnomalyRuleConditionArgs.builder()
.minimumThreshold(0)
.timeWindow("string")
.conditionType("string")
.build())
.build())
.customEvaluationDelay(0)
.logsFilter(AlertTypeDefinitionLogsAnomalyLogsFilterArgs.builder()
.simpleFilter(AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterArgs.builder()
.labelFilters(AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterLabelFiltersArgs.builder()
.applicationNames(AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterLabelFiltersApplicationNameArgs.builder()
.value("string")
.operation("string")
.build())
.severities("string")
.subsystemNames(AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs.builder()
.value("string")
.operation("string")
.build())
.build())
.luceneQuery("string")
.build())
.build())
.notificationPayloadFilters("string")
.build())
.logsImmediate(AlertTypeDefinitionLogsImmediateArgs.builder()
.logsFilter(AlertTypeDefinitionLogsImmediateLogsFilterArgs.builder()
.simpleFilter(AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterArgs.builder()
.labelFilters(AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterLabelFiltersArgs.builder()
.applicationNames(AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterLabelFiltersApplicationNameArgs.builder()
.value("string")
.operation("string")
.build())
.severities("string")
.subsystemNames(AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs.builder()
.value("string")
.operation("string")
.build())
.build())
.luceneQuery("string")
.build())
.build())
.notificationPayloadFilters("string")
.build())
.logsNewValue(AlertTypeDefinitionLogsNewValueArgs.builder()
.rules(AlertTypeDefinitionLogsNewValueRuleArgs.builder()
.condition(AlertTypeDefinitionLogsNewValueRuleConditionArgs.builder()
.keypathToTrack("string")
.timeWindow("string")
.build())
.build())
.logsFilter(AlertTypeDefinitionLogsNewValueLogsFilterArgs.builder()
.simpleFilter(AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterArgs.builder()
.labelFilters(AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterLabelFiltersArgs.builder()
.applicationNames(AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterLabelFiltersApplicationNameArgs.builder()
.value("string")
.operation("string")
.build())
.severities("string")
.subsystemNames(AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs.builder()
.value("string")
.operation("string")
.build())
.build())
.luceneQuery("string")
.build())
.build())
.notificationPayloadFilters("string")
.build())
.logsRatioThreshold(AlertTypeDefinitionLogsRatioThresholdArgs.builder()
.denominatorAlias("string")
.numeratorAlias("string")
.rules(AlertTypeDefinitionLogsRatioThresholdRuleArgs.builder()
.condition(AlertTypeDefinitionLogsRatioThresholdRuleConditionArgs.builder()
.conditionType("string")
.threshold(0)
.timeWindow("string")
.build())
.override(AlertTypeDefinitionLogsRatioThresholdRuleOverrideArgs.builder()
.priority("string")
.build())
.build())
.customEvaluationDelay(0)
.denominator(AlertTypeDefinitionLogsRatioThresholdDenominatorArgs.builder()
.simpleFilter(AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterArgs.builder()
.labelFilters(AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterLabelFiltersArgs.builder()
.applicationNames(AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterLabelFiltersApplicationNameArgs.builder()
.value("string")
.operation("string")
.build())
.severities("string")
.subsystemNames(AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterLabelFiltersSubsystemNameArgs.builder()
.value("string")
.operation("string")
.build())
.build())
.luceneQuery("string")
.build())
.build())
.groupByFor("string")
.notificationPayloadFilters("string")
.numerator(AlertTypeDefinitionLogsRatioThresholdNumeratorArgs.builder()
.simpleFilter(AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterArgs.builder()
.labelFilters(AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterLabelFiltersArgs.builder()
.applicationNames(AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterLabelFiltersApplicationNameArgs.builder()
.value("string")
.operation("string")
.build())
.severities("string")
.subsystemNames(AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterLabelFiltersSubsystemNameArgs.builder()
.value("string")
.operation("string")
.build())
.build())
.luceneQuery("string")
.build())
.build())
.build())
.logsThreshold(AlertTypeDefinitionLogsThresholdArgs.builder()
.rules(AlertTypeDefinitionLogsThresholdRuleArgs.builder()
.condition(AlertTypeDefinitionLogsThresholdRuleConditionArgs.builder()
.conditionType("string")
.threshold(0)
.timeWindow("string")
.build())
.override(AlertTypeDefinitionLogsThresholdRuleOverrideArgs.builder()
.priority("string")
.build())
.build())
.customEvaluationDelay(0)
.logsFilter(AlertTypeDefinitionLogsThresholdLogsFilterArgs.builder()
.simpleFilter(AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterArgs.builder()
.labelFilters(AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterLabelFiltersArgs.builder()
.applicationNames(AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterLabelFiltersApplicationNameArgs.builder()
.value("string")
.operation("string")
.build())
.severities("string")
.subsystemNames(AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs.builder()
.value("string")
.operation("string")
.build())
.build())
.luceneQuery("string")
.build())
.build())
.notificationPayloadFilters("string")
.undetectedValuesManagement(AlertTypeDefinitionLogsThresholdUndetectedValuesManagementArgs.builder()
.autoRetireTimeframe("string")
.triggerUndetectedValues(false)
.build())
.build())
.logsTimeRelativeThreshold(AlertTypeDefinitionLogsTimeRelativeThresholdArgs.builder()
.rules(AlertTypeDefinitionLogsTimeRelativeThresholdRuleArgs.builder()
.condition(AlertTypeDefinitionLogsTimeRelativeThresholdRuleConditionArgs.builder()
.comparedTo("string")
.conditionType("string")
.threshold(0)
.build())
.override(AlertTypeDefinitionLogsTimeRelativeThresholdRuleOverrideArgs.builder()
.priority("string")
.build())
.build())
.customEvaluationDelay(0)
.logsFilter(AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterArgs.builder()
.simpleFilter(AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterArgs.builder()
.labelFilters(AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterLabelFiltersArgs.builder()
.applicationNames(AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterLabelFiltersApplicationNameArgs.builder()
.value("string")
.operation("string")
.build())
.severities("string")
.subsystemNames(AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs.builder()
.value("string")
.operation("string")
.build())
.build())
.luceneQuery("string")
.build())
.build())
.notificationPayloadFilters("string")
.undetectedValuesManagement(AlertTypeDefinitionLogsTimeRelativeThresholdUndetectedValuesManagementArgs.builder()
.autoRetireTimeframe("string")
.triggerUndetectedValues(false)
.build())
.build())
.logsUniqueCount(AlertTypeDefinitionLogsUniqueCountArgs.builder()
.rules(AlertTypeDefinitionLogsUniqueCountRuleArgs.builder()
.condition(AlertTypeDefinitionLogsUniqueCountRuleConditionArgs.builder()
.maxUniqueCount(0)
.timeWindow("string")
.build())
.build())
.uniqueCountKeypath("string")
.logsFilter(AlertTypeDefinitionLogsUniqueCountLogsFilterArgs.builder()
.simpleFilter(AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterArgs.builder()
.labelFilters(AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterLabelFiltersArgs.builder()
.applicationNames(AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterLabelFiltersApplicationNameArgs.builder()
.value("string")
.operation("string")
.build())
.severities("string")
.subsystemNames(AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs.builder()
.value("string")
.operation("string")
.build())
.build())
.luceneQuery("string")
.build())
.build())
.maxUniqueCountPerGroupByKey(0)
.notificationPayloadFilters("string")
.build())
.metricAnomaly(AlertTypeDefinitionMetricAnomalyArgs.builder()
.metricFilter(AlertTypeDefinitionMetricAnomalyMetricFilterArgs.builder()
.promql("string")
.build())
.rules(AlertTypeDefinitionMetricAnomalyRuleArgs.builder()
.condition(AlertTypeDefinitionMetricAnomalyRuleConditionArgs.builder()
.conditionType("string")
.forOverPct(0)
.minNonNullValuesPct(0)
.ofTheLast("string")
.threshold(0)
.build())
.build())
.customEvaluationDelay(0)
.build())
.metricThreshold(AlertTypeDefinitionMetricThresholdArgs.builder()
.metricFilter(AlertTypeDefinitionMetricThresholdMetricFilterArgs.builder()
.promql("string")
.build())
.missingValues(AlertTypeDefinitionMetricThresholdMissingValuesArgs.builder()
.minNonNullValuesPct(0)
.replaceWithZero(false)
.build())
.rules(AlertTypeDefinitionMetricThresholdRuleArgs.builder()
.condition(AlertTypeDefinitionMetricThresholdRuleConditionArgs.builder()
.conditionType("string")
.forOverPct(0)
.ofTheLast("string")
.threshold(0)
.build())
.override(AlertTypeDefinitionMetricThresholdRuleOverrideArgs.builder()
.priority("string")
.build())
.build())
.customEvaluationDelay(0)
.undetectedValuesManagement(AlertTypeDefinitionMetricThresholdUndetectedValuesManagementArgs.builder()
.autoRetireTimeframe("string")
.triggerUndetectedValues(false)
.build())
.build())
.tracingImmediate(AlertTypeDefinitionTracingImmediateArgs.builder()
.tracingFilter(AlertTypeDefinitionTracingImmediateTracingFilterArgs.builder()
.latencyThresholdMs(0)
.tracingLabelFilters(AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersArgs.builder()
.applicationNames(AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersApplicationNameArgs.builder()
.values("string")
.operation("string")
.build())
.operationNames(AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersOperationNameArgs.builder()
.values("string")
.operation("string")
.build())
.serviceNames(AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersServiceNameArgs.builder()
.values("string")
.operation("string")
.build())
.spanFields(AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersSpanFieldArgs.builder()
.key("string")
.filterType(AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersSpanFieldFilterTypeArgs.builder()
.values("string")
.operation("string")
.build())
.build())
.subsystemNames(AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersSubsystemNameArgs.builder()
.values("string")
.operation("string")
.build())
.build())
.build())
.notificationPayloadFilters("string")
.build())
.tracingThreshold(AlertTypeDefinitionTracingThresholdArgs.builder()
.rules(AlertTypeDefinitionTracingThresholdRuleArgs.builder()
.condition(AlertTypeDefinitionTracingThresholdRuleConditionArgs.builder()
.spanAmount(0)
.timeWindow("string")
.conditionType("string")
.build())
.build())
.tracingFilter(AlertTypeDefinitionTracingThresholdTracingFilterArgs.builder()
.latencyThresholdMs(0)
.tracingLabelFilters(AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersArgs.builder()
.applicationNames(AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersApplicationNameArgs.builder()
.values("string")
.operation("string")
.build())
.operationNames(AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersOperationNameArgs.builder()
.values("string")
.operation("string")
.build())
.serviceNames(AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersServiceNameArgs.builder()
.values("string")
.operation("string")
.build())
.spanFields(AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersSpanFieldArgs.builder()
.key("string")
.filterType(AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersSpanFieldFilterTypeArgs.builder()
.values("string")
.operation("string")
.build())
.build())
.subsystemNames(AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersSubsystemNameArgs.builder()
.values("string")
.operation("string")
.build())
.build())
.build())
.notificationPayloadFilters("string")
.build())
.build())
.description("string")
.enabled(false)
.groupBies("string")
.incidentsSettings(AlertIncidentsSettingsArgs.builder()
.notifyOn("string")
.retriggeringPeriod(AlertIncidentsSettingsRetriggeringPeriodArgs.builder()
.minutes(0)
.build())
.build())
.labels(Map.of("string", "string"))
.name("string")
.notificationGroup(AlertNotificationGroupArgs.builder()
.groupByKeys("string")
.webhooksSettings(AlertNotificationGroupWebhooksSettingArgs.builder()
.integrationId("string")
.notifyOn("string")
.recipients("string")
.retriggeringPeriod(AlertNotificationGroupWebhooksSettingRetriggeringPeriodArgs.builder()
.minutes(0)
.build())
.build())
.build())
.phantomMode(false)
.schedule(AlertScheduleArgs.builder()
.activeOn(AlertScheduleActiveOnArgs.builder()
.daysOfWeeks("string")
.endTime("string")
.startTime("string")
.utcOffset("string")
.build())
.build())
.build());
alert_resource = coralogix.Alert("alertResource",
type_definition={
"flow": {
"stages": [{
"flow_stages_groups": [{
"alert_defs": [{
"id": "string",
"not_": False,
}],
"alerts_op": "string",
"next_op": "string",
}],
"timeframe_type": "string",
"timeframe_ms": 0,
}],
"enforce_suppression": False,
},
"logs_anomaly": {
"rules": [{
"condition": {
"minimum_threshold": 0,
"time_window": "string",
"condition_type": "string",
},
}],
"custom_evaluation_delay": 0,
"logs_filter": {
"simple_filter": {
"label_filters": {
"application_names": [{
"value": "string",
"operation": "string",
}],
"severities": ["string"],
"subsystem_names": [{
"value": "string",
"operation": "string",
}],
},
"lucene_query": "string",
},
},
"notification_payload_filters": ["string"],
},
"logs_immediate": {
"logs_filter": {
"simple_filter": {
"label_filters": {
"application_names": [{
"value": "string",
"operation": "string",
}],
"severities": ["string"],
"subsystem_names": [{
"value": "string",
"operation": "string",
}],
},
"lucene_query": "string",
},
},
"notification_payload_filters": ["string"],
},
"logs_new_value": {
"rules": [{
"condition": {
"keypath_to_track": "string",
"time_window": "string",
},
}],
"logs_filter": {
"simple_filter": {
"label_filters": {
"application_names": [{
"value": "string",
"operation": "string",
}],
"severities": ["string"],
"subsystem_names": [{
"value": "string",
"operation": "string",
}],
},
"lucene_query": "string",
},
},
"notification_payload_filters": ["string"],
},
"logs_ratio_threshold": {
"denominator_alias": "string",
"numerator_alias": "string",
"rules": [{
"condition": {
"condition_type": "string",
"threshold": 0,
"time_window": "string",
},
"override": {
"priority": "string",
},
}],
"custom_evaluation_delay": 0,
"denominator": {
"simple_filter": {
"label_filters": {
"application_names": [{
"value": "string",
"operation": "string",
}],
"severities": ["string"],
"subsystem_names": [{
"value": "string",
"operation": "string",
}],
},
"lucene_query": "string",
},
},
"group_by_for": "string",
"notification_payload_filters": ["string"],
"numerator": {
"simple_filter": {
"label_filters": {
"application_names": [{
"value": "string",
"operation": "string",
}],
"severities": ["string"],
"subsystem_names": [{
"value": "string",
"operation": "string",
}],
},
"lucene_query": "string",
},
},
},
"logs_threshold": {
"rules": [{
"condition": {
"condition_type": "string",
"threshold": 0,
"time_window": "string",
},
"override": {
"priority": "string",
},
}],
"custom_evaluation_delay": 0,
"logs_filter": {
"simple_filter": {
"label_filters": {
"application_names": [{
"value": "string",
"operation": "string",
}],
"severities": ["string"],
"subsystem_names": [{
"value": "string",
"operation": "string",
}],
},
"lucene_query": "string",
},
},
"notification_payload_filters": ["string"],
"undetected_values_management": {
"auto_retire_timeframe": "string",
"trigger_undetected_values": False,
},
},
"logs_time_relative_threshold": {
"rules": [{
"condition": {
"compared_to": "string",
"condition_type": "string",
"threshold": 0,
},
"override": {
"priority": "string",
},
}],
"custom_evaluation_delay": 0,
"logs_filter": {
"simple_filter": {
"label_filters": {
"application_names": [{
"value": "string",
"operation": "string",
}],
"severities": ["string"],
"subsystem_names": [{
"value": "string",
"operation": "string",
}],
},
"lucene_query": "string",
},
},
"notification_payload_filters": ["string"],
"undetected_values_management": {
"auto_retire_timeframe": "string",
"trigger_undetected_values": False,
},
},
"logs_unique_count": {
"rules": [{
"condition": {
"max_unique_count": 0,
"time_window": "string",
},
}],
"unique_count_keypath": "string",
"logs_filter": {
"simple_filter": {
"label_filters": {
"application_names": [{
"value": "string",
"operation": "string",
}],
"severities": ["string"],
"subsystem_names": [{
"value": "string",
"operation": "string",
}],
},
"lucene_query": "string",
},
},
"max_unique_count_per_group_by_key": 0,
"notification_payload_filters": ["string"],
},
"metric_anomaly": {
"metric_filter": {
"promql": "string",
},
"rules": [{
"condition": {
"condition_type": "string",
"for_over_pct": 0,
"min_non_null_values_pct": 0,
"of_the_last": "string",
"threshold": 0,
},
}],
"custom_evaluation_delay": 0,
},
"metric_threshold": {
"metric_filter": {
"promql": "string",
},
"missing_values": {
"min_non_null_values_pct": 0,
"replace_with_zero": False,
},
"rules": [{
"condition": {
"condition_type": "string",
"for_over_pct": 0,
"of_the_last": "string",
"threshold": 0,
},
"override": {
"priority": "string",
},
}],
"custom_evaluation_delay": 0,
"undetected_values_management": {
"auto_retire_timeframe": "string",
"trigger_undetected_values": False,
},
},
"tracing_immediate": {
"tracing_filter": {
"latency_threshold_ms": 0,
"tracing_label_filters": {
"application_names": [{
"values": ["string"],
"operation": "string",
}],
"operation_names": [{
"values": ["string"],
"operation": "string",
}],
"service_names": [{
"values": ["string"],
"operation": "string",
}],
"span_fields": [{
"key": "string",
"filter_type": {
"values": ["string"],
"operation": "string",
},
}],
"subsystem_names": [{
"values": ["string"],
"operation": "string",
}],
},
},
"notification_payload_filters": ["string"],
},
"tracing_threshold": {
"rules": [{
"condition": {
"span_amount": 0,
"time_window": "string",
"condition_type": "string",
},
}],
"tracing_filter": {
"latency_threshold_ms": 0,
"tracing_label_filters": {
"application_names": [{
"values": ["string"],
"operation": "string",
}],
"operation_names": [{
"values": ["string"],
"operation": "string",
}],
"service_names": [{
"values": ["string"],
"operation": "string",
}],
"span_fields": [{
"key": "string",
"filter_type": {
"values": ["string"],
"operation": "string",
},
}],
"subsystem_names": [{
"values": ["string"],
"operation": "string",
}],
},
},
"notification_payload_filters": ["string"],
},
},
description="string",
enabled=False,
group_bies=["string"],
incidents_settings={
"notify_on": "string",
"retriggering_period": {
"minutes": 0,
},
},
labels={
"string": "string",
},
name="string",
notification_group={
"group_by_keys": ["string"],
"webhooks_settings": [{
"integration_id": "string",
"notify_on": "string",
"recipients": ["string"],
"retriggering_period": {
"minutes": 0,
},
}],
},
phantom_mode=False,
schedule={
"active_on": {
"days_of_weeks": ["string"],
"end_time": "string",
"start_time": "string",
"utc_offset": "string",
},
})
const alertResource = new coralogix.Alert("alertResource", {
typeDefinition: {
flow: {
stages: [{
flowStagesGroups: [{
alertDefs: [{
id: "string",
not: false,
}],
alertsOp: "string",
nextOp: "string",
}],
timeframeType: "string",
timeframeMs: 0,
}],
enforceSuppression: false,
},
logsAnomaly: {
rules: [{
condition: {
minimumThreshold: 0,
timeWindow: "string",
conditionType: "string",
},
}],
customEvaluationDelay: 0,
logsFilter: {
simpleFilter: {
labelFilters: {
applicationNames: [{
value: "string",
operation: "string",
}],
severities: ["string"],
subsystemNames: [{
value: "string",
operation: "string",
}],
},
luceneQuery: "string",
},
},
notificationPayloadFilters: ["string"],
},
logsImmediate: {
logsFilter: {
simpleFilter: {
labelFilters: {
applicationNames: [{
value: "string",
operation: "string",
}],
severities: ["string"],
subsystemNames: [{
value: "string",
operation: "string",
}],
},
luceneQuery: "string",
},
},
notificationPayloadFilters: ["string"],
},
logsNewValue: {
rules: [{
condition: {
keypathToTrack: "string",
timeWindow: "string",
},
}],
logsFilter: {
simpleFilter: {
labelFilters: {
applicationNames: [{
value: "string",
operation: "string",
}],
severities: ["string"],
subsystemNames: [{
value: "string",
operation: "string",
}],
},
luceneQuery: "string",
},
},
notificationPayloadFilters: ["string"],
},
logsRatioThreshold: {
denominatorAlias: "string",
numeratorAlias: "string",
rules: [{
condition: {
conditionType: "string",
threshold: 0,
timeWindow: "string",
},
override: {
priority: "string",
},
}],
customEvaluationDelay: 0,
denominator: {
simpleFilter: {
labelFilters: {
applicationNames: [{
value: "string",
operation: "string",
}],
severities: ["string"],
subsystemNames: [{
value: "string",
operation: "string",
}],
},
luceneQuery: "string",
},
},
groupByFor: "string",
notificationPayloadFilters: ["string"],
numerator: {
simpleFilter: {
labelFilters: {
applicationNames: [{
value: "string",
operation: "string",
}],
severities: ["string"],
subsystemNames: [{
value: "string",
operation: "string",
}],
},
luceneQuery: "string",
},
},
},
logsThreshold: {
rules: [{
condition: {
conditionType: "string",
threshold: 0,
timeWindow: "string",
},
override: {
priority: "string",
},
}],
customEvaluationDelay: 0,
logsFilter: {
simpleFilter: {
labelFilters: {
applicationNames: [{
value: "string",
operation: "string",
}],
severities: ["string"],
subsystemNames: [{
value: "string",
operation: "string",
}],
},
luceneQuery: "string",
},
},
notificationPayloadFilters: ["string"],
undetectedValuesManagement: {
autoRetireTimeframe: "string",
triggerUndetectedValues: false,
},
},
logsTimeRelativeThreshold: {
rules: [{
condition: {
comparedTo: "string",
conditionType: "string",
threshold: 0,
},
override: {
priority: "string",
},
}],
customEvaluationDelay: 0,
logsFilter: {
simpleFilter: {
labelFilters: {
applicationNames: [{
value: "string",
operation: "string",
}],
severities: ["string"],
subsystemNames: [{
value: "string",
operation: "string",
}],
},
luceneQuery: "string",
},
},
notificationPayloadFilters: ["string"],
undetectedValuesManagement: {
autoRetireTimeframe: "string",
triggerUndetectedValues: false,
},
},
logsUniqueCount: {
rules: [{
condition: {
maxUniqueCount: 0,
timeWindow: "string",
},
}],
uniqueCountKeypath: "string",
logsFilter: {
simpleFilter: {
labelFilters: {
applicationNames: [{
value: "string",
operation: "string",
}],
severities: ["string"],
subsystemNames: [{
value: "string",
operation: "string",
}],
},
luceneQuery: "string",
},
},
maxUniqueCountPerGroupByKey: 0,
notificationPayloadFilters: ["string"],
},
metricAnomaly: {
metricFilter: {
promql: "string",
},
rules: [{
condition: {
conditionType: "string",
forOverPct: 0,
minNonNullValuesPct: 0,
ofTheLast: "string",
threshold: 0,
},
}],
customEvaluationDelay: 0,
},
metricThreshold: {
metricFilter: {
promql: "string",
},
missingValues: {
minNonNullValuesPct: 0,
replaceWithZero: false,
},
rules: [{
condition: {
conditionType: "string",
forOverPct: 0,
ofTheLast: "string",
threshold: 0,
},
override: {
priority: "string",
},
}],
customEvaluationDelay: 0,
undetectedValuesManagement: {
autoRetireTimeframe: "string",
triggerUndetectedValues: false,
},
},
tracingImmediate: {
tracingFilter: {
latencyThresholdMs: 0,
tracingLabelFilters: {
applicationNames: [{
values: ["string"],
operation: "string",
}],
operationNames: [{
values: ["string"],
operation: "string",
}],
serviceNames: [{
values: ["string"],
operation: "string",
}],
spanFields: [{
key: "string",
filterType: {
values: ["string"],
operation: "string",
},
}],
subsystemNames: [{
values: ["string"],
operation: "string",
}],
},
},
notificationPayloadFilters: ["string"],
},
tracingThreshold: {
rules: [{
condition: {
spanAmount: 0,
timeWindow: "string",
conditionType: "string",
},
}],
tracingFilter: {
latencyThresholdMs: 0,
tracingLabelFilters: {
applicationNames: [{
values: ["string"],
operation: "string",
}],
operationNames: [{
values: ["string"],
operation: "string",
}],
serviceNames: [{
values: ["string"],
operation: "string",
}],
spanFields: [{
key: "string",
filterType: {
values: ["string"],
operation: "string",
},
}],
subsystemNames: [{
values: ["string"],
operation: "string",
}],
},
},
notificationPayloadFilters: ["string"],
},
},
description: "string",
enabled: false,
groupBies: ["string"],
incidentsSettings: {
notifyOn: "string",
retriggeringPeriod: {
minutes: 0,
},
},
labels: {
string: "string",
},
name: "string",
notificationGroup: {
groupByKeys: ["string"],
webhooksSettings: [{
integrationId: "string",
notifyOn: "string",
recipients: ["string"],
retriggeringPeriod: {
minutes: 0,
},
}],
},
phantomMode: false,
schedule: {
activeOn: {
daysOfWeeks: ["string"],
endTime: "string",
startTime: "string",
utcOffset: "string",
},
},
});
type: coralogix:Alert
properties:
description: string
enabled: false
groupBies:
- string
incidentsSettings:
notifyOn: string
retriggeringPeriod:
minutes: 0
labels:
string: string
name: string
notificationGroup:
groupByKeys:
- string
webhooksSettings:
- integrationId: string
notifyOn: string
recipients:
- string
retriggeringPeriod:
minutes: 0
phantomMode: false
schedule:
activeOn:
daysOfWeeks:
- string
endTime: string
startTime: string
utcOffset: string
typeDefinition:
flow:
enforceSuppression: false
stages:
- flowStagesGroups:
- alertDefs:
- id: string
not: false
alertsOp: string
nextOp: string
timeframeMs: 0
timeframeType: string
logsAnomaly:
customEvaluationDelay: 0
logsFilter:
simpleFilter:
labelFilters:
applicationNames:
- operation: string
value: string
severities:
- string
subsystemNames:
- operation: string
value: string
luceneQuery: string
notificationPayloadFilters:
- string
rules:
- condition:
conditionType: string
minimumThreshold: 0
timeWindow: string
logsImmediate:
logsFilter:
simpleFilter:
labelFilters:
applicationNames:
- operation: string
value: string
severities:
- string
subsystemNames:
- operation: string
value: string
luceneQuery: string
notificationPayloadFilters:
- string
logsNewValue:
logsFilter:
simpleFilter:
labelFilters:
applicationNames:
- operation: string
value: string
severities:
- string
subsystemNames:
- operation: string
value: string
luceneQuery: string
notificationPayloadFilters:
- string
rules:
- condition:
keypathToTrack: string
timeWindow: string
logsRatioThreshold:
customEvaluationDelay: 0
denominator:
simpleFilter:
labelFilters:
applicationNames:
- operation: string
value: string
severities:
- string
subsystemNames:
- operation: string
value: string
luceneQuery: string
denominatorAlias: string
groupByFor: string
notificationPayloadFilters:
- string
numerator:
simpleFilter:
labelFilters:
applicationNames:
- operation: string
value: string
severities:
- string
subsystemNames:
- operation: string
value: string
luceneQuery: string
numeratorAlias: string
rules:
- condition:
conditionType: string
threshold: 0
timeWindow: string
override:
priority: string
logsThreshold:
customEvaluationDelay: 0
logsFilter:
simpleFilter:
labelFilters:
applicationNames:
- operation: string
value: string
severities:
- string
subsystemNames:
- operation: string
value: string
luceneQuery: string
notificationPayloadFilters:
- string
rules:
- condition:
conditionType: string
threshold: 0
timeWindow: string
override:
priority: string
undetectedValuesManagement:
autoRetireTimeframe: string
triggerUndetectedValues: false
logsTimeRelativeThreshold:
customEvaluationDelay: 0
logsFilter:
simpleFilter:
labelFilters:
applicationNames:
- operation: string
value: string
severities:
- string
subsystemNames:
- operation: string
value: string
luceneQuery: string
notificationPayloadFilters:
- string
rules:
- condition:
comparedTo: string
conditionType: string
threshold: 0
override:
priority: string
undetectedValuesManagement:
autoRetireTimeframe: string
triggerUndetectedValues: false
logsUniqueCount:
logsFilter:
simpleFilter:
labelFilters:
applicationNames:
- operation: string
value: string
severities:
- string
subsystemNames:
- operation: string
value: string
luceneQuery: string
maxUniqueCountPerGroupByKey: 0
notificationPayloadFilters:
- string
rules:
- condition:
maxUniqueCount: 0
timeWindow: string
uniqueCountKeypath: string
metricAnomaly:
customEvaluationDelay: 0
metricFilter:
promql: string
rules:
- condition:
conditionType: string
forOverPct: 0
minNonNullValuesPct: 0
ofTheLast: string
threshold: 0
metricThreshold:
customEvaluationDelay: 0
metricFilter:
promql: string
missingValues:
minNonNullValuesPct: 0
replaceWithZero: false
rules:
- condition:
conditionType: string
forOverPct: 0
ofTheLast: string
threshold: 0
override:
priority: string
undetectedValuesManagement:
autoRetireTimeframe: string
triggerUndetectedValues: false
tracingImmediate:
notificationPayloadFilters:
- string
tracingFilter:
latencyThresholdMs: 0
tracingLabelFilters:
applicationNames:
- operation: string
values:
- string
operationNames:
- operation: string
values:
- string
serviceNames:
- operation: string
values:
- string
spanFields:
- filterType:
operation: string
values:
- string
key: string
subsystemNames:
- operation: string
values:
- string
tracingThreshold:
notificationPayloadFilters:
- string
rules:
- condition:
conditionType: string
spanAmount: 0
timeWindow: string
tracingFilter:
latencyThresholdMs: 0
tracingLabelFilters:
applicationNames:
- operation: string
values:
- string
operationNames:
- operation: string
values:
- string
serviceNames:
- operation: string
values:
- string
spanFields:
- filterType:
operation: string
values:
- string
key: string
subsystemNames:
- operation: string
values:
- string
Alert Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Alert resource accepts the following input properties:
- Type
Definition AlertType Definition - Alert type definition. Exactly one of the following must be specified: logsimmediate, logsthreshold, logsanomaly, logsratiothreshold, logsnewvalue, logsuniquecount, logstimerelativethreshold, metricthreshold, metricanomaly, tracingimmediate, tracingthreshold, flow.
- Description string
- Alert description.
- Enabled bool
- Alert enabled status. True by default.
- Group
Bies List<string> - Group by fields.
- Incidents
Settings AlertIncidents Settings - Labels Dictionary<string, string>
- Name string
- Alert name.
- Notification
Group AlertNotification Group - Phantom
Mode bool - Priority string
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- Schedule
Alert
Schedule - Alert schedule. Will be activated all the time if not specified.
- Type
Definition AlertType Definition Args - Alert type definition. Exactly one of the following must be specified: logsimmediate, logsthreshold, logsanomaly, logsratiothreshold, logsnewvalue, logsuniquecount, logstimerelativethreshold, metricthreshold, metricanomaly, tracingimmediate, tracingthreshold, flow.
- Description string
- Alert description.
- Enabled bool
- Alert enabled status. True by default.
- Group
Bies []string - Group by fields.
- Incidents
Settings AlertIncidents Settings Args - Labels map[string]string
- Name string
- Alert name.
- Notification
Group AlertNotification Group Args - Phantom
Mode bool - Priority string
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- Schedule
Alert
Schedule Args - Alert schedule. Will be activated all the time if not specified.
- type
Definition AlertType Definition - Alert type definition. Exactly one of the following must be specified: logsimmediate, logsthreshold, logsanomaly, logsratiothreshold, logsnewvalue, logsuniquecount, logstimerelativethreshold, metricthreshold, metricanomaly, tracingimmediate, tracingthreshold, flow.
- description String
- Alert description.
- enabled Boolean
- Alert enabled status. True by default.
- group
Bies List<String> - Group by fields.
- incidents
Settings AlertIncidents Settings - labels Map<String,String>
- name String
- Alert name.
- notification
Group AlertNotification Group - phantom
Mode Boolean - priority String
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- schedule
Alert
Schedule - Alert schedule. Will be activated all the time if not specified.
- type
Definition AlertType Definition - Alert type definition. Exactly one of the following must be specified: logsimmediate, logsthreshold, logsanomaly, logsratiothreshold, logsnewvalue, logsuniquecount, logstimerelativethreshold, metricthreshold, metricanomaly, tracingimmediate, tracingthreshold, flow.
- description string
- Alert description.
- enabled boolean
- Alert enabled status. True by default.
- group
Bies string[] - Group by fields.
- incidents
Settings AlertIncidents Settings - labels {[key: string]: string}
- name string
- Alert name.
- notification
Group AlertNotification Group - phantom
Mode boolean - priority string
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- schedule
Alert
Schedule - Alert schedule. Will be activated all the time if not specified.
- type_
definition AlertType Definition Args - Alert type definition. Exactly one of the following must be specified: logsimmediate, logsthreshold, logsanomaly, logsratiothreshold, logsnewvalue, logsuniquecount, logstimerelativethreshold, metricthreshold, metricanomaly, tracingimmediate, tracingthreshold, flow.
- description str
- Alert description.
- enabled bool
- Alert enabled status. True by default.
- group_
bies Sequence[str] - Group by fields.
- incidents_
settings AlertIncidents Settings Args - labels Mapping[str, str]
- name str
- Alert name.
- notification_
group AlertNotification Group Args - phantom_
mode bool - priority str
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- schedule
Alert
Schedule Args - Alert schedule. Will be activated all the time if not specified.
- type
Definition Property Map - Alert type definition. Exactly one of the following must be specified: logsimmediate, logsthreshold, logsanomaly, logsratiothreshold, logsnewvalue, logsuniquecount, logstimerelativethreshold, metricthreshold, metricanomaly, tracingimmediate, tracingthreshold, flow.
- description String
- Alert description.
- enabled Boolean
- Alert enabled status. True by default.
- group
Bies List<String> - Group by fields.
- incidents
Settings Property Map - labels Map<String>
- name String
- Alert name.
- notification
Group Property Map - phantom
Mode Boolean - priority String
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- schedule Property Map
- Alert schedule. Will be activated all the time if not specified.
Outputs
All input properties are implicitly available as output properties. Additionally, the Alert resource produces the following output properties:
Look up Existing Alert Resource
Get an existing Alert resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AlertState, opts?: CustomResourceOptions): Alert
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
deleted: Optional[bool] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
group_bies: Optional[Sequence[str]] = None,
incidents_settings: Optional[AlertIncidentsSettingsArgs] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
notification_group: Optional[AlertNotificationGroupArgs] = None,
phantom_mode: Optional[bool] = None,
priority: Optional[str] = None,
schedule: Optional[AlertScheduleArgs] = None,
type_definition: Optional[AlertTypeDefinitionArgs] = None) -> Alert
func GetAlert(ctx *Context, name string, id IDInput, state *AlertState, opts ...ResourceOption) (*Alert, error)
public static Alert Get(string name, Input<string> id, AlertState? state, CustomResourceOptions? opts = null)
public static Alert get(String name, Output<String> id, AlertState state, CustomResourceOptions options)
resources: _: type: coralogix:Alert get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Deleted bool
- Description string
- Alert description.
- Enabled bool
- Alert enabled status. True by default.
- Group
Bies List<string> - Group by fields.
- Incidents
Settings AlertIncidents Settings - Labels Dictionary<string, string>
- Name string
- Alert name.
- Notification
Group AlertNotification Group - Phantom
Mode bool - Priority string
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- Schedule
Alert
Schedule - Alert schedule. Will be activated all the time if not specified.
- Type
Definition AlertType Definition - Alert type definition. Exactly one of the following must be specified: logsimmediate, logsthreshold, logsanomaly, logsratiothreshold, logsnewvalue, logsuniquecount, logstimerelativethreshold, metricthreshold, metricanomaly, tracingimmediate, tracingthreshold, flow.
- Deleted bool
- Description string
- Alert description.
- Enabled bool
- Alert enabled status. True by default.
- Group
Bies []string - Group by fields.
- Incidents
Settings AlertIncidents Settings Args - Labels map[string]string
- Name string
- Alert name.
- Notification
Group AlertNotification Group Args - Phantom
Mode bool - Priority string
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- Schedule
Alert
Schedule Args - Alert schedule. Will be activated all the time if not specified.
- Type
Definition AlertType Definition Args - Alert type definition. Exactly one of the following must be specified: logsimmediate, logsthreshold, logsanomaly, logsratiothreshold, logsnewvalue, logsuniquecount, logstimerelativethreshold, metricthreshold, metricanomaly, tracingimmediate, tracingthreshold, flow.
- deleted Boolean
- description String
- Alert description.
- enabled Boolean
- Alert enabled status. True by default.
- group
Bies List<String> - Group by fields.
- incidents
Settings AlertIncidents Settings - labels Map<String,String>
- name String
- Alert name.
- notification
Group AlertNotification Group - phantom
Mode Boolean - priority String
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- schedule
Alert
Schedule - Alert schedule. Will be activated all the time if not specified.
- type
Definition AlertType Definition - Alert type definition. Exactly one of the following must be specified: logsimmediate, logsthreshold, logsanomaly, logsratiothreshold, logsnewvalue, logsuniquecount, logstimerelativethreshold, metricthreshold, metricanomaly, tracingimmediate, tracingthreshold, flow.
- deleted boolean
- description string
- Alert description.
- enabled boolean
- Alert enabled status. True by default.
- group
Bies string[] - Group by fields.
- incidents
Settings AlertIncidents Settings - labels {[key: string]: string}
- name string
- Alert name.
- notification
Group AlertNotification Group - phantom
Mode boolean - priority string
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- schedule
Alert
Schedule - Alert schedule. Will be activated all the time if not specified.
- type
Definition AlertType Definition - Alert type definition. Exactly one of the following must be specified: logsimmediate, logsthreshold, logsanomaly, logsratiothreshold, logsnewvalue, logsuniquecount, logstimerelativethreshold, metricthreshold, metricanomaly, tracingimmediate, tracingthreshold, flow.
- deleted bool
- description str
- Alert description.
- enabled bool
- Alert enabled status. True by default.
- group_
bies Sequence[str] - Group by fields.
- incidents_
settings AlertIncidents Settings Args - labels Mapping[str, str]
- name str
- Alert name.
- notification_
group AlertNotification Group Args - phantom_
mode bool - priority str
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- schedule
Alert
Schedule Args - Alert schedule. Will be activated all the time if not specified.
- type_
definition AlertType Definition Args - Alert type definition. Exactly one of the following must be specified: logsimmediate, logsthreshold, logsanomaly, logsratiothreshold, logsnewvalue, logsuniquecount, logstimerelativethreshold, metricthreshold, metricanomaly, tracingimmediate, tracingthreshold, flow.
- deleted Boolean
- description String
- Alert description.
- enabled Boolean
- Alert enabled status. True by default.
- group
Bies List<String> - Group by fields.
- incidents
Settings Property Map - labels Map<String>
- name String
- Alert name.
- notification
Group Property Map - phantom
Mode Boolean - priority String
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- schedule Property Map
- Alert schedule. Will be activated all the time if not specified.
- type
Definition Property Map - Alert type definition. Exactly one of the following must be specified: logsimmediate, logsthreshold, logsanomaly, logsratiothreshold, logsnewvalue, logsuniquecount, logstimerelativethreshold, metricthreshold, metricanomaly, tracingimmediate, tracingthreshold, flow.
Supporting Types
AlertIncidentsSettings, AlertIncidentsSettingsArgs
- Notify
On string - Notify on. Valid values: ["Triggered Only" "Triggered and Resolved"].
- Retriggering
Period AlertIncidents Settings Retriggering Period
- Notify
On string - Notify on. Valid values: ["Triggered Only" "Triggered and Resolved"].
- Retriggering
Period AlertIncidents Settings Retriggering Period
- notify
On String - Notify on. Valid values: ["Triggered Only" "Triggered and Resolved"].
- retriggering
Period AlertIncidents Settings Retriggering Period
- notify
On string - Notify on. Valid values: ["Triggered Only" "Triggered and Resolved"].
- retriggering
Period AlertIncidents Settings Retriggering Period
- notify_
on str - Notify on. Valid values: ["Triggered Only" "Triggered and Resolved"].
- retriggering_
period AlertIncidents Settings Retriggering Period
- notify
On String - Notify on. Valid values: ["Triggered Only" "Triggered and Resolved"].
- retriggering
Period Property Map
AlertIncidentsSettingsRetriggeringPeriod, AlertIncidentsSettingsRetriggeringPeriodArgs
- Minutes double
- Minutes float64
- minutes Double
- minutes number
- minutes float
- minutes Number
AlertNotificationGroup, AlertNotificationGroupArgs
- group
By List<String>Keys - webhooks
Settings List<Property Map>
AlertNotificationGroupWebhooksSetting, AlertNotificationGroupWebhooksSettingArgs
- Integration
Id string - Notify
On string - Notify on. Valid values: ["Triggered Only" "Triggered and Resolved"]. Triggered Only by default.
- Recipients List<string>
- Retriggering
Period AlertNotification Group Webhooks Setting Retriggering Period - Retriggering period in minutes. 10 minutes by default.
- Integration
Id string - Notify
On string - Notify on. Valid values: ["Triggered Only" "Triggered and Resolved"]. Triggered Only by default.
- Recipients []string
- Retriggering
Period AlertNotification Group Webhooks Setting Retriggering Period - Retriggering period in minutes. 10 minutes by default.
- integration
Id String - notify
On String - Notify on. Valid values: ["Triggered Only" "Triggered and Resolved"]. Triggered Only by default.
- recipients List<String>
- retriggering
Period AlertNotification Group Webhooks Setting Retriggering Period - Retriggering period in minutes. 10 minutes by default.
- integration
Id string - notify
On string - Notify on. Valid values: ["Triggered Only" "Triggered and Resolved"]. Triggered Only by default.
- recipients string[]
- retriggering
Period AlertNotification Group Webhooks Setting Retriggering Period - Retriggering period in minutes. 10 minutes by default.
- integration_
id str - notify_
on str - Notify on. Valid values: ["Triggered Only" "Triggered and Resolved"]. Triggered Only by default.
- recipients Sequence[str]
- retriggering_
period AlertNotification Group Webhooks Setting Retriggering Period - Retriggering period in minutes. 10 minutes by default.
- integration
Id String - notify
On String - Notify on. Valid values: ["Triggered Only" "Triggered and Resolved"]. Triggered Only by default.
- recipients List<String>
- retriggering
Period Property Map - Retriggering period in minutes. 10 minutes by default.
AlertNotificationGroupWebhooksSettingRetriggeringPeriod, AlertNotificationGroupWebhooksSettingRetriggeringPeriodArgs
- Minutes double
- Minutes float64
- minutes Double
- minutes number
- minutes float
- minutes Number
AlertSchedule, AlertScheduleArgs
AlertScheduleActiveOn, AlertScheduleActiveOnArgs
- Days
Of List<string>Weeks - Days of the week. Valid values: ["Friday" "Monday" "Saturday" "Sunday" "Thursday" "Tuesday" "Wednesday"].
- End
Time string - Start
Time string - Utc
Offset string
- Days
Of []stringWeeks - Days of the week. Valid values: ["Friday" "Monday" "Saturday" "Sunday" "Thursday" "Tuesday" "Wednesday"].
- End
Time string - Start
Time string - Utc
Offset string
- days
Of List<String>Weeks - Days of the week. Valid values: ["Friday" "Monday" "Saturday" "Sunday" "Thursday" "Tuesday" "Wednesday"].
- end
Time String - start
Time String - utc
Offset String
- days
Of string[]Weeks - Days of the week. Valid values: ["Friday" "Monday" "Saturday" "Sunday" "Thursday" "Tuesday" "Wednesday"].
- end
Time string - start
Time string - utc
Offset string
- days_
of_ Sequence[str]weeks - Days of the week. Valid values: ["Friday" "Monday" "Saturday" "Sunday" "Thursday" "Tuesday" "Wednesday"].
- end_
time str - start_
time str - utc_
offset str
- days
Of List<String>Weeks - Days of the week. Valid values: ["Friday" "Monday" "Saturday" "Sunday" "Thursday" "Tuesday" "Wednesday"].
- end
Time String - start
Time String - utc
Offset String
AlertTypeDefinition, AlertTypeDefinitionArgs
- Flow
Alert
Type Definition Flow - Logs
Anomaly AlertType Definition Logs Anomaly - Logs
Immediate AlertType Definition Logs Immediate - Logs
New AlertValue Type Definition Logs New Value - Logs
Ratio AlertThreshold Type Definition Logs Ratio Threshold - Logs
Threshold AlertType Definition Logs Threshold - Logs
Time AlertRelative Threshold Type Definition Logs Time Relative Threshold - Logs
Unique AlertCount Type Definition Logs Unique Count - Metric
Anomaly AlertType Definition Metric Anomaly - Metric
Threshold AlertType Definition Metric Threshold - Tracing
Immediate AlertType Definition Tracing Immediate - Tracing
Threshold AlertType Definition Tracing Threshold
- Flow
Alert
Type Definition Flow - Logs
Anomaly AlertType Definition Logs Anomaly - Logs
Immediate AlertType Definition Logs Immediate - Logs
New AlertValue Type Definition Logs New Value - Logs
Ratio AlertThreshold Type Definition Logs Ratio Threshold - Logs
Threshold AlertType Definition Logs Threshold - Logs
Time AlertRelative Threshold Type Definition Logs Time Relative Threshold - Logs
Unique AlertCount Type Definition Logs Unique Count - Metric
Anomaly AlertType Definition Metric Anomaly - Metric
Threshold AlertType Definition Metric Threshold - Tracing
Immediate AlertType Definition Tracing Immediate - Tracing
Threshold AlertType Definition Tracing Threshold
- flow
Alert
Type Definition Flow - logs
Anomaly AlertType Definition Logs Anomaly - logs
Immediate AlertType Definition Logs Immediate - logs
New AlertValue Type Definition Logs New Value - logs
Ratio AlertThreshold Type Definition Logs Ratio Threshold - logs
Threshold AlertType Definition Logs Threshold - logs
Time AlertRelative Threshold Type Definition Logs Time Relative Threshold - logs
Unique AlertCount Type Definition Logs Unique Count - metric
Anomaly AlertType Definition Metric Anomaly - metric
Threshold AlertType Definition Metric Threshold - tracing
Immediate AlertType Definition Tracing Immediate - tracing
Threshold AlertType Definition Tracing Threshold
- flow
Alert
Type Definition Flow - logs
Anomaly AlertType Definition Logs Anomaly - logs
Immediate AlertType Definition Logs Immediate - logs
New AlertValue Type Definition Logs New Value - logs
Ratio AlertThreshold Type Definition Logs Ratio Threshold - logs
Threshold AlertType Definition Logs Threshold - logs
Time AlertRelative Threshold Type Definition Logs Time Relative Threshold - logs
Unique AlertCount Type Definition Logs Unique Count - metric
Anomaly AlertType Definition Metric Anomaly - metric
Threshold AlertType Definition Metric Threshold - tracing
Immediate AlertType Definition Tracing Immediate - tracing
Threshold AlertType Definition Tracing Threshold
- flow
Alert
Type Definition Flow - logs_
anomaly AlertType Definition Logs Anomaly - logs_
immediate AlertType Definition Logs Immediate - logs_
new_ Alertvalue Type Definition Logs New Value - logs_
ratio_ Alertthreshold Type Definition Logs Ratio Threshold - logs_
threshold AlertType Definition Logs Threshold - logs_
time_ Alertrelative_ threshold Type Definition Logs Time Relative Threshold - logs_
unique_ Alertcount Type Definition Logs Unique Count - metric_
anomaly AlertType Definition Metric Anomaly - metric_
threshold AlertType Definition Metric Threshold - tracing_
immediate AlertType Definition Tracing Immediate - tracing_
threshold AlertType Definition Tracing Threshold
- flow Property Map
- logs
Anomaly Property Map - logs
Immediate Property Map - logs
New Property MapValue - logs
Ratio Property MapThreshold - logs
Threshold Property Map - logs
Time Property MapRelative Threshold - logs
Unique Property MapCount - metric
Anomaly Property Map - metric
Threshold Property Map - tracing
Immediate Property Map - tracing
Threshold Property Map
AlertTypeDefinitionFlow, AlertTypeDefinitionFlowArgs
AlertTypeDefinitionFlowStage, AlertTypeDefinitionFlowStageArgs
- flow
Stages List<Property Map>Groups - timeframe
Type String - timeframe
Ms Number
AlertTypeDefinitionFlowStageFlowStagesGroup, AlertTypeDefinitionFlowStageFlowStagesGroupArgs
- Alert
Defs List<AlertType Definition Flow Stage Flow Stages Group Alert Def> - Alerts
Op string - Alerts operation. Valid values: ["AND" "OR"].
- Next
Op string - Next operation. Valid values: ["AND" "OR"].
- Alert
Defs []AlertType Definition Flow Stage Flow Stages Group Alert Def - Alerts
Op string - Alerts operation. Valid values: ["AND" "OR"].
- Next
Op string - Next operation. Valid values: ["AND" "OR"].
- alert
Defs List<AlertType Definition Flow Stage Flow Stages Group Alert Def> - alerts
Op String - Alerts operation. Valid values: ["AND" "OR"].
- next
Op String - Next operation. Valid values: ["AND" "OR"].
- alert
Defs AlertType Definition Flow Stage Flow Stages Group Alert Def[] - alerts
Op string - Alerts operation. Valid values: ["AND" "OR"].
- next
Op string - Next operation. Valid values: ["AND" "OR"].
- alert_
defs Sequence[AlertType Definition Flow Stage Flow Stages Group Alert Def] - alerts_
op str - Alerts operation. Valid values: ["AND" "OR"].
- next_
op str - Next operation. Valid values: ["AND" "OR"].
- alert
Defs List<Property Map> - alerts
Op String - Alerts operation. Valid values: ["AND" "OR"].
- next
Op String - Next operation. Valid values: ["AND" "OR"].
AlertTypeDefinitionFlowStageFlowStagesGroupAlertDef, AlertTypeDefinitionFlowStageFlowStagesGroupAlertDefArgs
AlertTypeDefinitionLogsAnomaly, AlertTypeDefinitionLogsAnomalyArgs
- Rules
List<Alert
Type Definition Logs Anomaly Rule> - Custom
Evaluation doubleDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- Logs
Filter AlertType Definition Logs Anomaly Logs Filter - Notification
Payload List<string>Filters
- Rules
[]Alert
Type Definition Logs Anomaly Rule - Custom
Evaluation float64Delay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- Logs
Filter AlertType Definition Logs Anomaly Logs Filter - Notification
Payload []stringFilters
- rules
List<Alert
Type Definition Logs Anomaly Rule> - custom
Evaluation DoubleDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- logs
Filter AlertType Definition Logs Anomaly Logs Filter - notification
Payload List<String>Filters
- rules
Alert
Type Definition Logs Anomaly Rule[] - custom
Evaluation numberDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- logs
Filter AlertType Definition Logs Anomaly Logs Filter - notification
Payload string[]Filters
- rules
Sequence[Alert
Type Definition Logs Anomaly Rule] - custom_
evaluation_ floatdelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- logs_
filter AlertType Definition Logs Anomaly Logs Filter - notification_
payload_ Sequence[str]filters
- rules List<Property Map>
- custom
Evaluation NumberDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- logs
Filter Property Map - notification
Payload List<String>Filters
AlertTypeDefinitionLogsAnomalyLogsFilter, AlertTypeDefinitionLogsAnomalyLogsFilterArgs
AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilter, AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterArgs
AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterLabelFilters, AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterLabelFiltersArgs
- Application
Names List<AlertType Definition Logs Anomaly Logs Filter Simple Filter Label Filters Application Name> - Severities List<string>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- Subsystem
Names List<AlertType Definition Logs Anomaly Logs Filter Simple Filter Label Filters Subsystem Name>
- Application
Names []AlertType Definition Logs Anomaly Logs Filter Simple Filter Label Filters Application Name - Severities []string
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- Subsystem
Names []AlertType Definition Logs Anomaly Logs Filter Simple Filter Label Filters Subsystem Name
- application
Names List<AlertType Definition Logs Anomaly Logs Filter Simple Filter Label Filters Application Name> - severities List<String>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names List<AlertType Definition Logs Anomaly Logs Filter Simple Filter Label Filters Subsystem Name>
- application
Names AlertType Definition Logs Anomaly Logs Filter Simple Filter Label Filters Application Name[] - severities string[]
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names AlertType Definition Logs Anomaly Logs Filter Simple Filter Label Filters Subsystem Name[]
- application_
names Sequence[AlertType Definition Logs Anomaly Logs Filter Simple Filter Label Filters Application Name] - severities Sequence[str]
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem_
names Sequence[AlertType Definition Logs Anomaly Logs Filter Simple Filter Label Filters Subsystem Name]
- application
Names List<Property Map> - severities List<String>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names List<Property Map>
AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterLabelFiltersApplicationName, AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterLabelFiltersApplicationNameArgs
AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterLabelFiltersSubsystemName, AlertTypeDefinitionLogsAnomalyLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs
AlertTypeDefinitionLogsAnomalyRule, AlertTypeDefinitionLogsAnomalyRuleArgs
AlertTypeDefinitionLogsAnomalyRuleCondition, AlertTypeDefinitionLogsAnomalyRuleConditionArgs
- Minimum
Threshold double - Time
Window string - Condition
Type string
- Minimum
Threshold float64 - Time
Window string - Condition
Type string
- minimum
Threshold Double - time
Window String - condition
Type String
- minimum
Threshold number - time
Window string - condition
Type string
- minimum_
threshold float - time_
window str - condition_
type str
- minimum
Threshold Number - time
Window String - condition
Type String
AlertTypeDefinitionLogsImmediate, AlertTypeDefinitionLogsImmediateArgs
- logs
Filter Property Map - notification
Payload List<String>Filters
AlertTypeDefinitionLogsImmediateLogsFilter, AlertTypeDefinitionLogsImmediateLogsFilterArgs
AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilter, AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterArgs
AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterLabelFilters, AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterLabelFiltersArgs
- Application
Names List<AlertType Definition Logs Immediate Logs Filter Simple Filter Label Filters Application Name> - Severities List<string>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- Subsystem
Names List<AlertType Definition Logs Immediate Logs Filter Simple Filter Label Filters Subsystem Name>
- Application
Names []AlertType Definition Logs Immediate Logs Filter Simple Filter Label Filters Application Name - Severities []string
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- Subsystem
Names []AlertType Definition Logs Immediate Logs Filter Simple Filter Label Filters Subsystem Name
- application
Names List<AlertType Definition Logs Immediate Logs Filter Simple Filter Label Filters Application Name> - severities List<String>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names List<AlertType Definition Logs Immediate Logs Filter Simple Filter Label Filters Subsystem Name>
- application
Names AlertType Definition Logs Immediate Logs Filter Simple Filter Label Filters Application Name[] - severities string[]
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names AlertType Definition Logs Immediate Logs Filter Simple Filter Label Filters Subsystem Name[]
- application_
names Sequence[AlertType Definition Logs Immediate Logs Filter Simple Filter Label Filters Application Name] - severities Sequence[str]
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem_
names Sequence[AlertType Definition Logs Immediate Logs Filter Simple Filter Label Filters Subsystem Name]
- application
Names List<Property Map> - severities List<String>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names List<Property Map>
AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterLabelFiltersApplicationName, AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterLabelFiltersApplicationNameArgs
AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterLabelFiltersSubsystemName, AlertTypeDefinitionLogsImmediateLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs
AlertTypeDefinitionLogsNewValue, AlertTypeDefinitionLogsNewValueArgs
AlertTypeDefinitionLogsNewValueLogsFilter, AlertTypeDefinitionLogsNewValueLogsFilterArgs
AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilter, AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterArgs
AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterLabelFilters, AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterLabelFiltersArgs
- Application
Names List<AlertType Definition Logs New Value Logs Filter Simple Filter Label Filters Application Name> - Severities List<string>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- Subsystem
Names List<AlertType Definition Logs New Value Logs Filter Simple Filter Label Filters Subsystem Name>
- Application
Names []AlertType Definition Logs New Value Logs Filter Simple Filter Label Filters Application Name - Severities []string
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- Subsystem
Names []AlertType Definition Logs New Value Logs Filter Simple Filter Label Filters Subsystem Name
- application
Names List<AlertType Definition Logs New Value Logs Filter Simple Filter Label Filters Application Name> - severities List<String>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names List<AlertType Definition Logs New Value Logs Filter Simple Filter Label Filters Subsystem Name>
- application
Names AlertType Definition Logs New Value Logs Filter Simple Filter Label Filters Application Name[] - severities string[]
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names AlertType Definition Logs New Value Logs Filter Simple Filter Label Filters Subsystem Name[]
- application_
names Sequence[AlertType Definition Logs New Value Logs Filter Simple Filter Label Filters Application Name] - severities Sequence[str]
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem_
names Sequence[AlertType Definition Logs New Value Logs Filter Simple Filter Label Filters Subsystem Name]
- application
Names List<Property Map> - severities List<String>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names List<Property Map>
AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterLabelFiltersApplicationName, AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterLabelFiltersApplicationNameArgs
AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterLabelFiltersSubsystemName, AlertTypeDefinitionLogsNewValueLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs
AlertTypeDefinitionLogsNewValueRule, AlertTypeDefinitionLogsNewValueRuleArgs
AlertTypeDefinitionLogsNewValueRuleCondition, AlertTypeDefinitionLogsNewValueRuleConditionArgs
- Keypath
To stringTrack - Time
Window string
- Keypath
To stringTrack - Time
Window string
- keypath
To StringTrack - time
Window String
- keypath
To stringTrack - time
Window string
- keypath_
to_ strtrack - time_
window str
- keypath
To StringTrack - time
Window String
AlertTypeDefinitionLogsRatioThreshold, AlertTypeDefinitionLogsRatioThresholdArgs
- Denominator
Alias string - Numerator
Alias string - Rules
List<Alert
Type Definition Logs Ratio Threshold Rule> - Custom
Evaluation doubleDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- Denominator
Alert
Type Definition Logs Ratio Threshold Denominator - Group
By stringFor - Group by for. Valid values: ["Both" "Denominator Only" "Numerator Only"]. 'Both' by default.
- Notification
Payload List<string>Filters - Numerator
Alert
Type Definition Logs Ratio Threshold Numerator
- Denominator
Alias string - Numerator
Alias string - Rules
[]Alert
Type Definition Logs Ratio Threshold Rule - Custom
Evaluation float64Delay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- Denominator
Alert
Type Definition Logs Ratio Threshold Denominator - Group
By stringFor - Group by for. Valid values: ["Both" "Denominator Only" "Numerator Only"]. 'Both' by default.
- Notification
Payload []stringFilters - Numerator
Alert
Type Definition Logs Ratio Threshold Numerator
- denominator
Alias String - numerator
Alias String - rules
List<Alert
Type Definition Logs Ratio Threshold Rule> - custom
Evaluation DoubleDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- denominator
Alert
Type Definition Logs Ratio Threshold Denominator - group
By StringFor - Group by for. Valid values: ["Both" "Denominator Only" "Numerator Only"]. 'Both' by default.
- notification
Payload List<String>Filters - numerator
Alert
Type Definition Logs Ratio Threshold Numerator
- denominator
Alias string - numerator
Alias string - rules
Alert
Type Definition Logs Ratio Threshold Rule[] - custom
Evaluation numberDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- denominator
Alert
Type Definition Logs Ratio Threshold Denominator - group
By stringFor - Group by for. Valid values: ["Both" "Denominator Only" "Numerator Only"]. 'Both' by default.
- notification
Payload string[]Filters - numerator
Alert
Type Definition Logs Ratio Threshold Numerator
- denominator_
alias str - numerator_
alias str - rules
Sequence[Alert
Type Definition Logs Ratio Threshold Rule] - custom_
evaluation_ floatdelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- denominator
Alert
Type Definition Logs Ratio Threshold Denominator - group_
by_ strfor - Group by for. Valid values: ["Both" "Denominator Only" "Numerator Only"]. 'Both' by default.
- notification_
payload_ Sequence[str]filters - numerator
Alert
Type Definition Logs Ratio Threshold Numerator
- denominator
Alias String - numerator
Alias String - rules List<Property Map>
- custom
Evaluation NumberDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- denominator Property Map
- group
By StringFor - Group by for. Valid values: ["Both" "Denominator Only" "Numerator Only"]. 'Both' by default.
- notification
Payload List<String>Filters - numerator Property Map
AlertTypeDefinitionLogsRatioThresholdDenominator, AlertTypeDefinitionLogsRatioThresholdDenominatorArgs
AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilter, AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterArgs
AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterLabelFilters, AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterLabelFiltersArgs
- Application
Names List<AlertType Definition Logs Ratio Threshold Denominator Simple Filter Label Filters Application Name> - Severities List<string>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- Subsystem
Names List<AlertType Definition Logs Ratio Threshold Denominator Simple Filter Label Filters Subsystem Name>
- Application
Names []AlertType Definition Logs Ratio Threshold Denominator Simple Filter Label Filters Application Name - Severities []string
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- Subsystem
Names []AlertType Definition Logs Ratio Threshold Denominator Simple Filter Label Filters Subsystem Name
- application
Names List<AlertType Definition Logs Ratio Threshold Denominator Simple Filter Label Filters Application Name> - severities List<String>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names List<AlertType Definition Logs Ratio Threshold Denominator Simple Filter Label Filters Subsystem Name>
- application
Names AlertType Definition Logs Ratio Threshold Denominator Simple Filter Label Filters Application Name[] - severities string[]
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names AlertType Definition Logs Ratio Threshold Denominator Simple Filter Label Filters Subsystem Name[]
- application_
names Sequence[AlertType Definition Logs Ratio Threshold Denominator Simple Filter Label Filters Application Name] - severities Sequence[str]
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem_
names Sequence[AlertType Definition Logs Ratio Threshold Denominator Simple Filter Label Filters Subsystem Name]
- application
Names List<Property Map> - severities List<String>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names List<Property Map>
AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterLabelFiltersApplicationName, AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterLabelFiltersApplicationNameArgs
AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterLabelFiltersSubsystemName, AlertTypeDefinitionLogsRatioThresholdDenominatorSimpleFilterLabelFiltersSubsystemNameArgs
AlertTypeDefinitionLogsRatioThresholdNumerator, AlertTypeDefinitionLogsRatioThresholdNumeratorArgs
AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilter, AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterArgs
AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterLabelFilters, AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterLabelFiltersArgs
- Application
Names List<AlertType Definition Logs Ratio Threshold Numerator Simple Filter Label Filters Application Name> - Severities List<string>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- Subsystem
Names List<AlertType Definition Logs Ratio Threshold Numerator Simple Filter Label Filters Subsystem Name>
- Application
Names []AlertType Definition Logs Ratio Threshold Numerator Simple Filter Label Filters Application Name - Severities []string
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- Subsystem
Names []AlertType Definition Logs Ratio Threshold Numerator Simple Filter Label Filters Subsystem Name
- application
Names List<AlertType Definition Logs Ratio Threshold Numerator Simple Filter Label Filters Application Name> - severities List<String>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names List<AlertType Definition Logs Ratio Threshold Numerator Simple Filter Label Filters Subsystem Name>
- application
Names AlertType Definition Logs Ratio Threshold Numerator Simple Filter Label Filters Application Name[] - severities string[]
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names AlertType Definition Logs Ratio Threshold Numerator Simple Filter Label Filters Subsystem Name[]
- application_
names Sequence[AlertType Definition Logs Ratio Threshold Numerator Simple Filter Label Filters Application Name] - severities Sequence[str]
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem_
names Sequence[AlertType Definition Logs Ratio Threshold Numerator Simple Filter Label Filters Subsystem Name]
- application
Names List<Property Map> - severities List<String>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names List<Property Map>
AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterLabelFiltersApplicationName, AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterLabelFiltersApplicationNameArgs
AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterLabelFiltersSubsystemName, AlertTypeDefinitionLogsRatioThresholdNumeratorSimpleFilterLabelFiltersSubsystemNameArgs
AlertTypeDefinitionLogsRatioThresholdRule, AlertTypeDefinitionLogsRatioThresholdRuleArgs
AlertTypeDefinitionLogsRatioThresholdRuleCondition, AlertTypeDefinitionLogsRatioThresholdRuleConditionArgs
- Condition
Type string - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "MORETHAN"].
- Threshold double
- Time
Window string
- Condition
Type string - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "MORETHAN"].
- Threshold float64
- Time
Window string
- condition
Type String - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "MORETHAN"].
- threshold Double
- time
Window String
- condition
Type string - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "MORETHAN"].
- threshold number
- time
Window string
- condition_
type str - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "MORETHAN"].
- threshold float
- time_
window str
- condition
Type String - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "MORETHAN"].
- threshold Number
- time
Window String
AlertTypeDefinitionLogsRatioThresholdRuleOverride, AlertTypeDefinitionLogsRatioThresholdRuleOverrideArgs
- Priority string
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- Priority string
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- priority String
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- priority string
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- priority str
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- priority String
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
AlertTypeDefinitionLogsThreshold, AlertTypeDefinitionLogsThresholdArgs
- Rules
List<Alert
Type Definition Logs Threshold Rule> - Custom
Evaluation doubleDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- Logs
Filter AlertType Definition Logs Threshold Logs Filter - Notification
Payload List<string>Filters - Undetected
Values AlertManagement Type Definition Logs Threshold Undetected Values Management
- Rules
[]Alert
Type Definition Logs Threshold Rule - Custom
Evaluation float64Delay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- Logs
Filter AlertType Definition Logs Threshold Logs Filter - Notification
Payload []stringFilters - Undetected
Values AlertManagement Type Definition Logs Threshold Undetected Values Management
- rules
List<Alert
Type Definition Logs Threshold Rule> - custom
Evaluation DoubleDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- logs
Filter AlertType Definition Logs Threshold Logs Filter - notification
Payload List<String>Filters - undetected
Values AlertManagement Type Definition Logs Threshold Undetected Values Management
- rules
Alert
Type Definition Logs Threshold Rule[] - custom
Evaluation numberDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- logs
Filter AlertType Definition Logs Threshold Logs Filter - notification
Payload string[]Filters - undetected
Values AlertManagement Type Definition Logs Threshold Undetected Values Management
- rules
Sequence[Alert
Type Definition Logs Threshold Rule] - custom_
evaluation_ floatdelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- logs_
filter AlertType Definition Logs Threshold Logs Filter - notification_
payload_ Sequence[str]filters - undetected_
values_ Alertmanagement Type Definition Logs Threshold Undetected Values Management
- rules List<Property Map>
- custom
Evaluation NumberDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- logs
Filter Property Map - notification
Payload List<String>Filters - undetected
Values Property MapManagement
AlertTypeDefinitionLogsThresholdLogsFilter, AlertTypeDefinitionLogsThresholdLogsFilterArgs
AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilter, AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterArgs
AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterLabelFilters, AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterLabelFiltersArgs
- Application
Names List<AlertType Definition Logs Threshold Logs Filter Simple Filter Label Filters Application Name> - Severities List<string>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- Subsystem
Names List<AlertType Definition Logs Threshold Logs Filter Simple Filter Label Filters Subsystem Name>
- Application
Names []AlertType Definition Logs Threshold Logs Filter Simple Filter Label Filters Application Name - Severities []string
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- Subsystem
Names []AlertType Definition Logs Threshold Logs Filter Simple Filter Label Filters Subsystem Name
- application
Names List<AlertType Definition Logs Threshold Logs Filter Simple Filter Label Filters Application Name> - severities List<String>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names List<AlertType Definition Logs Threshold Logs Filter Simple Filter Label Filters Subsystem Name>
- application
Names AlertType Definition Logs Threshold Logs Filter Simple Filter Label Filters Application Name[] - severities string[]
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names AlertType Definition Logs Threshold Logs Filter Simple Filter Label Filters Subsystem Name[]
- application_
names Sequence[AlertType Definition Logs Threshold Logs Filter Simple Filter Label Filters Application Name] - severities Sequence[str]
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem_
names Sequence[AlertType Definition Logs Threshold Logs Filter Simple Filter Label Filters Subsystem Name]
- application
Names List<Property Map> - severities List<String>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names List<Property Map>
AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterLabelFiltersApplicationName, AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterLabelFiltersApplicationNameArgs
AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterLabelFiltersSubsystemName, AlertTypeDefinitionLogsThresholdLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs
AlertTypeDefinitionLogsThresholdRule, AlertTypeDefinitionLogsThresholdRuleArgs
AlertTypeDefinitionLogsThresholdRuleCondition, AlertTypeDefinitionLogsThresholdRuleConditionArgs
- Condition
Type string - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "MORETHAN"].
- Threshold double
- Time
Window string
- Condition
Type string - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "MORETHAN"].
- Threshold float64
- Time
Window string
- condition
Type String - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "MORETHAN"].
- threshold Double
- time
Window String
- condition
Type string - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "MORETHAN"].
- threshold number
- time
Window string
- condition_
type str - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "MORETHAN"].
- threshold float
- time_
window str
- condition
Type String - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "MORETHAN"].
- threshold Number
- time
Window String
AlertTypeDefinitionLogsThresholdRuleOverride, AlertTypeDefinitionLogsThresholdRuleOverrideArgs
- Priority string
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- Priority string
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- priority String
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- priority string
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- priority str
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- priority String
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
AlertTypeDefinitionLogsThresholdUndetectedValuesManagement, AlertTypeDefinitionLogsThresholdUndetectedValuesManagementArgs
- Auto
Retire stringTimeframe - Auto retire timeframe. Valid values: ["10MINUTES" "12HOURS" "1HOUR" "24HOURS" "2HOURS" "5MINUTES" "6_HOURS" "NEVER"].
- Trigger
Undetected boolValues
- Auto
Retire stringTimeframe - Auto retire timeframe. Valid values: ["10MINUTES" "12HOURS" "1HOUR" "24HOURS" "2HOURS" "5MINUTES" "6_HOURS" "NEVER"].
- Trigger
Undetected boolValues
- auto
Retire StringTimeframe - Auto retire timeframe. Valid values: ["10MINUTES" "12HOURS" "1HOUR" "24HOURS" "2HOURS" "5MINUTES" "6_HOURS" "NEVER"].
- trigger
Undetected BooleanValues
- auto
Retire stringTimeframe - Auto retire timeframe. Valid values: ["10MINUTES" "12HOURS" "1HOUR" "24HOURS" "2HOURS" "5MINUTES" "6_HOURS" "NEVER"].
- trigger
Undetected booleanValues
- auto_
retire_ strtimeframe - Auto retire timeframe. Valid values: ["10MINUTES" "12HOURS" "1HOUR" "24HOURS" "2HOURS" "5MINUTES" "6_HOURS" "NEVER"].
- trigger_
undetected_ boolvalues
- auto
Retire StringTimeframe - Auto retire timeframe. Valid values: ["10MINUTES" "12HOURS" "1HOUR" "24HOURS" "2HOURS" "5MINUTES" "6_HOURS" "NEVER"].
- trigger
Undetected BooleanValues
AlertTypeDefinitionLogsTimeRelativeThreshold, AlertTypeDefinitionLogsTimeRelativeThresholdArgs
- Rules
List<Alert
Type Definition Logs Time Relative Threshold Rule> - Custom
Evaluation doubleDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- Logs
Filter AlertType Definition Logs Time Relative Threshold Logs Filter - Notification
Payload List<string>Filters - Undetected
Values AlertManagement Type Definition Logs Time Relative Threshold Undetected Values Management
- Rules
[]Alert
Type Definition Logs Time Relative Threshold Rule - Custom
Evaluation float64Delay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- Logs
Filter AlertType Definition Logs Time Relative Threshold Logs Filter - Notification
Payload []stringFilters - Undetected
Values AlertManagement Type Definition Logs Time Relative Threshold Undetected Values Management
- rules
List<Alert
Type Definition Logs Time Relative Threshold Rule> - custom
Evaluation DoubleDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- logs
Filter AlertType Definition Logs Time Relative Threshold Logs Filter - notification
Payload List<String>Filters - undetected
Values AlertManagement Type Definition Logs Time Relative Threshold Undetected Values Management
- rules
Alert
Type Definition Logs Time Relative Threshold Rule[] - custom
Evaluation numberDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- logs
Filter AlertType Definition Logs Time Relative Threshold Logs Filter - notification
Payload string[]Filters - undetected
Values AlertManagement Type Definition Logs Time Relative Threshold Undetected Values Management
- rules
Sequence[Alert
Type Definition Logs Time Relative Threshold Rule] - custom_
evaluation_ floatdelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- logs_
filter AlertType Definition Logs Time Relative Threshold Logs Filter - notification_
payload_ Sequence[str]filters - undetected_
values_ Alertmanagement Type Definition Logs Time Relative Threshold Undetected Values Management
- rules List<Property Map>
- custom
Evaluation NumberDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- logs
Filter Property Map - notification
Payload List<String>Filters - undetected
Values Property MapManagement
AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilter, AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterArgs
AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilter, AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterArgs
AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterLabelFilters, AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterLabelFiltersArgs
- Application
Names List<AlertType Definition Logs Time Relative Threshold Logs Filter Simple Filter Label Filters Application Name> - Severities List<string>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- Subsystem
Names List<AlertType Definition Logs Time Relative Threshold Logs Filter Simple Filter Label Filters Subsystem Name>
- Application
Names []AlertType Definition Logs Time Relative Threshold Logs Filter Simple Filter Label Filters Application Name - Severities []string
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- Subsystem
Names []AlertType Definition Logs Time Relative Threshold Logs Filter Simple Filter Label Filters Subsystem Name
- application
Names List<AlertType Definition Logs Time Relative Threshold Logs Filter Simple Filter Label Filters Application Name> - severities List<String>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names List<AlertType Definition Logs Time Relative Threshold Logs Filter Simple Filter Label Filters Subsystem Name>
- application
Names AlertType Definition Logs Time Relative Threshold Logs Filter Simple Filter Label Filters Application Name[] - severities string[]
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names AlertType Definition Logs Time Relative Threshold Logs Filter Simple Filter Label Filters Subsystem Name[]
- application_
names Sequence[AlertType Definition Logs Time Relative Threshold Logs Filter Simple Filter Label Filters Application Name] - severities Sequence[str]
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem_
names Sequence[AlertType Definition Logs Time Relative Threshold Logs Filter Simple Filter Label Filters Subsystem Name]
- application
Names List<Property Map> - severities List<String>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names List<Property Map>
AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterLabelFiltersApplicationName, AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterLabelFiltersApplicationNameArgs
AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterLabelFiltersSubsystemName, AlertTypeDefinitionLogsTimeRelativeThresholdLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs
AlertTypeDefinitionLogsTimeRelativeThresholdRule, AlertTypeDefinitionLogsTimeRelativeThresholdRuleArgs
AlertTypeDefinitionLogsTimeRelativeThresholdRuleCondition, AlertTypeDefinitionLogsTimeRelativeThresholdRuleConditionArgs
- Compared
To string - Compared to a different time frame. Valid values: ["Previous Hour" "Same Day Last Month" "Same Day Last Week" "Same Hour Last Week" "Same Hour Yesterday" "Yesterday"].
- Condition
Type string - Condition . Valid values: ["LESSTHAN" "MORETHAN"].
- Threshold double
- Compared
To string - Compared to a different time frame. Valid values: ["Previous Hour" "Same Day Last Month" "Same Day Last Week" "Same Hour Last Week" "Same Hour Yesterday" "Yesterday"].
- Condition
Type string - Condition . Valid values: ["LESSTHAN" "MORETHAN"].
- Threshold float64
- compared
To String - Compared to a different time frame. Valid values: ["Previous Hour" "Same Day Last Month" "Same Day Last Week" "Same Hour Last Week" "Same Hour Yesterday" "Yesterday"].
- condition
Type String - Condition . Valid values: ["LESSTHAN" "MORETHAN"].
- threshold Double
- compared
To string - Compared to a different time frame. Valid values: ["Previous Hour" "Same Day Last Month" "Same Day Last Week" "Same Hour Last Week" "Same Hour Yesterday" "Yesterday"].
- condition
Type string - Condition . Valid values: ["LESSTHAN" "MORETHAN"].
- threshold number
- compared_
to str - Compared to a different time frame. Valid values: ["Previous Hour" "Same Day Last Month" "Same Day Last Week" "Same Hour Last Week" "Same Hour Yesterday" "Yesterday"].
- condition_
type str - Condition . Valid values: ["LESSTHAN" "MORETHAN"].
- threshold float
- compared
To String - Compared to a different time frame. Valid values: ["Previous Hour" "Same Day Last Month" "Same Day Last Week" "Same Hour Last Week" "Same Hour Yesterday" "Yesterday"].
- condition
Type String - Condition . Valid values: ["LESSTHAN" "MORETHAN"].
- threshold Number
AlertTypeDefinitionLogsTimeRelativeThresholdRuleOverride, AlertTypeDefinitionLogsTimeRelativeThresholdRuleOverrideArgs
- Priority string
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- Priority string
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- priority String
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- priority string
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- priority str
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- priority String
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
AlertTypeDefinitionLogsTimeRelativeThresholdUndetectedValuesManagement, AlertTypeDefinitionLogsTimeRelativeThresholdUndetectedValuesManagementArgs
- Auto
Retire stringTimeframe - Auto retire timeframe. Valid values: ["10MINUTES" "12HOURS" "1HOUR" "24HOURS" "2HOURS" "5MINUTES" "6_HOURS" "NEVER"].
- Trigger
Undetected boolValues
- Auto
Retire stringTimeframe - Auto retire timeframe. Valid values: ["10MINUTES" "12HOURS" "1HOUR" "24HOURS" "2HOURS" "5MINUTES" "6_HOURS" "NEVER"].
- Trigger
Undetected boolValues
- auto
Retire StringTimeframe - Auto retire timeframe. Valid values: ["10MINUTES" "12HOURS" "1HOUR" "24HOURS" "2HOURS" "5MINUTES" "6_HOURS" "NEVER"].
- trigger
Undetected BooleanValues
- auto
Retire stringTimeframe - Auto retire timeframe. Valid values: ["10MINUTES" "12HOURS" "1HOUR" "24HOURS" "2HOURS" "5MINUTES" "6_HOURS" "NEVER"].
- trigger
Undetected booleanValues
- auto_
retire_ strtimeframe - Auto retire timeframe. Valid values: ["10MINUTES" "12HOURS" "1HOUR" "24HOURS" "2HOURS" "5MINUTES" "6_HOURS" "NEVER"].
- trigger_
undetected_ boolvalues
- auto
Retire StringTimeframe - Auto retire timeframe. Valid values: ["10MINUTES" "12HOURS" "1HOUR" "24HOURS" "2HOURS" "5MINUTES" "6_HOURS" "NEVER"].
- trigger
Undetected BooleanValues
AlertTypeDefinitionLogsUniqueCount, AlertTypeDefinitionLogsUniqueCountArgs
- rules List<Property Map>
- unique
Count StringKeypath - logs
Filter Property Map - max
Unique NumberCount Per Group By Key - notification
Payload List<String>Filters
AlertTypeDefinitionLogsUniqueCountLogsFilter, AlertTypeDefinitionLogsUniqueCountLogsFilterArgs
AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilter, AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterArgs
AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterLabelFilters, AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterLabelFiltersArgs
- Application
Names List<AlertType Definition Logs Unique Count Logs Filter Simple Filter Label Filters Application Name> - Severities List<string>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- Subsystem
Names List<AlertType Definition Logs Unique Count Logs Filter Simple Filter Label Filters Subsystem Name>
- Application
Names []AlertType Definition Logs Unique Count Logs Filter Simple Filter Label Filters Application Name - Severities []string
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- Subsystem
Names []AlertType Definition Logs Unique Count Logs Filter Simple Filter Label Filters Subsystem Name
- application
Names List<AlertType Definition Logs Unique Count Logs Filter Simple Filter Label Filters Application Name> - severities List<String>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names List<AlertType Definition Logs Unique Count Logs Filter Simple Filter Label Filters Subsystem Name>
- application
Names AlertType Definition Logs Unique Count Logs Filter Simple Filter Label Filters Application Name[] - severities string[]
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names AlertType Definition Logs Unique Count Logs Filter Simple Filter Label Filters Subsystem Name[]
- application_
names Sequence[AlertType Definition Logs Unique Count Logs Filter Simple Filter Label Filters Application Name] - severities Sequence[str]
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem_
names Sequence[AlertType Definition Logs Unique Count Logs Filter Simple Filter Label Filters Subsystem Name]
- application
Names List<Property Map> - severities List<String>
- Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"].
- subsystem
Names List<Property Map>
AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterLabelFiltersApplicationName, AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterLabelFiltersApplicationNameArgs
AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterLabelFiltersSubsystemName, AlertTypeDefinitionLogsUniqueCountLogsFilterSimpleFilterLabelFiltersSubsystemNameArgs
AlertTypeDefinitionLogsUniqueCountRule, AlertTypeDefinitionLogsUniqueCountRuleArgs
AlertTypeDefinitionLogsUniqueCountRuleCondition, AlertTypeDefinitionLogsUniqueCountRuleConditionArgs
- Max
Unique doubleCount - Time
Window string
- Max
Unique float64Count - Time
Window string
- max
Unique DoubleCount - time
Window String
- max
Unique numberCount - time
Window string
- max_
unique_ floatcount - time_
window str
- max
Unique NumberCount - time
Window String
AlertTypeDefinitionMetricAnomaly, AlertTypeDefinitionMetricAnomalyArgs
- Metric
Filter AlertType Definition Metric Anomaly Metric Filter - Rules
List<Alert
Type Definition Metric Anomaly Rule> - Custom
Evaluation doubleDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- Metric
Filter AlertType Definition Metric Anomaly Metric Filter - Rules
[]Alert
Type Definition Metric Anomaly Rule - Custom
Evaluation float64Delay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- metric
Filter AlertType Definition Metric Anomaly Metric Filter - rules
List<Alert
Type Definition Metric Anomaly Rule> - custom
Evaluation DoubleDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- metric
Filter AlertType Definition Metric Anomaly Metric Filter - rules
Alert
Type Definition Metric Anomaly Rule[] - custom
Evaluation numberDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- metric_
filter AlertType Definition Metric Anomaly Metric Filter - rules
Sequence[Alert
Type Definition Metric Anomaly Rule] - custom_
evaluation_ floatdelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- metric
Filter Property Map - rules List<Property Map>
- custom
Evaluation NumberDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
AlertTypeDefinitionMetricAnomalyMetricFilter, AlertTypeDefinitionMetricAnomalyMetricFilterArgs
- Promql string
- Promql string
- promql String
- promql string
- promql str
- promql String
AlertTypeDefinitionMetricAnomalyRule, AlertTypeDefinitionMetricAnomalyRuleArgs
AlertTypeDefinitionMetricAnomalyRuleCondition, AlertTypeDefinitionMetricAnomalyRuleConditionArgs
- Condition
Type string - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "MORETHAN"].
- For
Over doublePct - Percentage of metrics over the threshold. 0 means 'for at least once', 100 means 'for at least'.
- Min
Non doubleNull Values Pct - Of
The stringLast - Time window to evaluate the threshold with. Valid values: ["10MINUTES" "12HOURS" "15MINUTES" "1HOUR" "1MINUTE" "20MINUTES" "24HOURS" "2HOURS" "30MINUTES" "36HOURS" "4HOURS" "5MINUTES" "6_HOURS"].
- Threshold double
- Condition
Type string - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "MORETHAN"].
- For
Over float64Pct - Percentage of metrics over the threshold. 0 means 'for at least once', 100 means 'for at least'.
- Min
Non float64Null Values Pct - Of
The stringLast - Time window to evaluate the threshold with. Valid values: ["10MINUTES" "12HOURS" "15MINUTES" "1HOUR" "1MINUTE" "20MINUTES" "24HOURS" "2HOURS" "30MINUTES" "36HOURS" "4HOURS" "5MINUTES" "6_HOURS"].
- Threshold float64
- condition
Type String - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "MORETHAN"].
- for
Over DoublePct - Percentage of metrics over the threshold. 0 means 'for at least once', 100 means 'for at least'.
- min
Non DoubleNull Values Pct - of
The StringLast - Time window to evaluate the threshold with. Valid values: ["10MINUTES" "12HOURS" "15MINUTES" "1HOUR" "1MINUTE" "20MINUTES" "24HOURS" "2HOURS" "30MINUTES" "36HOURS" "4HOURS" "5MINUTES" "6_HOURS"].
- threshold Double
- condition
Type string - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "MORETHAN"].
- for
Over numberPct - Percentage of metrics over the threshold. 0 means 'for at least once', 100 means 'for at least'.
- min
Non numberNull Values Pct - of
The stringLast - Time window to evaluate the threshold with. Valid values: ["10MINUTES" "12HOURS" "15MINUTES" "1HOUR" "1MINUTE" "20MINUTES" "24HOURS" "2HOURS" "30MINUTES" "36HOURS" "4HOURS" "5MINUTES" "6_HOURS"].
- threshold number
- condition_
type str - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "MORETHAN"].
- for_
over_ floatpct - Percentage of metrics over the threshold. 0 means 'for at least once', 100 means 'for at least'.
- min_
non_ floatnull_ values_ pct - of_
the_ strlast - Time window to evaluate the threshold with. Valid values: ["10MINUTES" "12HOURS" "15MINUTES" "1HOUR" "1MINUTE" "20MINUTES" "24HOURS" "2HOURS" "30MINUTES" "36HOURS" "4HOURS" "5MINUTES" "6_HOURS"].
- threshold float
- condition
Type String - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "MORETHAN"].
- for
Over NumberPct - Percentage of metrics over the threshold. 0 means 'for at least once', 100 means 'for at least'.
- min
Non NumberNull Values Pct - of
The StringLast - Time window to evaluate the threshold with. Valid values: ["10MINUTES" "12HOURS" "15MINUTES" "1HOUR" "1MINUTE" "20MINUTES" "24HOURS" "2HOURS" "30MINUTES" "36HOURS" "4HOURS" "5MINUTES" "6_HOURS"].
- threshold Number
AlertTypeDefinitionMetricThreshold, AlertTypeDefinitionMetricThresholdArgs
- Metric
Filter AlertType Definition Metric Threshold Metric Filter - Missing
Values AlertType Definition Metric Threshold Missing Values - Rules
List<Alert
Type Definition Metric Threshold Rule> - Custom
Evaluation doubleDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- Undetected
Values AlertManagement Type Definition Metric Threshold Undetected Values Management
- Metric
Filter AlertType Definition Metric Threshold Metric Filter - Missing
Values AlertType Definition Metric Threshold Missing Values - Rules
[]Alert
Type Definition Metric Threshold Rule - Custom
Evaluation float64Delay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- Undetected
Values AlertManagement Type Definition Metric Threshold Undetected Values Management
- metric
Filter AlertType Definition Metric Threshold Metric Filter - missing
Values AlertType Definition Metric Threshold Missing Values - rules
List<Alert
Type Definition Metric Threshold Rule> - custom
Evaluation DoubleDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- undetected
Values AlertManagement Type Definition Metric Threshold Undetected Values Management
- metric
Filter AlertType Definition Metric Threshold Metric Filter - missing
Values AlertType Definition Metric Threshold Missing Values - rules
Alert
Type Definition Metric Threshold Rule[] - custom
Evaluation numberDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- undetected
Values AlertManagement Type Definition Metric Threshold Undetected Values Management
- metric_
filter AlertType Definition Metric Threshold Metric Filter - missing_
values AlertType Definition Metric Threshold Missing Values - rules
Sequence[Alert
Type Definition Metric Threshold Rule] - custom_
evaluation_ floatdelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- undetected_
values_ Alertmanagement Type Definition Metric Threshold Undetected Values Management
- metric
Filter Property Map - missing
Values Property Map - rules List<Property Map>
- custom
Evaluation NumberDelay - Delay evaluation of the rules by n milliseconds. Defaults to 0.
- undetected
Values Property MapManagement
AlertTypeDefinitionMetricThresholdMetricFilter, AlertTypeDefinitionMetricThresholdMetricFilterArgs
- Promql string
- Promql string
- promql String
- promql string
- promql str
- promql String
AlertTypeDefinitionMetricThresholdMissingValues, AlertTypeDefinitionMetricThresholdMissingValuesArgs
- Min
Non doubleNull Values Pct - Replace
With boolZero
- Min
Non float64Null Values Pct - Replace
With boolZero
- min
Non DoubleNull Values Pct - replace
With BooleanZero
- min
Non numberNull Values Pct - replace
With booleanZero
- min_
non_ floatnull_ values_ pct - replace_
with_ boolzero
- min
Non NumberNull Values Pct - replace
With BooleanZero
AlertTypeDefinitionMetricThresholdRule, AlertTypeDefinitionMetricThresholdRuleArgs
AlertTypeDefinitionMetricThresholdRuleCondition, AlertTypeDefinitionMetricThresholdRuleConditionArgs
- Condition
Type string - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "LESSTHANOREQUALS" "MORETHAN" "MORETHANOREQUALS"].
- For
Over doublePct - Percentage of metrics over the threshold. 0 means 'for at least once', 100 means 'for at least'.
- Of
The stringLast - Time window to evaluate the threshold with. Valid values: ["10MINUTES" "12HOURS" "15MINUTES" "1HOUR" "1MINUTE" "20MINUTES" "24HOURS" "2HOURS" "30MINUTES" "36HOURS" "4HOURS" "5MINUTES" "6_HOURS"].
- Threshold double
- Condition
Type string - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "LESSTHANOREQUALS" "MORETHAN" "MORETHANOREQUALS"].
- For
Over float64Pct - Percentage of metrics over the threshold. 0 means 'for at least once', 100 means 'for at least'.
- Of
The stringLast - Time window to evaluate the threshold with. Valid values: ["10MINUTES" "12HOURS" "15MINUTES" "1HOUR" "1MINUTE" "20MINUTES" "24HOURS" "2HOURS" "30MINUTES" "36HOURS" "4HOURS" "5MINUTES" "6_HOURS"].
- Threshold float64
- condition
Type String - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "LESSTHANOREQUALS" "MORETHAN" "MORETHANOREQUALS"].
- for
Over DoublePct - Percentage of metrics over the threshold. 0 means 'for at least once', 100 means 'for at least'.
- of
The StringLast - Time window to evaluate the threshold with. Valid values: ["10MINUTES" "12HOURS" "15MINUTES" "1HOUR" "1MINUTE" "20MINUTES" "24HOURS" "2HOURS" "30MINUTES" "36HOURS" "4HOURS" "5MINUTES" "6_HOURS"].
- threshold Double
- condition
Type string - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "LESSTHANOREQUALS" "MORETHAN" "MORETHANOREQUALS"].
- for
Over numberPct - Percentage of metrics over the threshold. 0 means 'for at least once', 100 means 'for at least'.
- of
The stringLast - Time window to evaluate the threshold with. Valid values: ["10MINUTES" "12HOURS" "15MINUTES" "1HOUR" "1MINUTE" "20MINUTES" "24HOURS" "2HOURS" "30MINUTES" "36HOURS" "4HOURS" "5MINUTES" "6_HOURS"].
- threshold number
- condition_
type str - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "LESSTHANOREQUALS" "MORETHAN" "MORETHANOREQUALS"].
- for_
over_ floatpct - Percentage of metrics over the threshold. 0 means 'for at least once', 100 means 'for at least'.
- of_
the_ strlast - Time window to evaluate the threshold with. Valid values: ["10MINUTES" "12HOURS" "15MINUTES" "1HOUR" "1MINUTE" "20MINUTES" "24HOURS" "2HOURS" "30MINUTES" "36HOURS" "4HOURS" "5MINUTES" "6_HOURS"].
- threshold float
- condition
Type String - Condition to evaluate the threshold with. Valid values: ["LESSTHAN" "LESSTHANOREQUALS" "MORETHAN" "MORETHANOREQUALS"].
- for
Over NumberPct - Percentage of metrics over the threshold. 0 means 'for at least once', 100 means 'for at least'.
- of
The StringLast - Time window to evaluate the threshold with. Valid values: ["10MINUTES" "12HOURS" "15MINUTES" "1HOUR" "1MINUTE" "20MINUTES" "24HOURS" "2HOURS" "30MINUTES" "36HOURS" "4HOURS" "5MINUTES" "6_HOURS"].
- threshold Number
AlertTypeDefinitionMetricThresholdRuleOverride, AlertTypeDefinitionMetricThresholdRuleOverrideArgs
- Priority string
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- Priority string
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- priority String
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- priority string
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- priority str
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
- priority String
- Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"].
AlertTypeDefinitionMetricThresholdUndetectedValuesManagement, AlertTypeDefinitionMetricThresholdUndetectedValuesManagementArgs
- Auto
Retire stringTimeframe - Auto retire timeframe. Valid values: ["10MINUTES" "12HOURS" "1HOUR" "24HOURS" "2HOURS" "5MINUTES" "6_HOURS" "NEVER"].
- Trigger
Undetected boolValues
- Auto
Retire stringTimeframe - Auto retire timeframe. Valid values: ["10MINUTES" "12HOURS" "1HOUR" "24HOURS" "2HOURS" "5MINUTES" "6_HOURS" "NEVER"].
- Trigger
Undetected boolValues
- auto
Retire StringTimeframe - Auto retire timeframe. Valid values: ["10MINUTES" "12HOURS" "1HOUR" "24HOURS" "2HOURS" "5MINUTES" "6_HOURS" "NEVER"].
- trigger
Undetected BooleanValues
- auto
Retire stringTimeframe - Auto retire timeframe. Valid values: ["10MINUTES" "12HOURS" "1HOUR" "24HOURS" "2HOURS" "5MINUTES" "6_HOURS" "NEVER"].
- trigger
Undetected booleanValues
- auto_
retire_ strtimeframe - Auto retire timeframe. Valid values: ["10MINUTES" "12HOURS" "1HOUR" "24HOURS" "2HOURS" "5MINUTES" "6_HOURS" "NEVER"].
- trigger_
undetected_ boolvalues
- auto
Retire StringTimeframe - Auto retire timeframe. Valid values: ["10MINUTES" "12HOURS" "1HOUR" "24HOURS" "2HOURS" "5MINUTES" "6_HOURS" "NEVER"].
- trigger
Undetected BooleanValues
AlertTypeDefinitionTracingImmediate, AlertTypeDefinitionTracingImmediateArgs
- tracing
Filter Property Map - notification
Payload List<String>Filters
AlertTypeDefinitionTracingImmediateTracingFilter, AlertTypeDefinitionTracingImmediateTracingFilterArgs
AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFilters, AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersArgs
- Application
Names List<AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Application Name> - Operation
Names List<AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Operation Name> - Service
Names List<AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Service Name> - Span
Fields List<AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Span Field> - Subsystem
Names List<AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Subsystem Name>
- Application
Names []AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Application Name - Operation
Names []AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Operation Name - Service
Names []AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Service Name - Span
Fields []AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Span Field - Subsystem
Names []AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Subsystem Name
- application
Names List<AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Application Name> - operation
Names List<AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Operation Name> - service
Names List<AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Service Name> - span
Fields List<AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Span Field> - subsystem
Names List<AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Subsystem Name>
- application
Names AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Application Name[] - operation
Names AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Operation Name[] - service
Names AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Service Name[] - span
Fields AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Span Field[] - subsystem
Names AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Subsystem Name[]
- application_
names Sequence[AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Application Name] - operation_
names Sequence[AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Operation Name] - service_
names Sequence[AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Service Name] - span_
fields Sequence[AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Span Field] - subsystem_
names Sequence[AlertType Definition Tracing Immediate Tracing Filter Tracing Label Filters Subsystem Name]
AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersApplicationName, AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersApplicationNameArgs
AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersOperationName, AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersOperationNameArgs
AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersServiceName, AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersServiceNameArgs
AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersSpanField, AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersSpanFieldArgs
- key String
- filter
Type Property Map
AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersSpanFieldFilterType, AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersSpanFieldFilterTypeArgs
AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersSubsystemName, AlertTypeDefinitionTracingImmediateTracingFilterTracingLabelFiltersSubsystemNameArgs
AlertTypeDefinitionTracingThreshold, AlertTypeDefinitionTracingThresholdArgs
AlertTypeDefinitionTracingThresholdRule, AlertTypeDefinitionTracingThresholdRuleArgs
AlertTypeDefinitionTracingThresholdRuleCondition, AlertTypeDefinitionTracingThresholdRuleConditionArgs
- Span
Amount double - Time
Window string - Condition
Type string
- Span
Amount float64 - Time
Window string - Condition
Type string
- span
Amount Double - time
Window String - condition
Type String
- span
Amount number - time
Window string - condition
Type string
- span_
amount float - time_
window str - condition_
type str
- span
Amount Number - time
Window String - condition
Type String
AlertTypeDefinitionTracingThresholdTracingFilter, AlertTypeDefinitionTracingThresholdTracingFilterArgs
AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFilters, AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersArgs
- Application
Names List<AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Application Name> - Operation
Names List<AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Operation Name> - Service
Names List<AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Service Name> - Span
Fields List<AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Span Field> - Subsystem
Names List<AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Subsystem Name>
- Application
Names []AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Application Name - Operation
Names []AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Operation Name - Service
Names []AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Service Name - Span
Fields []AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Span Field - Subsystem
Names []AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Subsystem Name
- application
Names List<AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Application Name> - operation
Names List<AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Operation Name> - service
Names List<AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Service Name> - span
Fields List<AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Span Field> - subsystem
Names List<AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Subsystem Name>
- application
Names AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Application Name[] - operation
Names AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Operation Name[] - service
Names AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Service Name[] - span
Fields AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Span Field[] - subsystem
Names AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Subsystem Name[]
- application_
names Sequence[AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Application Name] - operation_
names Sequence[AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Operation Name] - service_
names Sequence[AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Service Name] - span_
fields Sequence[AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Span Field] - subsystem_
names Sequence[AlertType Definition Tracing Threshold Tracing Filter Tracing Label Filters Subsystem Name]
AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersApplicationName, AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersApplicationNameArgs
AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersOperationName, AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersOperationNameArgs
AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersServiceName, AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersServiceNameArgs
AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersSpanField, AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersSpanFieldArgs
- key String
- filter
Type Property Map
AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersSpanFieldFilterType, AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersSpanFieldFilterTypeArgs
AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersSubsystemName, AlertTypeDefinitionTracingThresholdTracingFilterTracingLabelFiltersSubsystemNameArgs
Import
Create an import file like this
tee -a import.tf «EOF
terraform {
required_providers {
coralogix = {
version = "~> 2.0"
source = "coralogix/coralogix"
}
}
}
provider “coralogix” {
#api_key = “
#env = “
}
#import {
to = coralogix_alert.logs_immediate_alert
id = “19e27a6d-470d-47e9-9447-d1a1bb512eb6”
#}
#import {
to = coralogix_alert.flow_alert_example
id = “41544404-db3c-4d6e-b039-b8cc3efd51f8”
#}
#import {
to = coralogix_alert.logs_new_value
id = “4c760ad4-2eb4-444b-9285-8a86f3eda7cb”
#}
#import {
to = coralogix_alert.tracing_more_than
id = “b8529327-87e2-4140-89df-3541d3171f1a”
#}
#import {
to = coralogix_alert.logs-ratio-more-than
id = “187f3ea4-caa7-46e1-82c0-2dfd1e67a680”
#}
EOF
Follow the Migration Guide to obtain the following:
generated by Terraform
Please review these resources and move them into your main configuration files.
generated by Terraform from “4c760ad4-2eb4-444b-9285-8a86f3eda7cb”
#resource “coralogix_alert” “logs_new_value” {
deleted = false
description = “Example of logs-new-value alert from terraform”
enabled = true
group_by = null
incidents_settings = {
notify_on = “Triggered Only”
retriggering_period = {
minutes = 10
}
}
labels = null
name = “logs-new-value alert example”
notification_group = {
group_by_keys = null
webhooks_settings = null
}
phantom_mode = false
priority = “P2”
schedule = null
type_definition = {
flow = null
logs_anomaly = null
logs_immediate = null
logs_new_value = {
logs_filter = {
simple_filter = {
label_filters = {
application_name = null
severities = null
subsystem_name = null
}
lucene_query = null
}
}
notification_payload_filter = ["coralogix.metadata.sdkId", "coralogix.metadata.sdkName", "coralogix.metadata.sdkVersion"]
rules = [
{
condition = {
keypath_to_track = "remote_addr_geoip.country_name"
time_window = {
specific_value = "12_HOURS"
}
}
},
]
}
logs_ratio_threshold = null
logs_threshold = null
logs_time_relative_threshold = null
logs_unique_count = null
metric_anomaly = null
metric_threshold = null
tracing_immediate = null
tracing_threshold = null
}
#}
generated by Terraform from “41544404-db3c-4d6e-b039-b8cc3efd51f8”
#resource “coralogix_alert” “flow_alert_example” {
deleted = false
description = “Example of flow alert from terraform”
enabled = true
group_by = null
incidents_settings = {
notify_on = “Triggered Only”
retriggering_period = {
minutes = 10
}
}
labels = null
name = “flow alert example”
notification_group = {
group_by_keys = null
webhooks_settings = null
}
phantom_mode = false
priority = “P3”
schedule = null
type_definition = {
flow = {
enforce_suppression = false
stages = [
{
flow_stages_groups = [
{
alert_defs = [
{
id = "5c197c44-a51d-4c70-a90a-77a4a21ae3d8"
not = false
},
{
id = "f8a782a1-a503-4987-884f-7dac4b834b03"
not = false
},
]
alerts_op = "OR"
next_op = "AND"
},
{
alert_defs = [
{
id = "81bba4f8-332c-4bc4-b5d2-bd074a4f969e"
not = false
},
{
id = "f8a782a1-a503-4987-884f-7dac4b834b03"
not = false
},
]
alerts_op = "AND"
next_op = "OR"
},
]
timeframe_ms = 10
timeframe_type = "Up To"
},
]
}
logs_anomaly = null
logs_immediate = null
logs_new_value = null
logs_ratio_threshold = null
logs_threshold = null
logs_time_relative_threshold = null
logs_unique_count = null
metric_anomaly = null
metric_threshold = null
tracing_immediate = null
tracing_threshold = null
}
#}
generated by Terraform from “19e27a6d-470d-47e9-9447-d1a1bb512eb6”
#resource “coralogix_alert” “logs_immediate_alert” {
deleted = false
description = “Example of logs immediate alert from terraform”
enabled = true
group_by = null
incidents_settings = {
notify_on = “Triggered and Resolved”
retriggering_period = {
minutes = 10
}
}
labels = {
alert_type = “security”
security_severity = “high”
}
name = “logs immediate alert”
notification_group = {
group_by_keys = null
webhooks_settings = null
}
phantom_mode = false
priority = “P2”
schedule = {
active_on = {
days_of_week = ["Wednesday", "Thursday"]
end_time = {
hours = 20
minutes = 30
}
start_time = {
hours = 8
minutes = 30
}
}
}
type_definition = {
flow = null
logs_anomaly = null
logs_immediate = {
logs_filter = {
simple_filter = {
label_filters = {
application_name = null
severities = null
subsystem_name = null
}
lucene_query = "message:\"error\""
}
}
notification_payload_filter = null
}
logs_new_value = null
logs_ratio_threshold = null
logs_threshold = null
logs_time_relative_threshold = null
logs_unique_count = null
metric_anomaly = null
metric_threshold = null
tracing_immediate = null
tracing_threshold = null
}
#}
generated by Terraform from “187f3ea4-caa7-46e1-82c0-2dfd1e67a680”
#resource “coralogix_alert” “logs-ratio-more-than” {
deleted = false
description = “Example of logs-ratio-more-than alert from terraform”
enabled = true
group_by = [“coralogix.metadata.alert_id”, “coralogix.metadata.alert_name”]
incidents_settings = {
notify_on = “Triggered Only”
retriggering_period = {
minutes = 10
}
}
labels = null
name = “logs-ratio-more-than alert example”
notification_group = {
group_by_keys = [“coralogix.metadata.alert_id”, “coralogix.metadata.alert_name”]
webhooks_settings = null
}
phantom_mode = false
priority = “P1”
schedule = null
type_definition = {
flow = null
logs_anomaly = null
logs_immediate = null
logs_new_value = null
logs_ratio_threshold = {
denominator = {
simple_filter = {
label_filters = {
application_name = [
{
operation = "IS"
value = "nginx"
},
]
severities = ["Warning"]
subsystem_name = [
{
operation = "IS"
value = "subsystem-name"
},
]
}
lucene_query = "mod_date:[20020101 TO 20030101]"
}
}
denominator_alias = "denominator"
group_by_for = "Both"
notification_payload_filter = null
numerator = {
simple_filter = {
label_filters = {
application_name = [
{
operation = "IS"
value = "nginx"
},
]
severities = ["Error"]
subsystem_name = [
{
operation = "IS"
value = "subsystem-name"
},
]
}
lucene_query = "mod_date:[20030101 TO 20040101]"
}
}
numerator_alias = "numerator"
rules = [
{
condition = {
condition_type = "MORE_THAN"
threshold = 2
time_window = {
specific_value = "10_MINUTES"
}
}
override = {
priority = "P2"
}
},
]
}
logs_threshold = null
logs_time_relative_threshold = null
logs_unique_count = null
metric_anomaly = null
metric_threshold = null
tracing_immediate = null
tracing_threshold = null
}
#}
generated by Terraform
#resource “coralogix_alert” “tracing_more_than” {
deleted = false
description = “Example of tracing_more_than alert from terraform”
enabled = true
group_by = null
incidents_settings = {
notify_on = “Triggered Only”
retriggering_period = {
minutes = 10
}
}
labels = null
name = “tracing_more_than alert example”
notification_group = {
group_by_keys = null
webhooks_settings = null
}
phantom_mode = false
priority = “P2”
schedule = null
type_definition = {
flow = null
logs_anomaly = null
logs_immediate = null
logs_new_value = null
logs_ratio_threshold = null
logs_threshold = null
logs_time_relative_threshold = null
logs_unique_count = null
metric_anomaly = null
metric_threshold = null
tracing_immediate = null
tracing_threshold = {
notification_payload_filter = null
rules = [
{
condition = {
span_amount = 5
time_window = {
specific_value = "10_MINUTES"
}
}
},
]
tracing_filter = {
latency_threshold_ms = 100
tracing_label_filters = {
application_name = [
{
operation = "IS"
values = ["apache", "nginx"]
},
{
operation = "STARTS_WITH"
values = ["application-name:"]
},
]
operation_name = null
service_name = null
span_fields = null
subsystem_name = null
}
}
}
}
#}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- coralogix coralogix/terraform-provider-coralogix
- License
- Notes
- This Pulumi package is based on the
coralogix
Terraform Provider.