Forum Discussion
emeliscammy
Jun 24, 2021Copper Contributor
Filtering data from azure alerts in postman
I am using postman to collect triggered alerts from Microsoft azure, but I’m having trouble filtering the API in postman. Does anyone know how to filter the data, so that I only keep the data if isSuppressed is false? 90% of all the data I am collecting from the API has isSupressed true, but I am only interested in the cases where isSupressed is false. I have added two examples of elements from the API below (without the keys). The URL I am using looks like this: https://management.azure.com/{scope}/providers/Microsoft.AlertsManagement/alerts?api-version=2019-03-01
{ "properties": { "essentials": { "severity": "Sev0", "signalType": "Log", "alertState": "New", "monitorCondition": "Fired", "monitorService": "Log Analytics", "actionStatus": { "isSuppressed": true }, } }, }, { "properties": { "essentials": { "severity": "Sev0", "signalType": "Log", "alertState": "New", "monitorCondition": "Fired", "monitorService": "Log Analytics", "actionStatus": { "isSuppressed": false }, } }, },
No RepliesBe the first to reply