Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Vibhuti Sharma [Microsoft]
Azure Monitor Alerts
Commits
4852e5dc
Commit
4852e5dc
authored
May 06, 2021
by
Vibhuti Sharma [Microsoft]
Browse files
updating query
parent
6d1d6b0b
Changes
1
Show whitespace changes
Inline
Side-by-side
terraform.tfvars
View file @
4852e5dc
...
...
@@ -69,7 +69,7 @@ log-alerts = {
time-window = 5,
action-group-name = ["DevActionGroup"],
# Since it is alert based on number of results, the query must end with "| count"
query = "requests\n| where cloud_RoleName == \"storage\"\n| where name == \"
GET /api/storage/v2/swagger-ui.html
\"\n| where duration > 0\n| count",
query = "requests\n| where cloud_RoleName == \"storage\"\n| where name == \"
PUT RecordApi/createOrUpdateRecords
\"\n| where duration >
3000
0\n| count",
# Number of results > 1 => alert is triggered.
trigger-threshold = 0,
trigger-operator = "GreaterThan",
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment