Azure / Azure/azure-cli

Feature: activity-log query to allow multiple statuses

Open
#8,727 5 comments 0 reactions 1 assignee Assigned to @jsntcy View on GitHub
act-observability-squad feature-request Monitor
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

How do I do this query on the command line?

![image](https://user-images.githubusercontent.com/80104/53988509-657de400-4102-11e9-94b4-fdb9ab55ecbe.png)

I don't want a filter on resource group. I want all resource groups. I want severities of Error and Critical.

An amazing feature would be to be able to copy the filter for use in command line queries and alert conditions.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: ae6c5dc4-a466-9a0d-6276-98853b6fb4f6
* Version Independent ID: 03fc41a4-f06c-a6fb-fcd6-cd72e0a15add
* Content: [az monitor activity-log](https://docs.microsoft.com/en-us/cli/azure/monitor/activity-log?view=azure-cli-latest)
* Content Source: [src/command_modules/azure-cli-monitor/azure/cli/command_modules/monitor/_help.py](https://github.com/Azure/azure-cli/blob/dev/src/command_modules/azure-cli-monitor/azure/cli/command_modules/monitor/_help.py)
* Service: **monitoring-and-diagnostics**
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.