sumologic.Monitor
Provides the ability to create, read, delete, and update Monitors. If Fine Grain Permission (FGP) feature is enabled with Monitors Content at one’s Sumo Logic account, one can also set those permission details under this monitor resource. For further details about FGP, please see this Monitor Permission document.
Example SLO Monitors
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sumologic.Monitor;
import com.pulumi.sumologic.MonitorArgs;
import com.pulumi.sumologic.inputs.MonitorNotificationArgs;
import com.pulumi.sumologic.inputs.MonitorNotificationNotificationArgs;
import com.pulumi.sumologic.inputs.MonitorTriggerConditionsArgs;
import com.pulumi.sumologic.inputs.MonitorTriggerConditionsSloSliConditionArgs;
import com.pulumi.sumologic.inputs.MonitorTriggerConditionsSloSliConditionCriticalArgs;
import com.pulumi.sumologic.inputs.MonitorTriggerConditionsSloSliConditionWarningArgs;
import com.pulumi.sumologic.inputs.MonitorTriggerConditionsSloBurnRateConditionArgs;
import com.pulumi.sumologic.inputs.MonitorTriggerConditionsSloBurnRateConditionCriticalArgs;
import com.pulumi.sumologic.inputs.MonitorTriggerConditionsSloBurnRateConditionWarningArgs;
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 tfSloMonitor1 = new Monitor("tfSloMonitor1", MonitorArgs.builder()
.contentType("Monitor")
.evaluationDelay("5m")
.isDisabled(false)
.monitorType("Slo")
.notifications(MonitorNotificationArgs.builder()
.notification(MonitorNotificationNotificationArgs.builder()
.connectionType("Email")
.messageBody("Triggered {{TriggerType}} Alert on {{Name}}: {{QueryURL}}")
.recipients("abc@example.com")
.subject("Monitor Alert: {{TriggerType}} on {{Name}}")
.timeZone("PST")
.build())
.runForTriggerTypes(
"Critical",
"ResolvedCritical")
.build())
.playbook("test playbook")
.sloId("0000000000000009")
.triggerConditions(MonitorTriggerConditionsArgs.builder()
.sloSliCondition(MonitorTriggerConditionsSloSliConditionArgs.builder()
.critical(MonitorTriggerConditionsSloSliConditionCriticalArgs.builder()
.sliThreshold(99.5)
.build())
.warning(MonitorTriggerConditionsSloSliConditionWarningArgs.builder()
.sliThreshold(99.9)
.build())
.build())
.build())
.type("MonitorsLibraryMonitor")
.build());
var tfSloMonitor2 = new Monitor("tfSloMonitor2", MonitorArgs.builder()
.contentType("Monitor")
.evaluationDelay("5m")
.isDisabled(false)
.monitorType("Slo")
.sloId("0000000000000009")
.triggerConditions(MonitorTriggerConditionsArgs.builder()
.sloBurnRateCondition(MonitorTriggerConditionsSloBurnRateConditionArgs.builder()
.critical(MonitorTriggerConditionsSloBurnRateConditionCriticalArgs.builder()
.burnRate(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.warning(MonitorTriggerConditionsSloBurnRateConditionWarningArgs.builder()
.burnRate(
%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.build())
.build())
.type("MonitorsLibraryMonitor")
.build());
}
}
resources:
tfSloMonitor1:
type: sumologic:Monitor
properties:
contentType: Monitor
evaluationDelay: 5m
isDisabled: false
monitorType: Slo
notifications:
- notification:
connectionType: Email
messageBody: 'Triggered {{TriggerType}} Alert on {{Name}}: {{QueryURL}}'
recipients:
- abc@example.com
subject: 'Monitor Alert: {{TriggerType}} on {{Name}}'
timeZone: PST
runForTriggerTypes:
- Critical
- ResolvedCritical
playbook: test playbook
sloId: '0000000000000009'
triggerConditions:
sloSliCondition:
critical:
sliThreshold: 99.5
warning:
sliThreshold: 99.9
type: MonitorsLibraryMonitor
tfSloMonitor2:
type: sumologic:Monitor
properties:
contentType: Monitor
evaluationDelay: 5m
isDisabled: false
monitorType: Slo
sloId: '0000000000000009'
triggerConditions:
sloBurnRateCondition:
critical:
burnRate:
- burnRateThreshold: 50
timeRange: 1d
warning:
burnRate:
- burnRateThreshold: 30
timeRange: 3d
- burnRateThreshold: 20
timeRange: 4d
type: MonitorsLibraryMonitor
Monitor Folders
«««< HEAD NOTE: Monitor folders are considered a different resource from Library content folders.
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";
const tfMonitorFolder1 = new sumologic.MonitorFolder("tfMonitorFolder1", {description: "a folder for monitors"});
import pulumi
import pulumi_sumologic as sumologic
tf_monitor_folder1 = sumologic.MonitorFolder("tfMonitorFolder1", description="a folder for monitors")
using System.Collections.Generic;
using Pulumi;
using SumoLogic = Pulumi.SumoLogic;
return await Deployment.RunAsync(() =>
{
var tfMonitorFolder1 = new SumoLogic.MonitorFolder("tfMonitorFolder1", new()
{
Description = "a folder for monitors",
});
});
package main
import (
"github.com/pulumi/pulumi-sumologic/sdk/go/sumologic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sumologic.NewMonitorFolder(ctx, "tfMonitorFolder1", &sumologic.MonitorFolderArgs{
Description: pulumi.String("a folder for monitors"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sumologic.MonitorFolder;
import com.pulumi.sumologic.MonitorFolderArgs;
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 tfMonitorFolder1 = new MonitorFolder("tfMonitorFolder1", MonitorFolderArgs.builder()
.description("a folder for monitors")
.build());
}
}
resources:
tfMonitorFolder1:
type: sumologic:MonitorFolder
properties:
description: a folder for monitors
======= NOTE: Monitor folders are considered a different resource from Library content folders. See [sumologic.MonitorFolder][2] for more details.
v2.11.0
The trigger_conditions
block
A trigger_conditions
block configures conditions for sending notifications.
Example
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic;
using Pulumi;
return await Deployment.RunAsync(() =>
{
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
}
}
{}
Arguments
A trigger_conditions
block contains one or more subblocks of the following types:
logs_static_condition
metrics_static_condition
logs_outlier_condition
metrics_outlier_condition
logs_missing_data_condition
metrics_missing_data_condition
slo_sli_condition
slo_burn_rate_condition
Subblocks should be limited to at most 1 missing data condition and at most 1 static / outlier condition.
Here is a summary of arguments for each condition type (fields which are not marked as Required
are optional):
logs_static_condition
field
critical
time_range
(Required) : Accepted format: Optional-
sign followed by<number>
followed by a<time_unit>
character:s
for seconds,m
for minutes,h
for hours,d
for days. Examples:30m
,-12h
.alert
(Required)threshold
threshold_type
resolution
(Required)threshold
threshold_type
resolution_window
Accepted format:<number>
followed by a<time_unit>
character:s
for seconds,m
for minutes,h
for hours,d
for days. Examples:0s, 30m
.
warning
time_range
(Required) : Accepted format: Optional-
sign followed by<number>
followed by a<time_unit>
character:s
for seconds,m
for minutes,h
for hours,d
for days. Examples:30m
,-12h
.alert
(Required)threshold
threshold_type
resolution
(Required)threshold
threshold_type
resolution_window
Accepted format:<number>
followed by a<time_unit>
character:s
for seconds,m
for minutes,h
for hours,d
for days. Examples:0s, 30m
.
metrics_static_condition
critical
time_range
(Required) : Accepted format: Optional-
sign followed by<number>
followed by a<time_unit>
character:s
for seconds,m
for minutes,h
for hours,d
for days. Examples:30m
,-12h
.occurrence_type
(Required)alert
(Required)threshold
threshold_type
min_data_points
(Optional)
resolution
(Required)threshold
threshold_type
min_data_points
(Optional)
warning
time_range
(Required) : Accepted format: Optional-
sign followed by<number>
followed by a<time_unit>
character:s
for seconds,m
for minutes,h
for hours,d
for days. Examples:30m
,-12h
.occurrence_type
(Required)alert
(Required)threshold
threshold_type
min_data_points
(Optional)
resolution
(Required)threshold
threshold_type
min_data_points
(Optional)
logs_outlier_condition
field
direction
critical
window
consecutive
threshold
warning
window
consecutive
threshold
metrics_outlier_condition
direction
critical
baseline_window
threshold
warning
baseline_window
threshold
logs_missing_data_condition
time_range
(Required) : Accepted format: Optional-
sign followed by<number>
followed by a<time_unit>
character:s
for seconds,m
for minutes,h
for hours,d
for days. Examples:30m
,-12h
.
metrics_missing_data_condition
time_range
(Required) : Accepted format: Optional-
sign followed by<number>
followed by a<time_unit>
character:s
for seconds,m
for minutes,h
for hours,d
for days. Examples:30m
,-12h
.
slo_sli_condition
critical
sli_threshold
(Required) : The remaining SLI error budget threshold percentage [0,100).
warning
sli_threshold
(Required)
slo_burn_rate_condition
critical
time_range
(Deprecated) : The relative time range for the burn rate percentage evaluation. Accepted format: Optional-
sign followed by<number>
followed by a<time_unit>
character:s
for seconds,m
for minutes,h
for hours,d
for days. Examples:30m
,-12h
.burn_rate_threshold
(Deprecated) : The burn rate percentage threshold.burn_rate
(Required if above two fields are not present): Block to specify burn rate threshold and time range for the condition. This field is in private beta and is not available until given access. To participate in the beta program, contact Sumo Logic support.burn_rate_threshold
(Required): The burn rate percentage threshold.time_range
(Required): The relative time range for the burn rate percentage evaluation. Accepted format: Optional-
sign followed by<number>
followed by a<time_unit>
character:s
for seconds,m
for minutes,h
for hours,d
for days. Examples:30m
,-12h
.
warning
time_range
(Deprecated) : Accepted format: Optional-
sign followed by<number>
followed by a<time_unit>
character:s
for seconds,m
for minutes,h
for hours,d
for days. Examples:30m
,-12h
.burn_rate_threshold
(Deprecated)burn_rate
(Required if above two fields are not present): Block to specify burn rate threshold and time range for the condition. This field is in private beta and is not available until given access. To participate in the beta program, contact Sumo Logic support.burn_rate_threshold
(Required): The burn rate percentage threshold.time_range
(Required): The relative time range for the burn rate percentage evaluation. Accepted format: Optional-
sign followed by<number>
followed by a<time_unit>
character:s
for seconds,m
for minutes,h
for hours,d
for days. Examples:30m
,-12h
.
The triggers
block
The triggers
block is deprecated. Please use trigger_conditions
to specify notification conditions.
Here’s an example logs monitor that uses triggers
to specify trigger conditions:
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";
const tfLogsMonitor1 = new sumologic.Monitor("tfLogsMonitor1", {
contentType: "Monitor",
description: "tf logs monitor",
isDisabled: false,
monitorType: "Logs",
notifications: [
{
notification: {
connectionType: "Email",
messageBody: "Triggered {{TriggerType}} Alert on {{Name}}: {{QueryURL}}",
recipients: ["abc@example.com"],
subject: "Monitor Alert: {{TriggerType}} on {{Name}}",
timeZone: "PST",
},
runForTriggerTypes: [
"Critical",
"ResolvedCritical",
],
},
{
notification: {
connectionId: "0000000000ABC123",
connectionType: "Webhook",
},
runForTriggerTypes: [
"Critical",
"ResolvedCritical",
],
},
],
queries: [{
query: "_sourceCategory=event-action info",
rowId: "A",
}],
triggers: [
{
detectionMethod: "StaticCondition",
occurrenceType: "ResultCount",
threshold: 40,
thresholdType: "GreaterThan",
timeRange: "15m",
triggerSource: "AllResults",
triggerType: "Critical",
},
{
detectionMethod: "StaticCondition",
occurrenceType: "ResultCount",
resolutionWindow: "5m",
threshold: 40,
thresholdType: "LessThanOrEqual",
timeRange: "15m",
triggerSource: "AllResults",
triggerType: "ResolvedCritical",
},
],
type: "MonitorsLibraryMonitor",
});
import pulumi
import pulumi_sumologic as sumologic
tf_logs_monitor1 = sumologic.Monitor("tfLogsMonitor1",
content_type="Monitor",
description="tf logs monitor",
is_disabled=False,
monitor_type="Logs",
notifications=[
sumologic.MonitorNotificationArgs(
notification=sumologic.MonitorNotificationNotificationArgs(
connection_type="Email",
message_body="Triggered {{TriggerType}} Alert on {{Name}}: {{QueryURL}}",
recipients=["abc@example.com"],
subject="Monitor Alert: {{TriggerType}} on {{Name}}",
time_zone="PST",
),
run_for_trigger_types=[
"Critical",
"ResolvedCritical",
],
),
sumologic.MonitorNotificationArgs(
notification=sumologic.MonitorNotificationNotificationArgs(
connection_id="0000000000ABC123",
connection_type="Webhook",
),
run_for_trigger_types=[
"Critical",
"ResolvedCritical",
],
),
],
queries=[sumologic.MonitorQueryArgs(
query="_sourceCategory=event-action info",
row_id="A",
)],
triggers=[
sumologic.MonitorTriggerArgs(
detection_method="StaticCondition",
occurrence_type="ResultCount",
threshold=40,
threshold_type="GreaterThan",
time_range="15m",
trigger_source="AllResults",
trigger_type="Critical",
),
sumologic.MonitorTriggerArgs(
detection_method="StaticCondition",
occurrence_type="ResultCount",
resolution_window="5m",
threshold=40,
threshold_type="LessThanOrEqual",
time_range="15m",
trigger_source="AllResults",
trigger_type="ResolvedCritical",
),
],
type="MonitorsLibraryMonitor")
using System.Collections.Generic;
using Pulumi;
using SumoLogic = Pulumi.SumoLogic;
return await Deployment.RunAsync(() =>
{
var tfLogsMonitor1 = new SumoLogic.Monitor("tfLogsMonitor1", new()
{
ContentType = "Monitor",
Description = "tf logs monitor",
IsDisabled = false,
MonitorType = "Logs",
Notifications = new[]
{
new SumoLogic.Inputs.MonitorNotificationArgs
{
Notification = new SumoLogic.Inputs.MonitorNotificationNotificationArgs
{
ConnectionType = "Email",
MessageBody = "Triggered {{TriggerType}} Alert on {{Name}}: {{QueryURL}}",
Recipients = new[]
{
"abc@example.com",
},
Subject = "Monitor Alert: {{TriggerType}} on {{Name}}",
TimeZone = "PST",
},
RunForTriggerTypes = new[]
{
"Critical",
"ResolvedCritical",
},
},
new SumoLogic.Inputs.MonitorNotificationArgs
{
Notification = new SumoLogic.Inputs.MonitorNotificationNotificationArgs
{
ConnectionId = "0000000000ABC123",
ConnectionType = "Webhook",
},
RunForTriggerTypes = new[]
{
"Critical",
"ResolvedCritical",
},
},
},
Queries = new[]
{
new SumoLogic.Inputs.MonitorQueryArgs
{
Query = "_sourceCategory=event-action info",
RowId = "A",
},
},
Triggers = new[]
{
new SumoLogic.Inputs.MonitorTriggerArgs
{
DetectionMethod = "StaticCondition",
OccurrenceType = "ResultCount",
Threshold = 40,
ThresholdType = "GreaterThan",
TimeRange = "15m",
TriggerSource = "AllResults",
TriggerType = "Critical",
},
new SumoLogic.Inputs.MonitorTriggerArgs
{
DetectionMethod = "StaticCondition",
OccurrenceType = "ResultCount",
ResolutionWindow = "5m",
Threshold = 40,
ThresholdType = "LessThanOrEqual",
TimeRange = "15m",
TriggerSource = "AllResults",
TriggerType = "ResolvedCritical",
},
},
Type = "MonitorsLibraryMonitor",
});
});
package main
import (
"github.com/pulumi/pulumi-sumologic/sdk/go/sumologic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sumologic.NewMonitor(ctx, "tfLogsMonitor1", &sumologic.MonitorArgs{
ContentType: pulumi.String("Monitor"),
Description: pulumi.String("tf logs monitor"),
IsDisabled: pulumi.Bool(false),
MonitorType: pulumi.String("Logs"),
Notifications: sumologic.MonitorNotificationArray{
&sumologic.MonitorNotificationArgs{
Notification: &sumologic.MonitorNotificationNotificationArgs{
ConnectionType: pulumi.String("Email"),
MessageBody: pulumi.String("Triggered {{TriggerType}} Alert on {{Name}}: {{QueryURL}}"),
Recipients: pulumi.StringArray{
pulumi.String("abc@example.com"),
},
Subject: pulumi.String("Monitor Alert: {{TriggerType}} on {{Name}}"),
TimeZone: pulumi.String("PST"),
},
RunForTriggerTypes: pulumi.StringArray{
pulumi.String("Critical"),
pulumi.String("ResolvedCritical"),
},
},
&sumologic.MonitorNotificationArgs{
Notification: &sumologic.MonitorNotificationNotificationArgs{
ConnectionId: pulumi.String("0000000000ABC123"),
ConnectionType: pulumi.String("Webhook"),
},
RunForTriggerTypes: pulumi.StringArray{
pulumi.String("Critical"),
pulumi.String("ResolvedCritical"),
},
},
},
Queries: sumologic.MonitorQueryArray{
&sumologic.MonitorQueryArgs{
Query: pulumi.String("_sourceCategory=event-action info"),
RowId: pulumi.String("A"),
},
},
Triggers: sumologic.MonitorTriggerArray{
&sumologic.MonitorTriggerArgs{
DetectionMethod: pulumi.String("StaticCondition"),
OccurrenceType: pulumi.String("ResultCount"),
Threshold: pulumi.Float64(40),
ThresholdType: pulumi.String("GreaterThan"),
TimeRange: pulumi.String("15m"),
TriggerSource: pulumi.String("AllResults"),
TriggerType: pulumi.String("Critical"),
},
&sumologic.MonitorTriggerArgs{
DetectionMethod: pulumi.String("StaticCondition"),
OccurrenceType: pulumi.String("ResultCount"),
ResolutionWindow: pulumi.String("5m"),
Threshold: pulumi.Float64(40),
ThresholdType: pulumi.String("LessThanOrEqual"),
TimeRange: pulumi.String("15m"),
TriggerSource: pulumi.String("AllResults"),
TriggerType: pulumi.String("ResolvedCritical"),
},
},
Type: pulumi.String("MonitorsLibraryMonitor"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sumologic.Monitor;
import com.pulumi.sumologic.MonitorArgs;
import com.pulumi.sumologic.inputs.MonitorNotificationArgs;
import com.pulumi.sumologic.inputs.MonitorNotificationNotificationArgs;
import com.pulumi.sumologic.inputs.MonitorQueryArgs;
import com.pulumi.sumologic.inputs.MonitorTriggerArgs;
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 tfLogsMonitor1 = new Monitor("tfLogsMonitor1", MonitorArgs.builder()
.contentType("Monitor")
.description("tf logs monitor")
.isDisabled(false)
.monitorType("Logs")
.notifications(
MonitorNotificationArgs.builder()
.notification(MonitorNotificationNotificationArgs.builder()
.connectionType("Email")
.messageBody("Triggered {{TriggerType}} Alert on {{Name}}: {{QueryURL}}")
.recipients("abc@example.com")
.subject("Monitor Alert: {{TriggerType}} on {{Name}}")
.timeZone("PST")
.build())
.runForTriggerTypes(
"Critical",
"ResolvedCritical")
.build(),
MonitorNotificationArgs.builder()
.notification(MonitorNotificationNotificationArgs.builder()
.connectionId("0000000000ABC123")
.connectionType("Webhook")
.build())
.runForTriggerTypes(
"Critical",
"ResolvedCritical")
.build())
.queries(MonitorQueryArgs.builder()
.query("_sourceCategory=event-action info")
.rowId("A")
.build())
.triggers(
MonitorTriggerArgs.builder()
.detectionMethod("StaticCondition")
.occurrenceType("ResultCount")
.threshold(40)
.thresholdType("GreaterThan")
.timeRange("15m")
.triggerSource("AllResults")
.triggerType("Critical")
.build(),
MonitorTriggerArgs.builder()
.detectionMethod("StaticCondition")
.occurrenceType("ResultCount")
.resolutionWindow("5m")
.threshold(40)
.thresholdType("LessThanOrEqual")
.timeRange("15m")
.triggerSource("AllResults")
.triggerType("ResolvedCritical")
.build())
.type("MonitorsLibraryMonitor")
.build());
}
}
resources:
tfLogsMonitor1:
type: sumologic:Monitor
properties:
contentType: Monitor
description: tf logs monitor
isDisabled: false
monitorType: Logs
notifications:
- notification:
connectionType: Email
messageBody: 'Triggered {{TriggerType}} Alert on {{Name}}: {{QueryURL}}'
recipients:
- abc@example.com
subject: 'Monitor Alert: {{TriggerType}} on {{Name}}'
timeZone: PST
runForTriggerTypes:
- Critical
- ResolvedCritical
- notification:
connectionId: 0000000000ABC123
connectionType: Webhook
runForTriggerTypes:
- Critical
- ResolvedCritical
queries:
- query: _sourceCategory=event-action info
rowId: A
triggers:
- detectionMethod: StaticCondition
occurrenceType: ResultCount
threshold: 40
thresholdType: GreaterThan
timeRange: 15m
triggerSource: AllResults
triggerType: Critical
- detectionMethod: StaticCondition
occurrenceType: ResultCount
resolutionWindow: 5m
threshold: 40
thresholdType: LessThanOrEqual
timeRange: 15m
triggerSource: AllResults
triggerType: ResolvedCritical
type: MonitorsLibraryMonitor
Create Monitor Resource
new Monitor(name: string, args: MonitorArgs, opts?: CustomResourceOptions);
@overload
def Monitor(resource_name: str,
opts: Optional[ResourceOptions] = None,
alert_name: Optional[str] = None,
content_type: Optional[str] = None,
created_at: Optional[str] = None,
created_by: Optional[str] = None,
description: Optional[str] = None,
evaluation_delay: Optional[str] = None,
group_notifications: Optional[bool] = None,
is_disabled: Optional[bool] = None,
is_locked: Optional[bool] = None,
is_mutable: Optional[bool] = None,
is_system: Optional[bool] = None,
modified_at: Optional[str] = None,
modified_by: Optional[str] = None,
monitor_type: Optional[str] = None,
name: Optional[str] = None,
notification_group_fields: Optional[Sequence[str]] = None,
notifications: Optional[Sequence[MonitorNotificationArgs]] = None,
obj_permissions: Optional[Sequence[MonitorObjPermissionArgs]] = None,
parent_id: Optional[str] = None,
playbook: Optional[str] = None,
post_request_map: Optional[Mapping[str, str]] = None,
queries: Optional[Sequence[MonitorQueryArgs]] = None,
slo_id: Optional[str] = None,
statuses: Optional[Sequence[str]] = None,
trigger_conditions: Optional[MonitorTriggerConditionsArgs] = None,
triggers: Optional[Sequence[MonitorTriggerArgs]] = None,
type: Optional[str] = None,
version: Optional[int] = None)
@overload
def Monitor(resource_name: str,
args: MonitorArgs,
opts: Optional[ResourceOptions] = None)
func NewMonitor(ctx *Context, name string, args MonitorArgs, opts ...ResourceOption) (*Monitor, error)
public Monitor(string name, MonitorArgs args, CustomResourceOptions? opts = null)
public Monitor(String name, MonitorArgs args)
public Monitor(String name, MonitorArgs args, CustomResourceOptions options)
type: sumologic:Monitor
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MonitorArgs
- 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 MonitorArgs
- 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 MonitorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MonitorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Monitor Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Monitor resource accepts the following input properties:
- Monitor
Type string The type of monitor. Valid values:
- Alert
Name string The display name when creating alerts. Monitor name will be used if
alert_name
is not provided. All template variables can be used inalert_name
except{{AlertName}}
,{{AlertResponseURL}}
,{{ResultsJson}}
, and{{Playbook}}
.- Content
Type string The type of the content object. Valid value:
- Created
At string - Created
By string - Description string
The description of the monitor.
- Evaluation
Delay string Evaluation delay as a string consists of the following elements:
<number>
: number of time units,<time_unit>
: time unit; possible values are:h
(hour),m
(minute),s
(second).
- Group
Notifications bool Whether or not to group notifications for individual items that meet the trigger condition. Defaults to true.
- Is
Disabled bool Whether or not the monitor is disabled. Disabled monitors will not run and will not generate or send notifications.
- Is
Locked bool - Is
Mutable bool - Is
System bool - Modified
At string - Modified
By string - Name string
The name of the monitor. The name must be alphanumeric.
- Notification
Group List<string>Fields The set of fields to be used to group alerts and notifications for a monitor. The value of this field will be considered only when 'groupNotifications' is true.
- Notifications
List<Pulumi.
Sumo Logic. Inputs. Monitor Notification Args> The notifications the monitor will send when the respective trigger condition is met.
- Obj
Permissions List<Pulumi.Sumo Logic. Inputs. Monitor Obj Permission Args> obj_permission
construct represents a Permission Statement associated with this Monitor. A set ofobj_permission
constructs can be specified under a Monitor. Anobj_permission
construct can be used to control permissions Explicitly associated with a Monitor. But, it cannot be used to control permissions Inherited from a Parent / Ancestor. Default FGP would be still set to the Monitor upon creation (e.g. the creating user would have full permission), even if noobj_permission
construct is specified at a Monitor and the FGP feature is enabled at the account.- Parent
Id string The ID of the Monitor Folder that contains this monitor. Defaults to the root folder.
- Playbook string
Notes such as links and instruction to help you resolve alerts triggered by this monitor. {{Markdown}} supported. It will be enabled only if available for your organization. Please contact your Sumo Logic account team to learn more.
- Post
Request Dictionary<string, string>Map - Queries
List<Pulumi.
Sumo Logic. Inputs. Monitor Query Args> All queries from the monitor.
- Slo
Id string Identifier of the SLO definition for the monitor. This is only applicable & required for Slo
monitor_type
.- Statuses List<string>
The current status for this monitor. Values are:
- Trigger
Conditions Pulumi.Sumo Logic. Inputs. Monitor Trigger Conditions Args Defines the conditions of when to send notifications. NOTE:
trigger_conditions
supplants thetriggers
argument.- Triggers
List<Pulumi.
Sumo Logic. Inputs. Monitor Trigger Args> Defines the conditions of when to send notifications.
The field
triggers
is deprecated and will be removed in a future release of the provider -- please usetrigger_conditions
instead.- Type string
The type of object model. Valid value:
- Version int
- Monitor
Type string The type of monitor. Valid values:
- Alert
Name string The display name when creating alerts. Monitor name will be used if
alert_name
is not provided. All template variables can be used inalert_name
except{{AlertName}}
,{{AlertResponseURL}}
,{{ResultsJson}}
, and{{Playbook}}
.- Content
Type string The type of the content object. Valid value:
- Created
At string - Created
By string - Description string
The description of the monitor.
- Evaluation
Delay string Evaluation delay as a string consists of the following elements:
<number>
: number of time units,<time_unit>
: time unit; possible values are:h
(hour),m
(minute),s
(second).
- Group
Notifications bool Whether or not to group notifications for individual items that meet the trigger condition. Defaults to true.
- Is
Disabled bool Whether or not the monitor is disabled. Disabled monitors will not run and will not generate or send notifications.
- Is
Locked bool - Is
Mutable bool - Is
System bool - Modified
At string - Modified
By string - Name string
The name of the monitor. The name must be alphanumeric.
- Notification
Group []stringFields The set of fields to be used to group alerts and notifications for a monitor. The value of this field will be considered only when 'groupNotifications' is true.
- Notifications
[]Monitor
Notification Args The notifications the monitor will send when the respective trigger condition is met.
- Obj
Permissions []MonitorObj Permission Args obj_permission
construct represents a Permission Statement associated with this Monitor. A set ofobj_permission
constructs can be specified under a Monitor. Anobj_permission
construct can be used to control permissions Explicitly associated with a Monitor. But, it cannot be used to control permissions Inherited from a Parent / Ancestor. Default FGP would be still set to the Monitor upon creation (e.g. the creating user would have full permission), even if noobj_permission
construct is specified at a Monitor and the FGP feature is enabled at the account.- Parent
Id string The ID of the Monitor Folder that contains this monitor. Defaults to the root folder.
- Playbook string
Notes such as links and instruction to help you resolve alerts triggered by this monitor. {{Markdown}} supported. It will be enabled only if available for your organization. Please contact your Sumo Logic account team to learn more.
- Post
Request map[string]stringMap - Queries
[]Monitor
Query Args All queries from the monitor.
- Slo
Id string Identifier of the SLO definition for the monitor. This is only applicable & required for Slo
monitor_type
.- Statuses []string
The current status for this monitor. Values are:
- Trigger
Conditions MonitorTrigger Conditions Args Defines the conditions of when to send notifications. NOTE:
trigger_conditions
supplants thetriggers
argument.- Triggers
[]Monitor
Trigger Args Defines the conditions of when to send notifications.
The field
triggers
is deprecated and will be removed in a future release of the provider -- please usetrigger_conditions
instead.- Type string
The type of object model. Valid value:
- Version int
- monitor
Type String The type of monitor. Valid values:
- alert
Name String The display name when creating alerts. Monitor name will be used if
alert_name
is not provided. All template variables can be used inalert_name
except{{AlertName}}
,{{AlertResponseURL}}
,{{ResultsJson}}
, and{{Playbook}}
.- content
Type String The type of the content object. Valid value:
- created
At String - created
By String - description String
The description of the monitor.
- evaluation
Delay String Evaluation delay as a string consists of the following elements:
<number>
: number of time units,<time_unit>
: time unit; possible values are:h
(hour),m
(minute),s
(second).
- group
Notifications Boolean Whether or not to group notifications for individual items that meet the trigger condition. Defaults to true.
- is
Disabled Boolean Whether or not the monitor is disabled. Disabled monitors will not run and will not generate or send notifications.
- is
Locked Boolean - is
Mutable Boolean - is
System Boolean - modified
At String - modified
By String - name String
The name of the monitor. The name must be alphanumeric.
- notification
Group List<String>Fields The set of fields to be used to group alerts and notifications for a monitor. The value of this field will be considered only when 'groupNotifications' is true.
- notifications
List<Monitor
Notification Args> The notifications the monitor will send when the respective trigger condition is met.
- obj
Permissions List<MonitorObj Permission Args> obj_permission
construct represents a Permission Statement associated with this Monitor. A set ofobj_permission
constructs can be specified under a Monitor. Anobj_permission
construct can be used to control permissions Explicitly associated with a Monitor. But, it cannot be used to control permissions Inherited from a Parent / Ancestor. Default FGP would be still set to the Monitor upon creation (e.g. the creating user would have full permission), even if noobj_permission
construct is specified at a Monitor and the FGP feature is enabled at the account.- parent
Id String The ID of the Monitor Folder that contains this monitor. Defaults to the root folder.
- playbook String
Notes such as links and instruction to help you resolve alerts triggered by this monitor. {{Markdown}} supported. It will be enabled only if available for your organization. Please contact your Sumo Logic account team to learn more.
- post
Request Map<String,String>Map - queries
List<Monitor
Query Args> All queries from the monitor.
- slo
Id String Identifier of the SLO definition for the monitor. This is only applicable & required for Slo
monitor_type
.- statuses List<String>
The current status for this monitor. Values are:
- trigger
Conditions MonitorTrigger Conditions Args Defines the conditions of when to send notifications. NOTE:
trigger_conditions
supplants thetriggers
argument.- triggers
List<Monitor
Trigger Args> Defines the conditions of when to send notifications.
The field
triggers
is deprecated and will be removed in a future release of the provider -- please usetrigger_conditions
instead.- type String
The type of object model. Valid value:
- version Integer
- monitor
Type string The type of monitor. Valid values:
- alert
Name string The display name when creating alerts. Monitor name will be used if
alert_name
is not provided. All template variables can be used inalert_name
except{{AlertName}}
,{{AlertResponseURL}}
,{{ResultsJson}}
, and{{Playbook}}
.- content
Type string The type of the content object. Valid value:
- created
At string - created
By string - description string
The description of the monitor.
- evaluation
Delay string Evaluation delay as a string consists of the following elements:
<number>
: number of time units,<time_unit>
: time unit; possible values are:h
(hour),m
(minute),s
(second).
- group
Notifications boolean Whether or not to group notifications for individual items that meet the trigger condition. Defaults to true.
- is
Disabled boolean Whether or not the monitor is disabled. Disabled monitors will not run and will not generate or send notifications.
- is
Locked boolean - is
Mutable boolean - is
System boolean - modified
At string - modified
By string - name string
The name of the monitor. The name must be alphanumeric.
- notification
Group string[]Fields The set of fields to be used to group alerts and notifications for a monitor. The value of this field will be considered only when 'groupNotifications' is true.
- notifications
Monitor
Notification Args[] The notifications the monitor will send when the respective trigger condition is met.
- obj
Permissions MonitorObj Permission Args[] obj_permission
construct represents a Permission Statement associated with this Monitor. A set ofobj_permission
constructs can be specified under a Monitor. Anobj_permission
construct can be used to control permissions Explicitly associated with a Monitor. But, it cannot be used to control permissions Inherited from a Parent / Ancestor. Default FGP would be still set to the Monitor upon creation (e.g. the creating user would have full permission), even if noobj_permission
construct is specified at a Monitor and the FGP feature is enabled at the account.- parent
Id string The ID of the Monitor Folder that contains this monitor. Defaults to the root folder.
- playbook string
Notes such as links and instruction to help you resolve alerts triggered by this monitor. {{Markdown}} supported. It will be enabled only if available for your organization. Please contact your Sumo Logic account team to learn more.
- post
Request {[key: string]: string}Map - queries
Monitor
Query Args[] All queries from the monitor.
- slo
Id string Identifier of the SLO definition for the monitor. This is only applicable & required for Slo
monitor_type
.- statuses string[]
The current status for this monitor. Values are:
- trigger
Conditions MonitorTrigger Conditions Args Defines the conditions of when to send notifications. NOTE:
trigger_conditions
supplants thetriggers
argument.- triggers
Monitor
Trigger Args[] Defines the conditions of when to send notifications.
The field
triggers
is deprecated and will be removed in a future release of the provider -- please usetrigger_conditions
instead.- type string
The type of object model. Valid value:
- version number
- monitor_
type str The type of monitor. Valid values:
- alert_
name str The display name when creating alerts. Monitor name will be used if
alert_name
is not provided. All template variables can be used inalert_name
except{{AlertName}}
,{{AlertResponseURL}}
,{{ResultsJson}}
, and{{Playbook}}
.- content_
type str The type of the content object. Valid value:
- created_
at str - created_
by str - description str
The description of the monitor.
- evaluation_
delay str Evaluation delay as a string consists of the following elements:
<number>
: number of time units,<time_unit>
: time unit; possible values are:h
(hour),m
(minute),s
(second).
- group_
notifications bool Whether or not to group notifications for individual items that meet the trigger condition. Defaults to true.
- is_
disabled bool Whether or not the monitor is disabled. Disabled monitors will not run and will not generate or send notifications.
- is_
locked bool - is_
mutable bool - is_
system bool - modified_
at str - modified_
by str - name str
The name of the monitor. The name must be alphanumeric.
- notification_
group_ Sequence[str]fields The set of fields to be used to group alerts and notifications for a monitor. The value of this field will be considered only when 'groupNotifications' is true.
- notifications
Sequence[Monitor
Notification Args] The notifications the monitor will send when the respective trigger condition is met.
- obj_
permissions Sequence[MonitorObj Permission Args] obj_permission
construct represents a Permission Statement associated with this Monitor. A set ofobj_permission
constructs can be specified under a Monitor. Anobj_permission
construct can be used to control permissions Explicitly associated with a Monitor. But, it cannot be used to control permissions Inherited from a Parent / Ancestor. Default FGP would be still set to the Monitor upon creation (e.g. the creating user would have full permission), even if noobj_permission
construct is specified at a Monitor and the FGP feature is enabled at the account.- parent_
id str The ID of the Monitor Folder that contains this monitor. Defaults to the root folder.
- playbook str
Notes such as links and instruction to help you resolve alerts triggered by this monitor. {{Markdown}} supported. It will be enabled only if available for your organization. Please contact your Sumo Logic account team to learn more.
- post_
request_ Mapping[str, str]map - queries
Sequence[Monitor
Query Args] All queries from the monitor.
- slo_
id str Identifier of the SLO definition for the monitor. This is only applicable & required for Slo
monitor_type
.- statuses Sequence[str]
The current status for this monitor. Values are:
- trigger_
conditions MonitorTrigger Conditions Args Defines the conditions of when to send notifications. NOTE:
trigger_conditions
supplants thetriggers
argument.- triggers
Sequence[Monitor
Trigger Args] Defines the conditions of when to send notifications.
The field
triggers
is deprecated and will be removed in a future release of the provider -- please usetrigger_conditions
instead.- type str
The type of object model. Valid value:
- version int
- monitor
Type String The type of monitor. Valid values:
- alert
Name String The display name when creating alerts. Monitor name will be used if
alert_name
is not provided. All template variables can be used inalert_name
except{{AlertName}}
,{{AlertResponseURL}}
,{{ResultsJson}}
, and{{Playbook}}
.- content
Type String The type of the content object. Valid value:
- created
At String - created
By String - description String
The description of the monitor.
- evaluation
Delay String Evaluation delay as a string consists of the following elements:
<number>
: number of time units,<time_unit>
: time unit; possible values are:h
(hour),m
(minute),s
(second).
- group
Notifications Boolean Whether or not to group notifications for individual items that meet the trigger condition. Defaults to true.
- is
Disabled Boolean Whether or not the monitor is disabled. Disabled monitors will not run and will not generate or send notifications.
- is
Locked Boolean - is
Mutable Boolean - is
System Boolean - modified
At String - modified
By String - name String
The name of the monitor. The name must be alphanumeric.
- notification
Group List<String>Fields The set of fields to be used to group alerts and notifications for a monitor. The value of this field will be considered only when 'groupNotifications' is true.
- notifications List<Property Map>
The notifications the monitor will send when the respective trigger condition is met.
- obj
Permissions List<Property Map> obj_permission
construct represents a Permission Statement associated with this Monitor. A set ofobj_permission
constructs can be specified under a Monitor. Anobj_permission
construct can be used to control permissions Explicitly associated with a Monitor. But, it cannot be used to control permissions Inherited from a Parent / Ancestor. Default FGP would be still set to the Monitor upon creation (e.g. the creating user would have full permission), even if noobj_permission
construct is specified at a Monitor and the FGP feature is enabled at the account.- parent
Id String The ID of the Monitor Folder that contains this monitor. Defaults to the root folder.
- playbook String
Notes such as links and instruction to help you resolve alerts triggered by this monitor. {{Markdown}} supported. It will be enabled only if available for your organization. Please contact your Sumo Logic account team to learn more.
- post
Request Map<String>Map - queries List<Property Map>
All queries from the monitor.
- slo
Id String Identifier of the SLO definition for the monitor. This is only applicable & required for Slo
monitor_type
.- statuses List<String>
The current status for this monitor. Values are:
- trigger
Conditions Property Map Defines the conditions of when to send notifications. NOTE:
trigger_conditions
supplants thetriggers
argument.- triggers List<Property Map>
Defines the conditions of when to send notifications.
The field
triggers
is deprecated and will be removed in a future release of the provider -- please usetrigger_conditions
instead.- type String
The type of object model. Valid value:
- version Number
Outputs
All input properties are implicitly available as output properties. Additionally, the Monitor resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing Monitor Resource
Get an existing Monitor 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?: MonitorState, opts?: CustomResourceOptions): Monitor
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alert_name: Optional[str] = None,
content_type: Optional[str] = None,
created_at: Optional[str] = None,
created_by: Optional[str] = None,
description: Optional[str] = None,
evaluation_delay: Optional[str] = None,
group_notifications: Optional[bool] = None,
is_disabled: Optional[bool] = None,
is_locked: Optional[bool] = None,
is_mutable: Optional[bool] = None,
is_system: Optional[bool] = None,
modified_at: Optional[str] = None,
modified_by: Optional[str] = None,
monitor_type: Optional[str] = None,
name: Optional[str] = None,
notification_group_fields: Optional[Sequence[str]] = None,
notifications: Optional[Sequence[MonitorNotificationArgs]] = None,
obj_permissions: Optional[Sequence[MonitorObjPermissionArgs]] = None,
parent_id: Optional[str] = None,
playbook: Optional[str] = None,
post_request_map: Optional[Mapping[str, str]] = None,
queries: Optional[Sequence[MonitorQueryArgs]] = None,
slo_id: Optional[str] = None,
statuses: Optional[Sequence[str]] = None,
trigger_conditions: Optional[MonitorTriggerConditionsArgs] = None,
triggers: Optional[Sequence[MonitorTriggerArgs]] = None,
type: Optional[str] = None,
version: Optional[int] = None) -> Monitor
func GetMonitor(ctx *Context, name string, id IDInput, state *MonitorState, opts ...ResourceOption) (*Monitor, error)
public static Monitor Get(string name, Input<string> id, MonitorState? state, CustomResourceOptions? opts = null)
public static Monitor get(String name, Output<String> id, MonitorState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Alert
Name string The display name when creating alerts. Monitor name will be used if
alert_name
is not provided. All template variables can be used inalert_name
except{{AlertName}}
,{{AlertResponseURL}}
,{{ResultsJson}}
, and{{Playbook}}
.- Content
Type string The type of the content object. Valid value:
- Created
At string - Created
By string - Description string
The description of the monitor.
- Evaluation
Delay string Evaluation delay as a string consists of the following elements:
<number>
: number of time units,<time_unit>
: time unit; possible values are:h
(hour),m
(minute),s
(second).
- Group
Notifications bool Whether or not to group notifications for individual items that meet the trigger condition. Defaults to true.
- Is
Disabled bool Whether or not the monitor is disabled. Disabled monitors will not run and will not generate or send notifications.
- Is
Locked bool - Is
Mutable bool - Is
System bool - Modified
At string - Modified
By string - Monitor
Type string The type of monitor. Valid values:
- Name string
The name of the monitor. The name must be alphanumeric.
- Notification
Group List<string>Fields The set of fields to be used to group alerts and notifications for a monitor. The value of this field will be considered only when 'groupNotifications' is true.
- Notifications
List<Pulumi.
Sumo Logic. Inputs. Monitor Notification Args> The notifications the monitor will send when the respective trigger condition is met.
- Obj
Permissions List<Pulumi.Sumo Logic. Inputs. Monitor Obj Permission Args> obj_permission
construct represents a Permission Statement associated with this Monitor. A set ofobj_permission
constructs can be specified under a Monitor. Anobj_permission
construct can be used to control permissions Explicitly associated with a Monitor. But, it cannot be used to control permissions Inherited from a Parent / Ancestor. Default FGP would be still set to the Monitor upon creation (e.g. the creating user would have full permission), even if noobj_permission
construct is specified at a Monitor and the FGP feature is enabled at the account.- Parent
Id string The ID of the Monitor Folder that contains this monitor. Defaults to the root folder.
- Playbook string
Notes such as links and instruction to help you resolve alerts triggered by this monitor. {{Markdown}} supported. It will be enabled only if available for your organization. Please contact your Sumo Logic account team to learn more.
- Post
Request Dictionary<string, string>Map - Queries
List<Pulumi.
Sumo Logic. Inputs. Monitor Query Args> All queries from the monitor.
- Slo
Id string Identifier of the SLO definition for the monitor. This is only applicable & required for Slo
monitor_type
.- Statuses List<string>
The current status for this monitor. Values are:
- Trigger
Conditions Pulumi.Sumo Logic. Inputs. Monitor Trigger Conditions Args Defines the conditions of when to send notifications. NOTE:
trigger_conditions
supplants thetriggers
argument.- Triggers
List<Pulumi.
Sumo Logic. Inputs. Monitor Trigger Args> Defines the conditions of when to send notifications.
The field
triggers
is deprecated and will be removed in a future release of the provider -- please usetrigger_conditions
instead.- Type string
The type of object model. Valid value:
- Version int
- Alert
Name string The display name when creating alerts. Monitor name will be used if
alert_name
is not provided. All template variables can be used inalert_name
except{{AlertName}}
,{{AlertResponseURL}}
,{{ResultsJson}}
, and{{Playbook}}
.- Content
Type string The type of the content object. Valid value:
- Created
At string - Created
By string - Description string
The description of the monitor.
- Evaluation
Delay string Evaluation delay as a string consists of the following elements:
<number>
: number of time units,<time_unit>
: time unit; possible values are:h
(hour),m
(minute),s
(second).
- Group
Notifications bool Whether or not to group notifications for individual items that meet the trigger condition. Defaults to true.
- Is
Disabled bool Whether or not the monitor is disabled. Disabled monitors will not run and will not generate or send notifications.
- Is
Locked bool - Is
Mutable bool - Is
System bool - Modified
At string - Modified
By string - Monitor
Type string The type of monitor. Valid values:
- Name string
The name of the monitor. The name must be alphanumeric.
- Notification
Group []stringFields The set of fields to be used to group alerts and notifications for a monitor. The value of this field will be considered only when 'groupNotifications' is true.
- Notifications
[]Monitor
Notification Args The notifications the monitor will send when the respective trigger condition is met.
- Obj
Permissions []MonitorObj Permission Args obj_permission
construct represents a Permission Statement associated with this Monitor. A set ofobj_permission
constructs can be specified under a Monitor. Anobj_permission
construct can be used to control permissions Explicitly associated with a Monitor. But, it cannot be used to control permissions Inherited from a Parent / Ancestor. Default FGP would be still set to the Monitor upon creation (e.g. the creating user would have full permission), even if noobj_permission
construct is specified at a Monitor and the FGP feature is enabled at the account.- Parent
Id string The ID of the Monitor Folder that contains this monitor. Defaults to the root folder.
- Playbook string
Notes such as links and instruction to help you resolve alerts triggered by this monitor. {{Markdown}} supported. It will be enabled only if available for your organization. Please contact your Sumo Logic account team to learn more.
- Post
Request map[string]stringMap - Queries
[]Monitor
Query Args All queries from the monitor.
- Slo
Id string Identifier of the SLO definition for the monitor. This is only applicable & required for Slo
monitor_type
.- Statuses []string
The current status for this monitor. Values are:
- Trigger
Conditions MonitorTrigger Conditions Args Defines the conditions of when to send notifications. NOTE:
trigger_conditions
supplants thetriggers
argument.- Triggers
[]Monitor
Trigger Args Defines the conditions of when to send notifications.
The field
triggers
is deprecated and will be removed in a future release of the provider -- please usetrigger_conditions
instead.- Type string
The type of object model. Valid value:
- Version int
- alert
Name String The display name when creating alerts. Monitor name will be used if
alert_name
is not provided. All template variables can be used inalert_name
except{{AlertName}}
,{{AlertResponseURL}}
,{{ResultsJson}}
, and{{Playbook}}
.- content
Type String The type of the content object. Valid value:
- created
At String - created
By String - description String
The description of the monitor.
- evaluation
Delay String Evaluation delay as a string consists of the following elements:
<number>
: number of time units,<time_unit>
: time unit; possible values are:h
(hour),m
(minute),s
(second).
- group
Notifications Boolean Whether or not to group notifications for individual items that meet the trigger condition. Defaults to true.
- is
Disabled Boolean Whether or not the monitor is disabled. Disabled monitors will not run and will not generate or send notifications.
- is
Locked Boolean - is
Mutable Boolean - is
System Boolean - modified
At String - modified
By String - monitor
Type String The type of monitor. Valid values:
- name String
The name of the monitor. The name must be alphanumeric.
- notification
Group List<String>Fields The set of fields to be used to group alerts and notifications for a monitor. The value of this field will be considered only when 'groupNotifications' is true.
- notifications
List<Monitor
Notification Args> The notifications the monitor will send when the respective trigger condition is met.
- obj
Permissions List<MonitorObj Permission Args> obj_permission
construct represents a Permission Statement associated with this Monitor. A set ofobj_permission
constructs can be specified under a Monitor. Anobj_permission
construct can be used to control permissions Explicitly associated with a Monitor. But, it cannot be used to control permissions Inherited from a Parent / Ancestor. Default FGP would be still set to the Monitor upon creation (e.g. the creating user would have full permission), even if noobj_permission
construct is specified at a Monitor and the FGP feature is enabled at the account.- parent
Id String The ID of the Monitor Folder that contains this monitor. Defaults to the root folder.
- playbook String
Notes such as links and instruction to help you resolve alerts triggered by this monitor. {{Markdown}} supported. It will be enabled only if available for your organization. Please contact your Sumo Logic account team to learn more.
- post
Request Map<String,String>Map - queries
List<Monitor
Query Args> All queries from the monitor.
- slo
Id String Identifier of the SLO definition for the monitor. This is only applicable & required for Slo
monitor_type
.- statuses List<String>
The current status for this monitor. Values are:
- trigger
Conditions MonitorTrigger Conditions Args Defines the conditions of when to send notifications. NOTE:
trigger_conditions
supplants thetriggers
argument.- triggers
List<Monitor
Trigger Args> Defines the conditions of when to send notifications.
The field
triggers
is deprecated and will be removed in a future release of the provider -- please usetrigger_conditions
instead.- type String
The type of object model. Valid value:
- version Integer
- alert
Name string The display name when creating alerts. Monitor name will be used if
alert_name
is not provided. All template variables can be used inalert_name
except{{AlertName}}
,{{AlertResponseURL}}
,{{ResultsJson}}
, and{{Playbook}}
.- content
Type string The type of the content object. Valid value:
- created
At string - created
By string - description string
The description of the monitor.
- evaluation
Delay string Evaluation delay as a string consists of the following elements:
<number>
: number of time units,<time_unit>
: time unit; possible values are:h
(hour),m
(minute),s
(second).
- group
Notifications boolean Whether or not to group notifications for individual items that meet the trigger condition. Defaults to true.
- is
Disabled boolean Whether or not the monitor is disabled. Disabled monitors will not run and will not generate or send notifications.
- is
Locked boolean - is
Mutable boolean - is
System boolean - modified
At string - modified
By string - monitor
Type string The type of monitor. Valid values:
- name string
The name of the monitor. The name must be alphanumeric.
- notification
Group string[]Fields The set of fields to be used to group alerts and notifications for a monitor. The value of this field will be considered only when 'groupNotifications' is true.
- notifications
Monitor
Notification Args[] The notifications the monitor will send when the respective trigger condition is met.
- obj
Permissions MonitorObj Permission Args[] obj_permission
construct represents a Permission Statement associated with this Monitor. A set ofobj_permission
constructs can be specified under a Monitor. Anobj_permission
construct can be used to control permissions Explicitly associated with a Monitor. But, it cannot be used to control permissions Inherited from a Parent / Ancestor. Default FGP would be still set to the Monitor upon creation (e.g. the creating user would have full permission), even if noobj_permission
construct is specified at a Monitor and the FGP feature is enabled at the account.- parent
Id string The ID of the Monitor Folder that contains this monitor. Defaults to the root folder.
- playbook string
Notes such as links and instruction to help you resolve alerts triggered by this monitor. {{Markdown}} supported. It will be enabled only if available for your organization. Please contact your Sumo Logic account team to learn more.
- post
Request {[key: string]: string}Map - queries
Monitor
Query Args[] All queries from the monitor.
- slo
Id string Identifier of the SLO definition for the monitor. This is only applicable & required for Slo
monitor_type
.- statuses string[]
The current status for this monitor. Values are:
- trigger
Conditions MonitorTrigger Conditions Args Defines the conditions of when to send notifications. NOTE:
trigger_conditions
supplants thetriggers
argument.- triggers
Monitor
Trigger Args[] Defines the conditions of when to send notifications.
The field
triggers
is deprecated and will be removed in a future release of the provider -- please usetrigger_conditions
instead.- type string
The type of object model. Valid value:
- version number
- alert_
name str The display name when creating alerts. Monitor name will be used if
alert_name
is not provided. All template variables can be used inalert_name
except{{AlertName}}
,{{AlertResponseURL}}
,{{ResultsJson}}
, and{{Playbook}}
.- content_
type str The type of the content object. Valid value:
- created_
at str - created_
by str - description str
The description of the monitor.
- evaluation_
delay str Evaluation delay as a string consists of the following elements:
<number>
: number of time units,<time_unit>
: time unit; possible values are:h
(hour),m
(minute),s
(second).
- group_
notifications bool Whether or not to group notifications for individual items that meet the trigger condition. Defaults to true.
- is_
disabled bool Whether or not the monitor is disabled. Disabled monitors will not run and will not generate or send notifications.
- is_
locked bool - is_
mutable bool - is_
system bool - modified_
at str - modified_
by str - monitor_
type str The type of monitor. Valid values:
- name str
The name of the monitor. The name must be alphanumeric.
- notification_
group_ Sequence[str]fields The set of fields to be used to group alerts and notifications for a monitor. The value of this field will be considered only when 'groupNotifications' is true.
- notifications
Sequence[Monitor
Notification Args] The notifications the monitor will send when the respective trigger condition is met.
- obj_
permissions Sequence[MonitorObj Permission Args] obj_permission
construct represents a Permission Statement associated with this Monitor. A set ofobj_permission
constructs can be specified under a Monitor. Anobj_permission
construct can be used to control permissions Explicitly associated with a Monitor. But, it cannot be used to control permissions Inherited from a Parent / Ancestor. Default FGP would be still set to the Monitor upon creation (e.g. the creating user would have full permission), even if noobj_permission
construct is specified at a Monitor and the FGP feature is enabled at the account.- parent_
id str The ID of the Monitor Folder that contains this monitor. Defaults to the root folder.
- playbook str
Notes such as links and instruction to help you resolve alerts triggered by this monitor. {{Markdown}} supported. It will be enabled only if available for your organization. Please contact your Sumo Logic account team to learn more.
- post_
request_ Mapping[str, str]map - queries
Sequence[Monitor
Query Args] All queries from the monitor.
- slo_
id str Identifier of the SLO definition for the monitor. This is only applicable & required for Slo
monitor_type
.- statuses Sequence[str]
The current status for this monitor. Values are:
- trigger_
conditions MonitorTrigger Conditions Args Defines the conditions of when to send notifications. NOTE:
trigger_conditions
supplants thetriggers
argument.- triggers
Sequence[Monitor
Trigger Args] Defines the conditions of when to send notifications.
The field
triggers
is deprecated and will be removed in a future release of the provider -- please usetrigger_conditions
instead.- type str
The type of object model. Valid value:
- version int
- alert
Name String The display name when creating alerts. Monitor name will be used if
alert_name
is not provided. All template variables can be used inalert_name
except{{AlertName}}
,{{AlertResponseURL}}
,{{ResultsJson}}
, and{{Playbook}}
.- content
Type String The type of the content object. Valid value:
- created
At String - created
By String - description String
The description of the monitor.
- evaluation
Delay String Evaluation delay as a string consists of the following elements:
<number>
: number of time units,<time_unit>
: time unit; possible values are:h
(hour),m
(minute),s
(second).
- group
Notifications Boolean Whether or not to group notifications for individual items that meet the trigger condition. Defaults to true.
- is
Disabled Boolean Whether or not the monitor is disabled. Disabled monitors will not run and will not generate or send notifications.
- is
Locked Boolean - is
Mutable Boolean - is
System Boolean - modified
At String - modified
By String - monitor
Type String The type of monitor. Valid values:
- name String
The name of the monitor. The name must be alphanumeric.
- notification
Group List<String>Fields The set of fields to be used to group alerts and notifications for a monitor. The value of this field will be considered only when 'groupNotifications' is true.
- notifications List<Property Map>
The notifications the monitor will send when the respective trigger condition is met.
- obj
Permissions List<Property Map> obj_permission
construct represents a Permission Statement associated with this Monitor. A set ofobj_permission
constructs can be specified under a Monitor. Anobj_permission
construct can be used to control permissions Explicitly associated with a Monitor. But, it cannot be used to control permissions Inherited from a Parent / Ancestor. Default FGP would be still set to the Monitor upon creation (e.g. the creating user would have full permission), even if noobj_permission
construct is specified at a Monitor and the FGP feature is enabled at the account.- parent
Id String The ID of the Monitor Folder that contains this monitor. Defaults to the root folder.
- playbook String
Notes such as links and instruction to help you resolve alerts triggered by this monitor. {{Markdown}} supported. It will be enabled only if available for your organization. Please contact your Sumo Logic account team to learn more.
- post
Request Map<String>Map - queries List<Property Map>
All queries from the monitor.
- slo
Id String Identifier of the SLO definition for the monitor. This is only applicable & required for Slo
monitor_type
.- statuses List<String>
The current status for this monitor. Values are:
- trigger
Conditions Property Map Defines the conditions of when to send notifications. NOTE:
trigger_conditions
supplants thetriggers
argument.- triggers List<Property Map>
Defines the conditions of when to send notifications.
The field
triggers
is deprecated and will be removed in a future release of the provider -- please usetrigger_conditions
instead.- type String
The type of object model. Valid value:
- version Number
Supporting Types
MonitorNotification
- notification Property Map
- run
For List<String>Trigger Types
MonitorNotificationNotification
- Action
Type string The field
action_type
is deprecated and will be removed in a future release of the provider - please useconnection_type
instead.- Connection
Id string - Connection
Type string - Message
Body string - Payload
Override string - Recipients List<string>
- Resolution
Payload stringOverride - Subject string
- Time
Zone string
- Action
Type string The field
action_type
is deprecated and will be removed in a future release of the provider - please useconnection_type
instead.- Connection
Id string - Connection
Type string - Message
Body string - Payload
Override string - Recipients []string
- Resolution
Payload stringOverride - Subject string
- Time
Zone string
- action
Type String The field
action_type
is deprecated and will be removed in a future release of the provider - please useconnection_type
instead.- connection
Id String - connection
Type String - message
Body String - payload
Override String - recipients List<String>
- resolution
Payload StringOverride - subject String
- time
Zone String
- action
Type string The field
action_type
is deprecated and will be removed in a future release of the provider - please useconnection_type
instead.- connection
Id string - connection
Type string - message
Body string - payload
Override string - recipients string[]
- resolution
Payload stringOverride - subject string
- time
Zone string
- action_
type str The field
action_type
is deprecated and will be removed in a future release of the provider - please useconnection_type
instead.- connection_
id str - connection_
type str - message_
body str - payload_
override str - recipients Sequence[str]
- resolution_
payload_ stroverride - subject str
- time_
zone str
- action
Type String The field
action_type
is deprecated and will be removed in a future release of the provider - please useconnection_type
instead.- connection
Id String - connection
Type String - message
Body String - payload
Override String - recipients List<String>
- resolution
Payload StringOverride - subject String
- time
Zone String
MonitorObjPermission
- Permissions List<string>
A Set of Permissions. Valid Permission Values:
- Subject
Id string A Role ID or the Org ID of the account
- Subject
Type string Valid values:
- Permissions []string
A Set of Permissions. Valid Permission Values:
- Subject
Id string A Role ID or the Org ID of the account
- Subject
Type string Valid values:
- permissions List<String>
A Set of Permissions. Valid Permission Values:
- subject
Id String A Role ID or the Org ID of the account
- subject
Type String Valid values:
- permissions string[]
A Set of Permissions. Valid Permission Values:
- subject
Id string A Role ID or the Org ID of the account
- subject
Type string Valid values:
- permissions Sequence[str]
A Set of Permissions. Valid Permission Values:
- subject_
id str A Role ID or the Org ID of the account
- subject_
type str Valid values:
- permissions List<String>
A Set of Permissions. Valid Permission Values:
- subject
Id String A Role ID or the Org ID of the account
- subject
Type String Valid values:
MonitorQuery
MonitorTrigger
- Detection
Method string - Min
Data intPoints - Occurrence
Type string - Resolution
Window string The resolution window that the recovery condition must be met in each evaluation that happens within this entire duration before the alert is recovered (resolved). If not specified, the time range of your trigger will be used.
- Threshold double
- Threshold
Type string - Time
Range string - Trigger
Source string - Trigger
Type string
- Detection
Method string - Min
Data intPoints - Occurrence
Type string - Resolution
Window string The resolution window that the recovery condition must be met in each evaluation that happens within this entire duration before the alert is recovered (resolved). If not specified, the time range of your trigger will be used.
- Threshold float64
- Threshold
Type string - Time
Range string - Trigger
Source string - Trigger
Type string
- detection
Method String - min
Data IntegerPoints - occurrence
Type String - resolution
Window String The resolution window that the recovery condition must be met in each evaluation that happens within this entire duration before the alert is recovered (resolved). If not specified, the time range of your trigger will be used.
- threshold Double
- threshold
Type String - time
Range String - trigger
Source String - trigger
Type String
- detection
Method string - min
Data numberPoints - occurrence
Type string - resolution
Window string The resolution window that the recovery condition must be met in each evaluation that happens within this entire duration before the alert is recovered (resolved). If not specified, the time range of your trigger will be used.
- threshold number
- threshold
Type string - time
Range string - trigger
Source string - trigger
Type string
- detection_
method str - min_
data_ intpoints - occurrence_
type str - resolution_
window str The resolution window that the recovery condition must be met in each evaluation that happens within this entire duration before the alert is recovered (resolved). If not specified, the time range of your trigger will be used.
- threshold float
- threshold_
type str - time_
range str - trigger_
source str - trigger_
type str
- detection
Method String - min
Data NumberPoints - occurrence
Type String - resolution
Window String The resolution window that the recovery condition must be met in each evaluation that happens within this entire duration before the alert is recovered (resolved). If not specified, the time range of your trigger will be used.
- threshold Number
- threshold
Type String - time
Range String - trigger
Source String - trigger
Type String
MonitorTriggerConditions
- Logs
Missing Pulumi.Data Condition Sumo Logic. Inputs. Monitor Trigger Conditions Logs Missing Data Condition - Logs
Outlier Pulumi.Condition Sumo Logic. Inputs. Monitor Trigger Conditions Logs Outlier Condition - Logs
Static Pulumi.Condition Sumo Logic. Inputs. Monitor Trigger Conditions Logs Static Condition - Metrics
Missing Pulumi.Data Condition Sumo Logic. Inputs. Monitor Trigger Conditions Metrics Missing Data Condition - Metrics
Outlier Pulumi.Condition Sumo Logic. Inputs. Monitor Trigger Conditions Metrics Outlier Condition - Metrics
Static Pulumi.Condition Sumo Logic. Inputs. Monitor Trigger Conditions Metrics Static Condition - Slo
Burn Pulumi.Rate Condition Sumo Logic. Inputs. Monitor Trigger Conditions Slo Burn Rate Condition - Slo
Sli Pulumi.Condition Sumo Logic. Inputs. Monitor Trigger Conditions Slo Sli Condition
- Logs
Missing MonitorData Condition Trigger Conditions Logs Missing Data Condition - Logs
Outlier MonitorCondition Trigger Conditions Logs Outlier Condition - Logs
Static MonitorCondition Trigger Conditions Logs Static Condition - Metrics
Missing MonitorData Condition Trigger Conditions Metrics Missing Data Condition - Metrics
Outlier MonitorCondition Trigger Conditions Metrics Outlier Condition - Metrics
Static MonitorCondition Trigger Conditions Metrics Static Condition - Slo
Burn MonitorRate Condition Trigger Conditions Slo Burn Rate Condition - Slo
Sli MonitorCondition Trigger Conditions Slo Sli Condition
- logs
Missing MonitorData Condition Trigger Conditions Logs Missing Data Condition - logs
Outlier MonitorCondition Trigger Conditions Logs Outlier Condition - logs
Static MonitorCondition Trigger Conditions Logs Static Condition - metrics
Missing MonitorData Condition Trigger Conditions Metrics Missing Data Condition - metrics
Outlier MonitorCondition Trigger Conditions Metrics Outlier Condition - metrics
Static MonitorCondition Trigger Conditions Metrics Static Condition - slo
Burn MonitorRate Condition Trigger Conditions Slo Burn Rate Condition - slo
Sli MonitorCondition Trigger Conditions Slo Sli Condition
- logs
Missing MonitorData Condition Trigger Conditions Logs Missing Data Condition - logs
Outlier MonitorCondition Trigger Conditions Logs Outlier Condition - logs
Static MonitorCondition Trigger Conditions Logs Static Condition - metrics
Missing MonitorData Condition Trigger Conditions Metrics Missing Data Condition - metrics
Outlier MonitorCondition Trigger Conditions Metrics Outlier Condition - metrics
Static MonitorCondition Trigger Conditions Metrics Static Condition - slo
Burn MonitorRate Condition Trigger Conditions Slo Burn Rate Condition - slo
Sli MonitorCondition Trigger Conditions Slo Sli Condition
- logs_
missing_ Monitordata_ condition Trigger Conditions Logs Missing Data Condition - logs_
outlier_ Monitorcondition Trigger Conditions Logs Outlier Condition - logs_
static_ Monitorcondition Trigger Conditions Logs Static Condition - metrics_
missing_ Monitordata_ condition Trigger Conditions Metrics Missing Data Condition - metrics_
outlier_ Monitorcondition Trigger Conditions Metrics Outlier Condition - metrics_
static_ Monitorcondition Trigger Conditions Metrics Static Condition - slo_
burn_ Monitorrate_ condition Trigger Conditions Slo Burn Rate Condition - slo_
sli_ Monitorcondition Trigger Conditions Slo Sli Condition
MonitorTriggerConditionsLogsMissingDataCondition
- Time
Range string
- Time
Range string
- time
Range String
- time
Range string
- time_
range str
- time
Range String
MonitorTriggerConditionsLogsOutlierCondition
- critical Property Map
- direction String
- field String
- warning Property Map
MonitorTriggerConditionsLogsOutlierConditionCritical
- Consecutive int
- Threshold double
- Window int
- Consecutive int
- Threshold float64
- Window int
- consecutive Integer
- threshold Double
- window Integer
- consecutive number
- threshold number
- window number
- consecutive int
- threshold float
- window int
- consecutive Number
- threshold Number
- window Number
MonitorTriggerConditionsLogsOutlierConditionWarning
- Consecutive int
- Threshold double
- Window int
- Consecutive int
- Threshold float64
- Window int
- consecutive Integer
- threshold Double
- window Integer
- consecutive number
- threshold number
- window number
- consecutive int
- threshold float
- window int
- consecutive Number
- threshold Number
- window Number
MonitorTriggerConditionsLogsStaticCondition
MonitorTriggerConditionsLogsStaticConditionCritical
MonitorTriggerConditionsLogsStaticConditionCriticalAlert
- Threshold double
- Threshold
Type string
- Threshold float64
- Threshold
Type string
- threshold Double
- threshold
Type String
- threshold number
- threshold
Type string
- threshold float
- threshold_
type str
- threshold Number
- threshold
Type String
MonitorTriggerConditionsLogsStaticConditionCriticalResolution
- Resolution
Window string The resolution window that the recovery condition must be met in each evaluation that happens within this entire duration before the alert is recovered (resolved). If not specified, the time range of your trigger will be used.
- Threshold double
- Threshold
Type string
- Resolution
Window string The resolution window that the recovery condition must be met in each evaluation that happens within this entire duration before the alert is recovered (resolved). If not specified, the time range of your trigger will be used.
- Threshold float64
- Threshold
Type string
- resolution
Window String The resolution window that the recovery condition must be met in each evaluation that happens within this entire duration before the alert is recovered (resolved). If not specified, the time range of your trigger will be used.
- threshold Double
- threshold
Type String
- resolution
Window string The resolution window that the recovery condition must be met in each evaluation that happens within this entire duration before the alert is recovered (resolved). If not specified, the time range of your trigger will be used.
- threshold number
- threshold
Type string
- resolution_
window str The resolution window that the recovery condition must be met in each evaluation that happens within this entire duration before the alert is recovered (resolved). If not specified, the time range of your trigger will be used.
- threshold float
- threshold_
type str
- resolution
Window String The resolution window that the recovery condition must be met in each evaluation that happens within this entire duration before the alert is recovered (resolved). If not specified, the time range of your trigger will be used.
- threshold Number
- threshold
Type String
MonitorTriggerConditionsLogsStaticConditionWarning
MonitorTriggerConditionsLogsStaticConditionWarningAlert
- Threshold double
- Threshold
Type string
- Threshold float64
- Threshold
Type string
- threshold Double
- threshold
Type String
- threshold number
- threshold
Type string
- threshold float
- threshold_
type str
- threshold Number
- threshold
Type String
MonitorTriggerConditionsLogsStaticConditionWarningResolution
- Resolution
Window string The resolution window that the recovery condition must be met in each evaluation that happens within this entire duration before the alert is recovered (resolved). If not specified, the time range of your trigger will be used.
- Threshold double
- Threshold
Type string
- Resolution
Window string The resolution window that the recovery condition must be met in each evaluation that happens within this entire duration before the alert is recovered (resolved). If not specified, the time range of your trigger will be used.
- Threshold float64
- Threshold
Type string
- resolution
Window String The resolution window that the recovery condition must be met in each evaluation that happens within this entire duration before the alert is recovered (resolved). If not specified, the time range of your trigger will be used.
- threshold Double
- threshold
Type String
- resolution
Window string The resolution window that the recovery condition must be met in each evaluation that happens within this entire duration before the alert is recovered (resolved). If not specified, the time range of your trigger will be used.
- threshold number
- threshold
Type string
- resolution_
window str The resolution window that the recovery condition must be met in each evaluation that happens within this entire duration before the alert is recovered (resolved). If not specified, the time range of your trigger will be used.
- threshold float
- threshold_
type str
- resolution
Window String The resolution window that the recovery condition must be met in each evaluation that happens within this entire duration before the alert is recovered (resolved). If not specified, the time range of your trigger will be used.
- threshold Number
- threshold
Type String
MonitorTriggerConditionsMetricsMissingDataCondition
- Time
Range string - Trigger
Source string
- Time
Range string - Trigger
Source string
- time
Range String - trigger
Source String
- time
Range string - trigger
Source string
- time_
range str - trigger_
source str
- time
Range String - trigger
Source String
MonitorTriggerConditionsMetricsOutlierCondition
MonitorTriggerConditionsMetricsOutlierConditionCritical
- Baseline
Window string - Threshold double
- Baseline
Window string - Threshold float64
- baseline
Window String - threshold Double
- baseline
Window string - threshold number
- baseline_
window str - threshold float
- baseline
Window String - threshold Number
MonitorTriggerConditionsMetricsOutlierConditionWarning
- Baseline
Window string - Threshold double
- Baseline
Window string - Threshold float64
- baseline
Window String - threshold Double
- baseline
Window string - threshold number
- baseline_
window str - threshold float
- baseline
Window String - threshold Number
MonitorTriggerConditionsMetricsStaticCondition
MonitorTriggerConditionsMetricsStaticConditionCritical
- alert Property Map
- occurrence
Type String - resolution Property Map
- time
Range String
MonitorTriggerConditionsMetricsStaticConditionCriticalAlert
- Min
Data intPoints - Threshold double
- Threshold
Type string
- Min
Data intPoints - Threshold float64
- Threshold
Type string
- min
Data IntegerPoints - threshold Double
- threshold
Type String
- min
Data numberPoints - threshold number
- threshold
Type string
- min_
data_ intpoints - threshold float
- threshold_
type str
- min
Data NumberPoints - threshold Number
- threshold
Type String
MonitorTriggerConditionsMetricsStaticConditionCriticalResolution
- Min
Data intPoints - Occurrence
Type string - Threshold double
- Threshold
Type string
- Min
Data intPoints - Occurrence
Type string - Threshold float64
- Threshold
Type string
- min
Data IntegerPoints - occurrence
Type String - threshold Double
- threshold
Type String
- min
Data numberPoints - occurrence
Type string - threshold number
- threshold
Type string
- min_
data_ intpoints - occurrence_
type str - threshold float
- threshold_
type str
- min
Data NumberPoints - occurrence
Type String - threshold Number
- threshold
Type String
MonitorTriggerConditionsMetricsStaticConditionWarning
- alert Property Map
- occurrence
Type String - resolution Property Map
- time
Range String
MonitorTriggerConditionsMetricsStaticConditionWarningAlert
- Min
Data intPoints - Threshold double
- Threshold
Type string
- Min
Data intPoints - Threshold float64
- Threshold
Type string
- min
Data IntegerPoints - threshold Double
- threshold
Type String
- min
Data numberPoints - threshold number
- threshold
Type string
- min_
data_ intpoints - threshold float
- threshold_
type str
- min
Data NumberPoints - threshold Number
- threshold
Type String
MonitorTriggerConditionsMetricsStaticConditionWarningResolution
- Min
Data intPoints - Occurrence
Type string - Threshold double
- Threshold
Type string
- Min
Data intPoints - Occurrence
Type string - Threshold float64
- Threshold
Type string
- min
Data IntegerPoints - occurrence
Type String - threshold Double
- threshold
Type String
- min
Data numberPoints - occurrence
Type string - threshold number
- threshold
Type string
- min_
data_ intpoints - occurrence_
type str - threshold float
- threshold_
type str
- min
Data NumberPoints - occurrence
Type String - threshold Number
- threshold
Type String
MonitorTriggerConditionsSloBurnRateCondition
MonitorTriggerConditionsSloBurnRateConditionCritical
- burn
Rate NumberThreshold - burn
Rates List<Property Map> - time
Range String
MonitorTriggerConditionsSloBurnRateConditionCriticalBurnRate
- Burn
Rate doubleThreshold - Time
Range string
- Burn
Rate float64Threshold - Time
Range string
- burn
Rate DoubleThreshold - time
Range String
- burn
Rate numberThreshold - time
Range string
- burn_
rate_ floatthreshold - time_
range str
- burn
Rate NumberThreshold - time
Range String
MonitorTriggerConditionsSloBurnRateConditionWarning
- burn
Rate NumberThreshold - burn
Rates List<Property Map> - time
Range String
MonitorTriggerConditionsSloBurnRateConditionWarningBurnRate
- Burn
Rate doubleThreshold - Time
Range string
- Burn
Rate float64Threshold - Time
Range string
- burn
Rate DoubleThreshold - time
Range String
- burn
Rate numberThreshold - time
Range string
- burn_
rate_ floatthreshold - time_
range str
- burn
Rate NumberThreshold - time
Range String
MonitorTriggerConditionsSloSliCondition
MonitorTriggerConditionsSloSliConditionCritical
- Sli
Threshold double
- Sli
Threshold float64
- sli
Threshold Double
- sli
Threshold number
- sli_
threshold float
- sli
Threshold Number
MonitorTriggerConditionsSloSliConditionWarning
- Sli
Threshold double
- Sli
Threshold float64
- sli
Threshold Double
- sli
Threshold number
- sli_
threshold float
- sli
Threshold Number
Import
Monitors can be imported using the monitor ID, such ashcl
$ pulumi import sumologic:index/monitor:Monitor test 1234567890
[1]https://help.sumologic.com/?cid=10020 [2]monitor_folder.html.markdown [3]https://help.sumologic.com/Visualizations-and-Alerts/Alerts/Monitors#configure-permissions-for-a-monitor
Package Details
- Repository
- Sumo Logic pulumi/pulumi-sumologic
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
sumologic
Terraform Provider.