File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ resource "sumologic_monitor" "tf_logs_monitor_1" {
2020 content_type = "Monitor"
2121 monitor_type = "Logs"
2222 evaluation_delay = "5m"
23+
24+ queries {
25+ row_id = "A"
26+ query = "_sourceCategory=event-action info"
27+ }
2328
2429 trigger_conditions {
2530 logs_static_condition {
@@ -72,7 +77,12 @@ resource "sumologic_monitor" "tf_metrics_monitor_1" {
7277 content_type = "Monitor"
7378 monitor_type = "Metrics"
7479 evaluation_delay = "1m"
75-
80+
81+ queries {
82+ row_id = "A"
83+ query = "metric=CPU_Idle _sourceCategory=event-action"
84+ }
85+
7686 trigger_conditions {
7787 metrics_static_condition {
7888 critical {
@@ -148,10 +158,7 @@ resource "sumologic_monitor" "tf_slo_monitor_2" {
148158 monitor_type = "Slo"
149159 slo_id = "0000000000000009"
150160 evaluation_delay = "5m"
151- queries {
152- row_id = "A"
153- query = "_sourceCategory=event-action info"
154- }
161+
155162 trigger_conditions {
156163 slo_burn_rate_condition {
157164 critical {
You can’t perform that action at this time.
0 commit comments