Skip to content

Commit ef27ead

Browse files
committed
Fix an erroneous query for an anomaly monitor test
1 parent 89e0a27 commit ef27ead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sumologic/resource_sumologic_monitors_library_monitor_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1504,7 +1504,7 @@ func exampleSloBurnRateMonitor(testName string) string {
15041504
}
15051505

15061506
func exampleLogsAnomalyMonitor(testName string) string {
1507-
query := "_sourceCategory=api error | timeslice 5m | count by _sourceHost"
1507+
query := "_sourceCategory=api error | timeslice 5m | count by _timeslice"
15081508
return exampleMonitorWithTriggerCondition(
15091509
testName,
15101510
"Logs",

0 commit comments

Comments
 (0)